What should we enter into IPTABLES ?

if I am given
-----------------
ip address : 172.16.24.X
subnetmask: 255.255.0.0
example:
iptables -I INPUT -p tcp --dport 22 -s 172.16.0.0/16 -j ACCEPT
OR
iptables -I INPUT -p tcp --dport 22 -s 172.16.24.0/16 -j ACCEPT

both will be valid "?????
which should i have to insert into iptables,,...????
REPLY ME SOON...!

What should we enter into IPTABLES ?

Hello all

Can u also provide with a small explanation just 4 understanding..... as why not valid?


On Thu, Feb 24, 2011 at 12:32 PM, girish kumar <girish.india0786@gmail.com> wrote:

iptables -I INPUT -p tcp --dport 22 -s 172.16.0.0/16 -j ACCEPT     It's right...



--

Thanks & Regards
             Girish kumar Gehlot



What should we enter into IPTABLES ?



 iptables -I INPUT -p tcp --dport 22 -s 172.16.0.0/16 -j ACCEPT , this is only valid.

Regards,
Vilash Jagani








From: Rushi <rushi3311@gmail.com>
To: VGLUG <vglug@googlegroups.com>
Sent: Wed, February 23, 2011 6:07:52 PM
Subject: [VGLUG] What should we enter into
IPTABLES ?


if I am given
-----------------
ip address : 172.16.24.X
subnetmask: 255.255.0.0
example:
iptables -I INPUT -p tcp --dport 22 -s 172.16.0.0/16 -j ACCEPT
OR
iptables -I INPUT -p tcp --dport 22 -s 172.16.24.0/16 -j ACCEPT

both will be valid "?????
which should i have to insert into iptables,,...????
REPLY ME SOON...!

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.

To stop receiving emails from this group, mail to VGLUG+unsubscribe@googlegroups.com
To post to this group, send email to href="mailto:VGLUG@googlegroups.com">VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG