[techtalk] packet filtering and ssh

Jennifer Tippens jennifer at surfari.com
Mon Nov 22 17:46:02 EST 1999


Figured it out.

The line should be:
$IPCHAINS -A input -i $E_IF -p tcp -s 0/0 1023 -d (my gateway's
ipnumber)/32 22 -j ACCEPT

thanks,
Jen

Jennifer Tippens wrote:

> Hello all!
> I'm using ipchains to filter packets.  I have pop open from the outside
> so we can check our mail from home, I do not allow telnet into the box
> or ftp for that matter.  How do I open up port 22 for ssh connections?
> I've tried:
> $IPCHAINS -A input -i $E_IF -p tcp -s 0/0 -d 0/0 22 -j ACCEPT
> and this seems not to work.  Any suggestions?
>
> Thanks!
> Jen
>
> ************
> techtalk at linuxchix.org   http://www.linuxchix.org


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list