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
>
> ************
> [EMAIL PROTECTED]   http://www.linuxchix.org


************
[EMAIL PROTECTED]   http://www.linuxchix.org

Reply via email to