
nickmclean at optushome
Jul 24, 2001, 11:04 PM
Post #4 of 4
(890 views)
Permalink
|
Hey, You need to specify a protocol that it is going to be using, I'm guessing that this is for ssh so the rule would look like this... /sbin/iptables -A INPUT -i eth1 -p TCP -m state --state NEW --dport 22 -j ACCEPT Nick ----- Original Message ----- From: "Gareth Hastings" <ghastings [at] sc> To: <netfilter [at] lists> Sent: Wednesday, July 25, 2001 3:17 PM Subject: Spot the error !! > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Can someone tell me why this line doesn't work > > /sbin/iptables -A INPUT -i eth1 -m state --state NEW --dport 22 -j > ACCEPT > > Thanks > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> > > iQA/AwUBO15WUyGB8Ri4BtJMEQJSTACg7qrQw+JFLzpk34yZW39IT5Ef4n8AnRcx > c5Z7FW5lEcnrOpE1iQNbA+UG > =OdlM > -----END PGP SIGNATURE----- > >
|