It works, but if you manually stop the openvpn server with
Code: Select all
sudo service openvpn stop
After much troubleshooting, I found the problem lies in the openvpn-bridge script, in the "stop" section.
Apparently, after the bridge interface br0 is deleted, the eth0 adapter goes into the "down" state.
To Fix:
In the "stop" section of the script, change this line:
Code: Select all
ip link set $eth promisc off
Code: Select all
ip link set $eth promisc off up
But on the Pi, you do.
Might be due to different kernels and/or different versions of the ip command.
Or possibly the network manager software. OSMC uses something called "conman"
Or possibly different chipsets/drivers for the network interface.
Regardless, I don't think it would hurt anything to add "up", even if it's not strictly needed.
So I suggest the openvpn-bridge script on the wiki be modified to include this.
Many thanks for this setup guide. It worked perfectly on Ubuntu 16.04
and I was puzzled why I was having problems with the Pi running OSMC,
which is basically Debian that auto launches Kodi.
-MD