0
votes
0answers
21 views

How to configure nDPI for iptables

I am new to nDPI, I have installed nDPI but when I add rules like; iptables -I OUTPUT -m ndpi --http -j REJECT it shows error iptables v1.4.7: Couldn't load match ...
1
vote
1answer
39 views

Having difficulty connecting to port

I'm giving Linode a try, and I just launched my first instance running CentOS. I've been unable to connect to a port on the box even if I completely drop the firewall. (My script does successfully ...
0
votes
1answer
39 views

GW box not allowing internet from internal computers

I have a relatively new GW box ( CentOS 6.5 ) that can ping www.apple.com. When I change computers inside my network to use this GW as †he default GW, they cannot access the internet. So then I ...
1
vote
0answers
47 views

Port Scanning/Telnet login attempts [closed]

I have set iptables to block and log all inputs other than HTTP/HTTPS/SSH. The logs have many entries with DPT=23. Most entries are like: DATE-TIME * kernel: [*] IPTables-Dropped: IN=venet0 OUT= ...
1
vote
1answer
35 views

Can't send email via PHPMailer

I'm using the PHPMailer class to send email from an online application, it works fine on development server, and if I disable iptables. However whenever iptables is started, no mail sends - it seems ...
0
votes
1answer
29 views

Cannot access Asterisk sip from remote location

I've used this tutorial to configure my iptables so I can access asterisk sip from outside of my server. My iptables -L looks like this Chain INPUT (policy ACCEPT) target prot opt source ...
0
votes
2answers
27 views

APF and iptables on router - disallow SSH on specific subnet host

I have a CentOS terminal working as a router with APF installed. Also 1 terminal with 3 NICs (3 IPs) is using that router as a Gateway to access the internet. What I want is APF to block SSH access, ...
1
vote
3answers
79 views

Despite of several attempts, unable to open port 25

This question may have been asked many times here but after several failed attempts, I repeat the history: How do I open port 25 port on my server running CentOS. Here is my iptables config: Chain ...
0
votes
1answer
20 views

Forward a host network traffic to another host with the exception of the ssh service

I am trying to redirect all the network traffic received in a old host to a different new host. For that i created two new rules on iptables of the old host: echo 1 > /proc/sys/net/ipv4/ip_forward ...
0
votes
1answer
18 views

OpenVPN On Dual Wan

I have a Dual-WAN Linux Box WAN1 & WAN2, Installed on it OpenVPN Server, is there a way to make OpenVPN server accept connections from both interfaces, as it now it only accepts connection from ...
0
votes
1answer
46 views

Turn IPTables Flush off CentOS

I made some changes to my iptables in a centOS machine. I noticed once I shut the server off it flushes all my iptables and goes back to the default. Is there a way to turn that off?
0
votes
2answers
65 views

Portforwarding with IPTABLES and Remote IP detection

I was able to forward 80 port from my primary server 192.168.90.1 to the second one 192.168.90.2 with IPTABLES The primary server has a public address X.X.X.X so I forwarded X.X.X.X:80 -> ...
0
votes
1answer
40 views

Adding port 25 to iptables won't getting to open centOS

I am facing a problem to open port 25 with iptables on my CentOS machine. I checked the connection by 'nmap' and 'telnet' but both failed. The follow things I did to trying make this work: iptables ...
0
votes
0answers
46 views

Can't run CSF on the host machine using Open VZ

I managed to configure CSF on my three VM inside OpenVZ, but when I try to run it on the host, all the VMs become unreachable. I can see that the host is been attacked, and it would be critical if it ...
0
votes
0answers
33 views

enable user to connect to external pptp VPN server

I want to enable local user to connect to remote VPN server I added those rules to the iptables but still not able to connect -A OUTPUT -p gre -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 1723 -j ACCEPT ...
0
votes
0answers
37 views

openvpn doesnt start due to iptables and mangle (VMware)

I have installed openvpnas on redhat5.10 via the package from openvpn. When I start the server it will start the webserver for administration but it wont start the the openvpn service. So I did my ...
0
votes
1answer
29 views

some outgoing http connections fail

After a recent reboot, my server is unable to connect via http, but not all the time. I have an accept rule for port 80, here is my iptables: Chain INPUT (policy ACCEPT) target prot opt source ...
-1
votes
1answer
49 views

Why does this iptables config prevent munin from working?

I have created an iptables config which I thought that I understood, however it seems to be preventing munin from generating graphs and I'm not sure why. If I disable iptables, munin will generate ...
1
vote
2answers
311 views

Allow OpenVPN through a specific port - CentOS 6.5

I own a VPS (CentOS 6.5). I have installed OpenVPN on this server. Everything works fine, I can connect and surf, etc. Let's say my IP of the server is: 1.2.3.4. When I connect to my VPS my IP is ...
0
votes
1answer
142 views

Extreme amounts of outbound port 80 [closed]

I'm having a major problem with my server expending excessive amounts of outgoing bandwidth for nothing. The server OS is CentOS 6.4 x64 with the 2.6.32-431 kernel if that matters. Here is a quick ...
0
votes
0answers
56 views

IPTABLES Hairpin

I have been trying to setup a captive portal for a VPN network. So far the Captive portal has been working wonderfully. When ever someone from the vpn tries to access a ip inside the main network they ...
0
votes
1answer
45 views

https://domain.com/ doesn't work after cpanel uninstall

(Running Centos 6 + Apache 2) I was relying on a server management company (which only supports cPanel-based servers) to manage my server, then I decided to stop using their services and cPanel as ...
1
vote
1answer
177 views

How to Access OpenVPN Client Subnet

I'm setting up a site-to-site OpenVPN, For now: Users on the client side can access the subnets on the server side. accessing the VPN client machine [Its IP on the client subnet] works fine. But ...
0
votes
2answers
163 views

MySQL / Firewall / Can't connect to MySQL server

I have a client running a mysql server with bind-address=0.0.0.0. Here is the iptables output root@host:/var/www# iptables -L Chain INPUT (policy ACCEPT) target prot opt source ...
2
votes
1answer
108 views

How to open a port below 1024 in Cent OS for socket.io?

I'm trying to open port 843 in my Cent OS 5.2, I added following line to etc\sysconfig\iptables : -A INPUT -p tcp --dport 843 -j ACCEPT and then updated my iptables service. I need to listen to ...
1
vote
1answer
82 views

Outbound HTTP traffic being blocked by APF - outbound filter is off

I'm using CentOS 6.4 inside an OpenVZ container. I'm trying to configure APF 9.7-2 to allow inbound SSH and HTTP traffic (only) and outbound HTTP and HTTPS traffic (don't care much if other outbound ...
0
votes
0answers
142 views

When connecting to PPTP Centos via Windows 7 VPN, I get error 2147943625

The remote computer refused the network connection. phrase has been my arch enemy for the past week now I recently "bought" a VPS server, I gave up trying to configure it with OpenVPN, all the issues ...
0
votes
0answers
38 views

IPTABLES Limiting destination based on source?

I am trying to have a bridge firewall between my network and IPMIs. I want to be able to limit the allowable destinations, e.g. IP x.x.x.x has access to x.x.y.y and x.x.y.z but no others while IP ...
0
votes
0answers
262 views

CentOS 6.4 - Cant get an IP from DHCP

I have a Ubuntu and CentOS system running on XenServer. The Ubuntu Box gets and IP from DHCP no problem. The CentOS will not take a DHCP but a static address works fine. [root@XenCentOS ~]# service ...
0
votes
1answer
54 views

iptables port forwarding troubleshooting

I'm trying to forward connections on port 18600 to port 9980. I have this in /etc/sysconfig/iptables: # Generated by iptables-save v1.3.5 on Mon Oct 21 18:30:43 2013 *nat :PREROUTING ACCEPT [2:280] ...
0
votes
2answers
139 views

My Centos 6.4 doesn't accept dns requests

I've a problem with my dns server on my new installed centos 6.4 system. I went though tutorials, try configurations of iptables but can't find a solution. I've installed bind, created a config file ...
0
votes
2answers
101 views

How to modify iptables so a port is accessible on the server

when I do curl --insecure https://localhost/svn from my linux box I can see that it is returning some data However, when I run curl on this machine from another machine on the same network e.g. ...
0
votes
0answers
60 views

can i forward internet from 2 public ip to 1 single private ip (network)? [duplicate]

I am rahul and i am new on centos 6. can anyone tell me .. is it possible suppose i have 3 nic cards in the same system and i have 2 nic cards for public ip(Eth1 and Eth2) and default Ethernet for ...
1
vote
1answer
241 views

How to keep iptables organized in Xenserver?

I need to use a couple of iptables rules to allow ports for additional services and implement some NATted services. In /etc/sysconfig/iptables it says not to edit this file directly. I understand ...
0
votes
1answer
118 views

Enable route between subnet

I have a Centos server with three NIC cards. ETH0 Public IP xx.xx.xx.xx1/xx.xx.xx.xx2 (with two public IP) EHT1 Local Subnet 192.168.80.0 (DHCP server listening on this interface) ETH2 Local ...
0
votes
2answers
96 views

do i need IPTABLES to enable IP FORWARDING?

To simplify, let's say I got a network with 3 servers (all runnning centos 6.4) in a row: Internet---FW---LN---PN FW: firewall LN: login node PN: processing node i can ping from the FW to the ...
0
votes
3answers
773 views

OpenVPN client connects but can't access internet

I setup an Openvpn server on a centos box and I can get the client to connect (osx) but can't access the internet or even the local network. I thought maybe DNS but couldn't access any sites via IP. ...
1
vote
1answer
96 views

How to ban 250.000 IP ranges?

I am using iblocklist.com and I want to ban a list of IPs I made from accessing my web server on a CentOS dedi. I have a bash script that can parse it and add the ranges one by one to iptables. My ...
-1
votes
1answer
58 views

iptables Applying firewall rules

I have two servers, when I restart iptables on the first server it does "Applying firewall rules" but on the second does'nt. What's the problem with the second server ? First server: [root@test ...
0
votes
1answer
99 views

Opening ports for VPN clients

I am trying to open specific ports for users so that they can use programs such as RDP. I have searched all over the internet, and have yet to find an answer to this question. I have tried every ...
1
vote
1answer
488 views

CentOS - IPTables - Allow nodes on subnet full access

I am using linode.com and they provide the ability to assign a private IP to each vps. What I am trying to do is setup each node's firewall to allow access from other nodes on the network, but I don't ...
-1
votes
1answer
77 views

How to block ports (in Linux) based on the IP used to connect?

I'd like to block specific ports based on the IP used to connect to my (Linux) dedicated server. For example, I have the following IP's assigned to my dedicated server: 192.168.0.1 192.168.0.2 ...
1
vote
1answer
208 views

Centos 6 seems to ignore iptables rules (solved)

Solution: That hadn't nothing to do with iptables. It was an issue with my router blocking all ports. I just added a rule to allow incoming connections to VNC ports. Question: I'm getting ...
0
votes
2answers
83 views

Need help on iptables

I have a new server, and am not that sure about iptables. I've tried opening ports (25565, as seen below) but still can't connect. iptables -L says the following; Chain INPUT (policy ACCEPT) target ...
0
votes
1answer
316 views

CentOS 6.4 - iptables keeps getting rules added to it

I have CentOS 6.4 with iptables running. I manually configure iptables with Webmin with the rules: [root@fst ~]# service iptables status Table: filter Chain INPUT (policy ACCEPT) num target prot ...
2
votes
3answers
2k views

fail2ban iptables having port 22 and fails to block ssh on custom port

This question is almost same problem like mine but accepted answer doesn't solve my issues In Fail2Ban, How to Change the SSH port number? SSH on port 22 everything works great. After 5 attempts ...
1
vote
3answers
650 views

Make CentOS 6.x a port forwarding NAT device

I would like to make CentOS a port forwarding NAT machine using iptables. This is the first time I've tried this and I think i might need a little help. This is the configuration i'm trying to ...
0
votes
1answer
80 views

IPTables forward from only one ip on my server

I was able to get my server to forward connections on a certain port to a different IP, but when I add -d to specify an IP to froward from, It does not work. This is what I am trying, iptables -t ...
0
votes
1answer
74 views

IPTables reroute traffic not working

I am trying to reroute incoming traffic on my server's port 80 to another server, but it is not working. This is what I tried. On the host server, I ran these: echo “1″ > ...
0
votes
0answers
161 views

Is it possible to prepend custom rules with system-config-firewall?

On CentOS 6, is it possible to prepend custom rules with system-config-firewall? My file looks like: # Configuration file for system-config-firewall --enabled --port=8080:tcp ...