[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: f....... nat



On Tuesday 05 March 2002 12:34 pm, Kasza Karoly wrote:
> OK, I'm a lame.
> Have read the mans.
> Wants to simply redirect one port to another machine's port.
> Eg: pc1 port 22 to pc2 port 22
>
> PF.conf
> pass in all
> pass out all
>
> NAT.conf
> rdr from any to pc1 port 22 -> pc2 port 22

wouldn't this be somerhing more along the lines of...

rdr dc1 your_ip_adress/32 port 22 -> pc1_ip_address port 22 tcp


>
> SH:
> pfctl -v -e -R PF.conf -N NAT.conf
>
> From the third machine:
> ssh pc1, waiting some minutes, no reply...
> I've got this problem for 2 days now, my
> brain has been all dried up... :-))
> Help, bitte.
>
> Kasza "Scythe" Karoly