I connect to my employer's network via an openvpn setup. That gets me into a subnet, with a gateway into the real network I need (inside my employer's internal net) at Ordinarily this just works and I never have to think about it.

Well here I am at a coffee shop whose wifi gives out addresses. I thus end up with a route conflict:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 wlan0   U     0      0        0 wlan0   UG    0      0        0 tun0 UH    0      0        0 tun0

I'm pretty much out of luck, right? I can get to the Internet (of course, or I couldn't be typing this), and if I drop that route through then I can get to the VPN, but I can't do both at the same time. I'm not much of a network person so I'm just wondering whether there's a solution to this, either via openvpn client config or whatever.

  • Have you checked if OpenVPN's --redirect-private helps? – derobert Oct 12 '16 at 16:36
  • @derobert no; I'll read up on it. I'm home from the coffee shop now so I won't get to try it until next week :) Thanks!! – Pointy Oct 12 '16 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.