NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50978: Default gateway does not work with IPsec

On Mar 18,  1:30pm, ( wrote:
-- Subject: kern/50978: Default gateway does not work with IPsec

Now that I think about it more, this is probably "by design". Let's
say that you are with your home machine and you want to create an
IPSEC tunnel to work. You get assigned an IP address to connect to
the work VPN. At this point the assumption is that all traffic
should go through that VPN, because you could run into security
issues (your machine bridging work with the rest of the internet
for example). This is also how other VPNs work (routing all traffic
through the tunnel) as opposed to a split horizon approach, where
only the traffic destined for the tunnel goes there. This probably has
to do with the weak vs. strong host model:

TL;DR net.inet.ip.checkinterface might do what you want.


Home | Main Index | Thread Index | Old Index