Date: Mon, 19 May 1997 20:56:53 -0400 (EDT) From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: ponds!freefall.cdrom.com!freebsd-hackers Subject: natd & multiple sl0 ifconfigs... Message-ID: <199705200056.UAA24171@lakes.water.net>
next in thread | raw e-mail | index | archive | help
I've successfully gotten natd to work - it's exactly what the doctor ordered. However, when I want to get to work; I use SL/IP, and have a particular IP address associated with sl0. But - when I want to contact my ISP, I also use SL/IP, with a different IP address. I start natd with (from rc.local): if [ -f /usr/local/bin/natd ]; then echo -n " natd"; /usr/local/bin/natd -port 32000 -interface sl0 -m -u -d ynamic fi and in /etc/rc.firewall, I have: # # Do 'natd' style diversion.. # ipfw -f flush ipfw -f add divert 32000 ip from any to any via sl0 ipfw -f add pass ip from any to any As I understood the man page for natd - the -dynamic flag will cause natd to "watch" the interface, and make appropriate adjustments should the IP change, etc... but - it doesn't seem to be doing so. Does anyone have any experience/thoughts on this? - Thanks - - Dave Rivers -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705200056.UAA24171>