Hi,

I added a rule : iptables -A INPUT -p tcp -s 24.221.202.36 --dport 22 -j ACCEPT

and when I list the iptables I see:  

ACCEPT     tcp  --  24-221-202-36.pools.static.spcsdns.net  anywhere            
tcp dpt:ici

Are the below two rules the same?

iptables -A INPUT -p tcp -s 24.221.202.36 --dport 22 -j ACCEPT
iptables -A INPUT -p tcp -s 24-221-202-36.pools.static.spcsdns.net --dport 22 
-j ACCEPT

in other words can I use 24-221-202-36.pools.static.spcsdns.net in place of the 
IP?

Also I do not see the port when I issue iptables -L ?  How can I sell if the 
rule applies to a specific port?

Thanks!

------------------------

Keith Smith
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to