A few weeks ago my OpenVPN server within my home network was running like a dream. I connected and I could access my network and access the internet. It was amazing.

Tonight, I can connect to the OpenVPN, I can ping my server IP through the tunnel, but none of the clients on the home network. I also can't connect to the internet through my OpenVPN connection.

How do I even begin to go about troubleshooting this please? I've tried rebooting the server but it didn't fix it. Could anyone tell me what the most likely setting to be lost over a reboot is please?


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default       UG    0      0        0 tun0
default         UG    1024   0        0 wlan0   UG    0      0        0 tun0      *      UH    0      0        0 tun0
host86-134-200- UGH   0      0        0 wlan0       UG    0      0        0 tun0
link-local      *          U     1000   0        0 wlan0    *        U     0      0        0 wlan0
  • is my home network
  • I think is my wireless connection away from home
  • is my openvpn tunnel server

Edit to answer questions:

  • If I ping I get a response. If I ping which is on my home network, I get no response.

  • "What is ok your client machine?"
    I'm not sure what you mean by this. I happen to have 2 client machines, both have the same issue, both were working perfectly. Both now no longer work.

  • I only connect to my OpenVPN server - which is on my home network - when I'm away from home. I may be using public wifi or mobile internet. Neither work.

  • This is not clear: "but I can ping my server IP through the tunnel". Can you ping your server through the vpn or you can't? Edit your question, make it more clear. What is ok your client machine? How do your home network machines reach your server, are you sharing the vpn tunnels with them, if yes, how? Edit all of these into your question, or it will be closed as an unclear question. – peterh Feb 18 '17 at 19:37
  • Do you have anything showing in your syslog, or wherever your client sends its logs? – SYN Feb 19 '17 at 11:57
  • Nothing obvious in my logs. Can't see anything referencing openvpn/tun at all though. – TechnicallyTroubled Feb 19 '17 at 18:49

As two client systems have the same problem I would start searching for broken routing on your OpenVPN server.

  • Version 1: packets originating from your VPN cannot reach the LAN
  • Version 2: reply packets from your LAN don't know the route to the VPN server
  • Version 3: the routes on your VPN server got garbled (LAN interface restarted, OpenVPN still running, but bringing up the LAN cleared the routing table).
  • One thing I notice about my routing table is that there is no mention of the network. Should I have something like push "route" in the server.conf? – TechnicallyTroubled Feb 21 '17 at 6:00

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.