OpenVPN has no internet

I updated yesterday to the latest version of OSMC and today I am trying to enable OpenVPN.

My client.conf looks like this:

client
dev tun
port 1194
proto udp

remote 1.2.3.4 1194
nobind

ca /etc/openvpn/ca.crt
cert /etc/openvpn/client.crt
key /etc/openvpn/client.key

comp-lzo
persist-key
persist-tun

verb 3

Which works fine on another linux and Windows machine.

It seems to connect correctly, I can ping other machines on the VPN but I can’t access the internet. Internet does work when I connect to the VPN server from my Windows PC.

Anyone any idea’s?

Hi,
So its correct to assume that this was working on the osmc device before you updated? Also are you using the OpenVPN plugin or configuring this yourself from the command line?

If would help to see the output of ifconfig and route when the vpn is supposed to be connected.

Sorry I was unclear, but this is the first time I’m trying to set it up, I was just stating I’m running the latest release from OSMC.

I tried both the plugin and just starting it from the command line, both connect fine, but no traffic is going through.

If I ping google, it will resolve google to an IP but no pings are actually done (100% packet loss).

This is my ipconfig:

eth0      Link encap:Ethernet  HWaddr b8:27:eb:a5:9f:9c
          inet addr:192.168.10.7  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:784040 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334451 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:684709956 (652.9 MiB)  TX bytes:62287866 (59.4 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:304 errors:0 dropped:0 overruns:0 frame:0
          TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21380 (20.8 KiB)  TX bytes:21380 (20.8 KiB)

    tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.8.0.6  P-t-P:10.8.0.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3429 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:1675671 (1.5 MiB)

I’m not very familiar with routing and setting up openVPN on linux clients, but I followed a few tutorials, but they all point to PIA.