you might need to tell ssh to use outgoing port 22 instead of whatever
outgoing port it normally chooses.  my /var/log/auth.log tells me that when
incomming ssh connections are made, they are never made FROM port 22, but
always to 22.

Matt.


----- Original Message ----- 
From: "Adam Bozanich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 2:51 PM
Subject: problems with rules


> Hi all.  I would like to allow ssh in and out of my
> box, without using state rules.
>
> Here's what I've got:
> ...
> pass in quick on dc0 proto tcp from any to any port =
> 22
> ...
> pass out quick on dc0 proto tcp from any to any port =
> 22
> ...
> block in log on dc0
> block out log on dc0
> ...
>
> When I try to ssh out from the box (FreeBSD 5-1) I get
> The replies from outside server blocked
> (flags=SA,catches on "block in log on dc0")
>
> If I try to ssh into the system, the replies get
> blocked going back out the interface
> ("flags=SA,catches on "block out log on dc0")
>
> Can anybody tell me what I've done wrong? I think it
> must be something easy, but I can't find it.
>
>
>
>
>
>
>

Reply via email to