pppoe (userland PPP) and nat 'loopback'
JD Bronson
jbronson at sixcompanies.com
Thu May 17 20:54:25 UTC 2007
Can this be configured?
What I need is a way to go from one LAN machine to the WAN and
loopback to the other LAN machine.
LAN->WAN->LAN
simple pf.conf:
binat on $bge1 from 192.168.82.170 to any -> 67.x.x.1
binat on $bge1 from 192.168.82.171 to any -> 67.x.x.2
binat on $bge1 from 192.168.82.172 to any -> 67.x.x.3
binat on $bge1 from 192.168.82.173 to any -> 67.x.x.4
and so on.
I need to use 192.168.82.172 to go and connect to public
67.x.x.2 then loop back to 67.x.x.1
Why do I need this? - I run 2 external DNS servers (with views) and
as such NS2 needs to talk to NS1 but using the WAN NAT loopbacks.
thanks in advance for any tips.
-JD
More information about the freebsd-questions
mailing list