Current-Users archive

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

Re: Hair pinning with pf and NetBSD



On Tue, Nov 24, 2009 at 11:25:16AM -0800, Brian Buhrow wrote:
> The customer wants to be on 192.168.25.2 and talk to 192.168.25.4, but
> address it as 157.22.25.4.

Add a /32 route via the 157.xxx address of the router?

> The default gateway for these two boxes is the pf router, and, according to
> the manual, this doesn't work, because the pf router can only nat when the
> packet travels out a different interface from which it came in.

The problem is that the traffic will not pass through the router again.
The destination will try to access the machine directly on the local
network. Either that or I am not completely clear what you are actually
doing in terms of NAT.

Joerg


Home | Main Index | Thread Index | Old Index