Re: how to redirect port to other server

2006-11-14 Thread Joel Goguen
Is $remotesrv listening on port 22?  Do you have a rule something like
below:

pass in on $Extif from any to $remotesrv port 22 flags S/SA keep state

sonjaya wrote:
> Dear all
> 
> I try to redirect  port from server to  comp in lan with pf , beloow
> my script :
> # xl0 interface to public
> IntIf =xl1
> Extif=xl0
> remotesrv="192.168.0.4/32"
> 
> rdr on xl0 inet proto tcp from any to any port = https -> $remotesrv
> port 22
> 
> 
> when i try remote from public always network error connection timeout
> 
> 
> -
> -sonjaya-
> 


-- 
Joel Goguen
Bachelor of Computer Science III
University of New Brunswick
http://iapetus.dyndns.org/



how to redirect port to other server

2006-11-14 Thread sonjaya

Dear all

I try to redirect  port from server to  comp in lan with pf , beloow
my script :
# xl0 interface to public
IntIf =xl1
Extif=xl0
remotesrv="192.168.0.4/32"

rdr on xl0 inet proto tcp from any to any port = https -> $remotesrv port 22


when i try remote from public always network error connection timeout


-
-sonjaya-