Date: Sat, 27 Feb 2016 16:54:02 +0100 From: JosC <bsduser@cloudzeeland.nl> To: dweimer@dweimer.net Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Re: Changing Gateway temporarilly Message-ID: <56D1C69A.5000103@cloudzeeland.nl> In-Reply-To: <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> References: <56D1A1F5.1030602@cloudzeeland.nl> <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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) > <https://www.freebsd.org/cgi/man.cgi?query=pf.conf&sektion=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D1C69A.5000103>