Date: Tue, 18 Jul 2017 00:19:54 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Alan Somers <asomers@freebsd.org> Cc: FreeBSD Net <freebsd-net@freebsd.org>, freebsd-jail@freebsd.org, Grzegorz Junka <list1@gjunka.com> Subject: Re: A web server behind two gateways? Message-ID: <596CF1BA.8050104@grosbein.net> In-Reply-To: <CAOtMX2h6zBi4aVDSdUP_Po_JwOLbxynanZ624530mGLk16fWbg@mail.gmail.com> References: <a35370da-531d-6678-4a60-95304bdd919b@gjunka.com> <596CA093.6020508@grosbein.net> <CAOtMX2h6zBi4aVDSdUP_Po_JwOLbxynanZ624530mGLk16fWbg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
17.07.2017 23:46, Alan Somers wrote: >> So, the solution depends of kind of NAT you use. > > That's not 100% true. The web server is choosing which gateway to > use. As Grzegorz said, it's only configured to use a single gateway > at a time. To do what Grzegorz wants, he'll need to use multiple > fibs. Set "net.fibs=2" and "net.add_addr_allfibs=0" in > /boot/loader.conf and reboot. This will work for a server directly connected to both external gateways but won't work for a server behind two NAT boxes. Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?596CF1BA.8050104>