using loopback address as primary address

Brian Candler B.Candler at pobox.com
Mon Jul 24 13:48:14 UTC 2006


On Mon, Jul 24, 2006 at 12:38:56PM +0300, Nikos Vassiliadis wrote:
> Can I somehow use lo1 address
> for connections initiated from Host_2?

Options I know of:

(1) the application which originates the connection can explicitly bind
to the lo1 address (see for example telnet -s and ping -S options)

(2) the application can run in a jail(8) whose IP address is lo1, in which
case a 'bind to any' will bind to this address only

(3) use source NAT with pf etc


More information about the freebsd-net mailing list