0

I have one VPN installed in ubuntu 17.10 but when I'm not using it, ubuntu shows on wifi widget an interrogation mark over it and I'm connect to wifi but as soon as I reach firefox (or other internet service) It shows no connection. Also when I turn on VPN i can use the pc normally. Any help to fix this?

  • I'd expect the VPN re-routes your DNS to use its own, and maybe even gateways. with vpn disabled. i'm guessing you use gui; sorry I use cli, so first I'd ping your router (eg. ping 192.168.0.1 using ip addr; ip route to display the ip.range if you don't know it), then google.dns using real.address ping 8.8.8.8 so you know you can get outside; then I'd try pinging oogle using a name eg. ping google.com. to view your used DNS (which I believe is pointing to VPN's which is only valid when using vpn) use nmcli con show to get name; then use nmcli con show 10.1 where 10.1 is your name – guiverc Jan 1 '18 at 23:13
  • the method to fix depends on your usage case (ie. how often you use your VPN, and your preference). I'd do it via script (adding menu item or gui if you prefer), just by adding a nameserver to your /etc/resolv.conf file ahead of whatever is there; but you'd want it removed by vpn (which may occur naturally depending how your vpn does its thing). use whatever fix best suits your needs (a less hacky fix than this ideally) – guiverc Jan 1 '18 at 23:15
  • Did not work... – BatmanShadow Jan 2 '18 at 22:39
  • you needed to put each step, or at least description in the question (ie. edit). could you ping your router, your isp, an external address (by address), which checks your system, then via named.address (if this fails its DNS which VPN's have to change otherwise they're not private & lying) . did not works us nothing, meaning we can't really help you. – guiverc Jan 2 '18 at 23:17

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.