FW: Two ISP connections with Natd

vladone vladone at spaingsm.com
Wed Sep 6 19:56:28 UTC 2006


Hello Kirk,

Wednesday, September 6, 2006, 3:33:30 AM, you wrote:

>>
>>Dear All,
>> 
>>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
>  
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to
> "freebsd-ipfw-unsubscribe at freebsd.org"

Read this : http://www.mail-archive.com/freebsd-ipfw@freebsd.org/msg00642.html

-- 
Best regards,
 vladone                            mailto:vladone at spaingsm.com



More information about the freebsd-ipfw mailing list