Lando Posted June 12, 2006 Report 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] Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 12, 2006 Report 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. Quote Link to comment Share on other sites More sharing options...
Lando Posted June 14, 2006 Author Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.