0
votes
1answer
114 views

IPTables is blocking FTP for VMs

I have a CentOS 5 SolusVM Node setup and running. The VPS units are running fine and everything seems to be working. Until yesterday when I found no single VPS could be accessed through FTP. I checked ...
2
votes
1answer
180 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
votes
1answer
114 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
0answers
169 views

Is there a tool to do packet mirroring in CentOS 5.9?

I know iptables + xtables can do it in more recent versions using the TEE target supplied by the xtables-addon package for iptables. However, the kernel in CentOS 5.9 is 2.6.18 and this version is not ...
2
votes
1answer
9k views

Linux service --status-all shows “Firewall is stopped.” what service does firewall refer to?

I have a development server with the lamp stack running CentOS: [Prompt]# cat /etc/redhat-release CentOS release 5.8 (Final) [Prompt]# cat /proc/version Linux version 2.6.18-308.16.1.el5xen ...
0
votes
0answers
223 views

CentOS 5.7 issues with iptables

I'm trying to set up IPTables on a new CentOS server. This server will function as an FTP server that I need to be accessible from the outside, however, I want to lock down SSH to only accept internal ...
0
votes
1answer
1k views

iptables error: No chain/target/match by that name?

After running following command: iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o eth0 -m statistic --mode nth --every 5 -j SNAT --to-source 173.224.222.45 I get following ...
1
vote
1answer
317 views

iptables not allowing outgoing packets on 1194

I am trying to setup openvpn and am making some good progress. I'm not at the point yet where I am testing the tunnel- i am firstly making sure that the ports are all set correctly through the ...
1
vote
3answers
624 views

Adding Facebook IPv6 to Centos, getting CurlException 7

I'm correctly get following error. After searching about this issue, correct me if i'm wrong, I believe that adding/configuring IPv6 should solve the problem. PHP Fatal error: Uncaught ...
5
votes
1answer
547 views

Block outgoing connections for certaing uids (root, apache, nobody)

With iptables in CentOS 5 and 6 Linux - how can you please prevent processes running as root, apache or nobody from initiating outgoing connections? On CentOS 5 Linux I've tried putting these lines ...
0
votes
1answer
320 views

OpenVpn Iptables Error

I mean real newbie - linux here.. Please help me configuring my openvpn through iptables. My main goal here is to open port for regular browsing (80, 443), email (110, 25), etc just like isp does but ...
3
votes
2answers
3k views

How to make permanent changes to iptables of CentOS 5.5

I want to make an iptable rule permanent so if the server is rebooted I won't have to add the rule again. Specifically a rule I have related to nginx being reverse proxy of apache. iptables -t nat ...
-1
votes
1answer
2k views

Iptables With CPanel/WHM Blocking Traffic

I have script for an iptables configuration that seems to be loading successfully. However, I then cannot access my website on port 80 or CPanel and WHM on ports 2087 and 2083 (previously possible). ...
0
votes
0answers
294 views

portsentry on centos keeps restarting over and over

I have been doing some hardening on a new server [ centos 5.7 final ] i also have logwatch and seem to be getting these strange logs Commands Run: User root: /sbin/service portsentry restart ...
2
votes
2answers
2k views

Apache not working on external IP on CentOS

I have a newly installed CentOS 5.6 machine and can access httpd locally via elinks. But it does not work from other IPs. I can ping the IP, but I get no route to host if I connect to port 80. I ...
2
votes
1answer
232 views

Firewall locks me out of ssh

Just trying to make a simple script that will configure iptables to block all incoming and outgoing traffic except for ssh on default port 22 and udp on port 8888. This is what i have: #!/bin/sh # # ...
0
votes
1answer
122 views

Can you load more files (instead of csf.allow) in CSF? like *.conf in Apache?

Currently I keep all of the blocked IPs for my CSF firewall in a single "csf.deny" file which is getting difficult to maintain. In an attempt to organize things a bit more (since not ALL of the IP ...
4
votes
1answer
955 views

iptables refuses connections to squid port on CentOS 5.5

I installed squid on a fresh CentOS 5.5 and added this rule for iptables: -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 8080 -j ACCEPT Using this HOWOT: ...
0
votes
1answer
369 views

Problem with sendmail combined with iptables

I have the following setup, for my iptables, I want my server secured as can be. However, I just have one problem... Sendmail does not work, when I have iptables enabled. Even though I opened port 25. ...
1
vote
4answers
4k views

iptables lets me connect by FTP but I can't get dir listing [duplicate]

Possible Duplicate: Allowing FTP with IPTables I have a pretty restrictive set of iptables rules with the following rule that allows me to connect by ftp iptables -A INPUT -p tcp --dport ...
0
votes
2answers
95 views

Is it necessary to stop iptables when you behind router to access your httpd (centos on wmware)?

Hi I have a strange behavior when I try to access my web server that is listening on port 8011 I did configure iptables to enable this port and its looks like this: > :INPUT ACCEPT [0:0] :FORWARD ...
3
votes
1answer
3k views

Installed apache server , can't connect from outside (using CentOS in WMware )

I installed Apache in CentOS 5.5, after searching the web for tips on configuration I did the following to enable connecting the HTTP server from outside: In /etc/httpd/conf/httpd.conf I changed the ...
3
votes
2answers
2k views

Iptables port forwarding on OpenVZ CEntOS container

I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT ...