socket / bind - specific address
Edwin Groothuis
edwin at mavetju.org
Fri Feb 24 23:07:27 PST 2006
The situation is as follows:
We have a couple of FreeBSD routers, with RFC1918 addresses on the
ethernets and a public address on the loopback. This works fine for
connecting to the routers, but is problematic for locally originated
outgoing traffic (think NTP, think syslog): it takes the IP address
of the outgoing interface, which is the RFC1918 address.
Is there a way (sysctl, kernel option) to define which IP address
is used for locally originated outgoing traffic?
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-net
mailing list