Date: Fri, 1 Oct 2004 20:21:10 +0000 From: "Mikhail P." <miha@ghuug.org> To: freebsd-net@freebsd.org Cc: Leon Garde <leon@nelsonbay.com> Subject: Re: confusion with natd Message-ID: <200410012021.10200.miha@ghuug.org> In-Reply-To: <20041001232632.Y93609@localhost> References: <20041001232632.Y93609@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 01 October 2004 16:21, Leon Garde wrote: > The other way =A0to route by source is to use a rule like this > > 'ipfw add =A01 fwd =A0192.168.10.2 =A0from 192.168.0.3 to any ' Thanks! That did the job, and now 192.168.0.3 is being routed to the inet v= ia=20 tun0. on HOST_B (local router), rules now look like: ipfw add 1 allow ip from 192.168.0.0/24 to me ipfw add 2 fwd 192.168.10.1 ip from 192.168.0.3 to any if I delete 2nd rule, 192.168.0.3 is being routed as the rest of the LAN. and HOST_A (remote host), has natd running on rl0 + the following routing: route add 192.168.0.0/24 192.168.10.2 kind regards, M.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410012021.10200.miha>