On Wed, 14 Jan 2004, Antoine Jacoutot wrote: > What I'm hoping to do is find a way to route all paquets coming: > - from DMZ to internet, using NET connexion1 > - from LAN to internet, using NET connection2 > > To be more understandable, something like this: > route add from DMZ defaut em0 > route add from LAN defaut em1
you can do this with IPFW's fwd rulesets. ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any ipfw add fwd netconnexion2_gw ip from LAN/netmask to any this sets the next hop address for a packet, based on it's incoming address space. Regards, /\_/\ "All dogs go to heaven." [EMAIL PROTECTED] (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"