Date: Mon, 19 Jan 2004 09:25:01 +0100 From: Antoine Jacoutot <ajacoutot@lphp.org> To: freebsd-questions@freebsd.org Subject: Re: Re: Loading balancing with more than one ISP. Message-ID: <200401190924.50284.ajacoutot@lphp.org> In-Reply-To: <200401181036.35702.ajacoutot@lphp.org> References: <200401181036.35702.ajacoutot@lphp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 18 January 2004 10:36, Antoine Jacoutot wrote: > ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any > ipfw add fwd netconnexion2_gw ip from LAN/netmask to any Allright people. So I'm still trying to make my setup working (using IPFILTER). Thanks for the help you gave, I finally ended up to the next configuration: tun0: 1.2.3.4 --> 111.222.333.444 netmask 0xffffffff tun1: 5.6.7.8 --> 555.666.777.888 netmask 0xffffffff # /etc/ipf.rules pass out quick on tun0 to tun1:555.666.777.888 from 192.168.0.0/24 to any pass out quick on tun1 to tun0:111.222.333.444 from 192.168.1.0/24 to any pass in quick all keep state pass out quick all keep state # /etc/ipnat.rules map tun1 192.168.0.0/24 -> 5.6.7.8/32 map tun0 192.168.1.0/24 -> 1.2.3.4/32 Now, it does NOT work... 192.168.1.0 --> Internet works with no problem (tun0 being the default rout= e=20 on the FreeBSD gateway) 192.168.0.0 --> Internet doesn't work :( What did I miss ? =46rom what I see, I can't find any mistakes... although there must be one. Antoine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401190924.50284.ajacoutot>