Current-Users archive

[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
   IP address
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 netmask up

machine2$ sudo route add -host

And vice-versa.


public address of each machine as alias with /32 and use normal routing.


Home | Main Index | Thread Index | Old Index