Date: Sun, 27 Oct 2002 17:17:39 +0000 From: Baldur Gislason <baldur@foo.is> To: <neil@mpfreescene.com> Cc: freebsd-net@freebsd.org Subject: Re: Freebsd multiple gateways Message-ID: <20021027171739.DF666AB93@tesla.foo.is> In-Reply-To: <000601c27dd9$15c0b040$0200a8c0@b1> References: <000601c27dd9$15c0b040$0200a8c0@b1>
next in thread | previous in thread | raw e-mail | index | archive | help
The solution is simple. Compile your kernel with: options IPFW2 options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD Then, sysctl net.inet.ip.sourceroute=1 Finally: ipfw add fwd 69.1.78.1 ip from 69.1.78.8 to not 69.1.78.8 and you should have a working route from 69.1.78.1 Baldur To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021027171739.DF666AB93>