IPTables question
keith smith
klsmith2020 at yahoo.com
Fri Jul 1 11:54:18 MST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110701/0f6ae269/attachment.html>
More information about the PLUG-discuss
mailing list