One of my server which have cpanel some rules of iptables is not working.
For example, when I use
- iptables -N syn_flood
- iptables -A INPUT -p tcp --syn -j syn_flood
- iptables -A syn_flood -m limit --limit 1/m --limit-burst 4 -j RETURN
- iptables -A syn_flood -j DROP
and I try to test, it do not show any good results, but when I try to use in a server which do not have cpanel
Hi every body
I have problem with saving iptables configuration on fedora 20 and iptables v22.214.171.124.i do below solution to solve problem but don't work:
1-use /usr/libexec/iptables/iptables.init save command
2- use iptables-save > /etc/sysconfig/iptables
3-use iptables-save > iptables.dump
iptables-restore < iptables.dump
I don't understand whats going on with my rootserver...
I have reset iptables and just opened the port for ssh.
Now suddenly over night I see that there are a various of ports open:
21,80, 135, 139, 445, 3128
Could it be that vsftpd for example put rules in automatically to allow input on port 21?
I also tried disabling iptables with this command: