From owner-freebsd-questions@freebsd.org Sat Feb 27 15:54:02 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F29D3AB67AF for ; Sat, 27 Feb 2016 15:54:02 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B580D984 for ; Sat, 27 Feb 2016 15:54:02 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id C59C347CAF65; Sat, 27 Feb 2016 16:53:57 +0100 (CET) Received: from [10.10.10.33] (unknown [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id 80E5447CAF33; Sat, 27 Feb 2016 16:53:57 +0100 (CET) Subject: Re: Changing Gateway temporarilly To: dweimer@dweimer.net References: <56D1A1F5.1030602@cloudzeeland.nl> <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> Cc: "freebsd-questions@FreeBSD.org" From: JosC Message-ID: <56D1C69A.5000103@cloudzeeland.nl> Date: Sat, 27 Feb 2016 16:54:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 15:54:03 -0000 In een bericht van 27-2-2016 14:34: > I believe the term you are looking for is policy based routing, have a > look at man pf.conf(5) > . Using > pf will allow you to set up rules that route traffic out different > gateways. As for getting the second gateway accessible, you can simply > use an alternate IP address on the interface. Use vlans if you have a > switch supporting it. or use the same internal subnet for both > gateways, but of course different IPs for the gateway itself. > > I haven't done it myself on FreeBSD, but I do use a similar setup on a > pfSense box on one of the remote manufacturing plants where I work. in > that case its in a small town, best download rate we can get is on > DSL, but upload is very limited so we have a bundled T1 for VPN back > to main office, and use the DSL line with HTTP & HTTPS traffic routed > to DSL. > Thanks, will check this out. BR, Jos