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: 188.8.131.52 --> 111.222.333.444 netmask 0xffffffff tun1: 184.108.40.206 --> 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 -> 220.127.116.11/32 map tun0 192.168.1.0/24 -> 18.104.22.168/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]"