Jump to content

Iptables problem.... [solved]


Lando
 Share

Recommended Posts

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. :wall:

 

[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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...