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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...