541 reputation
110
bio website
location
age
visits member for 1 year, 5 months
seen May 15 at 17:27
stats profile views 32

Apr
10
comment iptables rules not realoading on CentOS 6.x
This is the only problem with 6 I had so far. I will keep an eye.
Apr
10
accepted iptables rules not realoading on CentOS 6.x
Apr
10
comment iptables rules not realoading on CentOS 6.x
nope. The rules are not reloaded after boot. I solved that temporarily by created a crontab that runs a bash script that tests if there are any rules loaded and loads them in not. It is a lame solution, but it is working until I discover a real solution. Thanks.
Apr
8
comment iptables rules not realoading on CentOS 6.x
SELinux status: disabled I have not disabled it. It was already disabled.
Apr
8
comment iptables rules not realoading on CentOS 6.x
iptables 0:no 1:no 2:yes 3:yes 4:yes 5:yes 6:no and SELinux status: disabled
Apr
8
comment iptables rules not realoading on CentOS 6.x
I have tried your methods. No change. iptables starts but does not load the rules. Apparently /etc/rc.local is not running either. What logs should I check for errors?
Apr
8
comment iptables rules not realoading on CentOS 6.x
I have added more information to the question.
Apr
8
revised iptables rules not realoading on CentOS 6.x
added 616 characters in body
Apr
8
comment iptables rules not realoading on CentOS 6.x
yes, I know that. The rules are there saved to /etc/sysconfig/iptables but they are not being loaded.
Apr
8
comment iptables rules not realoading on CentOS 6.x
so, we are back to square 1. The file is saved correctly but when the system starts iptables is loaded empty.
Apr
8
comment iptables rules not realoading on CentOS 6.x
Yes, the file is saved correctly. This is something weird I discovered now: when I do service iptables save I see a message telling me that the rules were saved to /etc/sysconfig/iptables but when I do your command /etc/init.d/iptables save the message tells me that the rules were saved to /etc/sysconfig/ipt. In other words, saved to a different file... why is that?
Apr
8
comment iptables rules not realoading on CentOS 6.x
I did that and iptables loads when the system starts, but it loads empty.
Apr
8
asked iptables rules not realoading on CentOS 6.x
Apr
8
accepted iptables is not blocking
Apr
8
comment iptables is not blocking
thanks I will check that.
Apr
8
comment iptables is not blocking
thanks. Just one final question. From times to times I check my iptables using --list flag and I see that the ipset is not there. Obviously iptables is losing the connection to ipset every time the server restarts. Is there a way to save this permanentely?
Apr
8
revised iptables is not blocking
added 224 characters in body
Apr
8
comment iptables is not blocking
Just for the record: the commands I have used to add the ipset named blocking to iptables was like this: iptables -A INPUT -p tcp --dport XX -m set --set blocking src -j DROP where XX is the port I am blocking.
Apr
8
comment iptables is not blocking
@RahulPatil - can you elaborate that?
Apr
8
comment iptables is not blocking
@int what command should I type to check that and if the problem is this, how do I fix that?