how to route to a local server thru PF router

Gilberto Villani Brito linux at giboia.org
Thu Nov 23 19:12:07 UTC 2006


Dont you have anothers no nat rules ????
Try:
pass in from 172.17.3.0/24 to 10.1.10.0/24

Gilberto


2006/11/22, fwun at bigpond.net.au <fwun at bigpond.net.au>:
> Hi,
>
> The PF router I setup is an Internet router that allow people access the Internet. But in the mean time, this PF router also connected to a local freebsd server. As a user behind the PF router, i also want to ssh into the local freebsd server (10.1.10.2). But currently I m not able to ssh into this local server thru the PF router.
>
> The current NAT rules in the PF router setup as:
>
> # pfctl -a NATRULES -sn
> nat on sis0 inet from 192.168.1.0/24 to any -> (sis0) round-robin
> nat on sis0 inet from 172.17.3.0/24 to any -> (sis0) round-robin
> nat on sis0 inet from 10.1.10.0/24 to any -> (sis0) round-robin
>
> I m connected to the 172.17.3.0/24 network. The local freebsd server is connected to 10.1.10.0/24 network.
>
> And the PF router is already setup as a default gateway.
>
> How can I modify the PF rules so that I can login from 172.17.3.0/24 to 10.1.10.0/24 network?
>
> Thanks
> s
>
>
>
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>


More information about the freebsd-pf mailing list