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 route on the FreeBSD gateway) 192.168.0.0 --> Internet doesn't work :( What did I miss ? From what I see, I can't find any mistakes... although there must be one. Antoine _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"