Lando Posted June 12, 2006 Share Posted June 12, 2006 After the command below , port 60353 is in Iptable ( "chain input" means that it works ? ) . After a boot it disappears from chain input ... How can I do to have this port permanently assigned to Iptable ? Thanks a lot. [root@localhost lando]# /sbin/iptables -I INPUT 1 -i eth0 -p tcp --tcp-flags SYN,RST,ACK SYN --dport 60353 -m state --state NEW -j ACCEPT [root@localhost lando]# iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:60353 flags:SYN,RST,ACK/SYN state NEW [moved from Software by spinynorman] Link to comment Share on other sites More sharing options...
ianw1974 Posted June 12, 2006 Share Posted June 12, 2006 You can add this command to /etc/rc.local and it'll be added each time you boot the system. Link to comment Share on other sites More sharing options...
Lando Posted June 14, 2006 Author Share Posted June 14, 2006 You can add this command to /etc/rc.local and it'll be added each time you boot the system. Thanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now