[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Hair pinning with pf and NetBSD
Joerg Sonnenberger wrote:
On Wed, Nov 25, 2009 at 10:03:17AM -0500, Brian A. Seklecki wrote:
See attached diagrams. I think your customer is very very confused
about TCP/IP, but anyway.
Yeah. I think the easiest configuration is actually to just add the
1) Create a lo1 or alias on lo0 inteface with a /32 of the public
2) Create a static route on each machine, for the public /32, via the
private /32 (in the /24 or whatever)
machine1$ sudo ifconfig lo1 create
machine1$ sudo ifconfig lo1 inet 18.104.22.168 netmask 255.255.255.255 up
machine2$ sudo route add -host 22.214.171.124 192.168.100.100
public address of each machine as alias with /32 and use normal routing.
Main Index |
Thread Index |