Date: Tue, 5 Sep 2006 18:33:30 -0600 From: "Kirk Davis" <Kirk.Davis@epsb.ca> To: <freebsd-ipfw@freebsd.org>, <dbila@care.org.mz> Subject: FW: Two ISP connections with Natd Message-ID: <04C71268DFDAA8499EC1A248A44B6A2B05976127@Exchange21.EDU.epsb.ca>
next in thread | raw e-mail | index | archive | help
> >Dear All, >=20 >I am running freebsd as getway for my office. I Just acquired second Internet last week. I wonder if there >is a way trhough route add -net and ipfw I can manipulate my traffic in a such way that some traffic to a >selected network can go through one ISP while the rest goes through the default gateway. I am using natd and my FreeBSD box has got 3 NICs, one for internal network and other two for each ISP. Yes, This can be done. If you are using ipfw and natd then you have to run two instances of natd (on separate ports), one on each external interface. The ipfw firewall rules get a little tricky but you have to create rules to catch the incomming and outgoing traffic through each external interface and direct it to the right instance of natd. Once this is done then just direct your routes out the interface that you want. ---- Kirk =20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04C71268DFDAA8499EC1A248A44B6A2B05976127>