Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 14:12:27 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        jack@jarasoft.org, freebsd-ipfw@freebsd.org
Subject:   Re: IPW problem
Message-ID:  <45a991b0-cf28-c934-ed99-4e1c23ceeadd@freebsd.org>
In-Reply-To: <0cb16cbad9293c346cb6938505a9418c.squirrel@jarasoft.net>
References:  <0cb16cbad9293c346cb6938505a9418c.squirrel@jarasoft.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/05/2016 4:39 AM, Jack Raats wrote:
> Hi everyone,
>
> I have the following problem.
>
> My home server has 2 NICs
>
> NIC1
> bge0 ip-address 10.10.10.30 netmask 255.255.255.0 gateway 10.10.10.100
> ADSL connection 10 Mbit/1 Mbit
>
> NIC2
> bge1 ip-address 10.10.10.32 netmask 255.255.255.0 gateway 10.10.10.200
> Cable connection 200 Mbit/20 Mbit
>
> I have to use NIC1 for all services I'm running, but when the home server
> wants to download something e.g. the ports, then it has to use NIC2
>
> How can this be done using IPFW???
> IPFW is compiled in the kernel. I'm using FreeBSD 10.3-STABLE
>
> Thanks for the help

where is the NAT hapenning? at each of the modems?

If so, configure 2 FIBs
then assign regular behaviour fib 0  but make fib 1 have the cable 
modem as default
all 'fetch' operations should then be performed with fib 1. e.g. 
setfib 1 fetch https:example.com/test.txt

> Jack
>
>
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45a991b0-cf28-c934-ed99-4e1c23ceeadd>