Openvpn menu item

hi osmc users,

I have openvpn that i usually launch before i watch netflix (via command line) and close it when netflix is not running. Is there any easy way to create a menu item for it so i could control it from the gui?

thx a lot!

https://brianhornsby.com/kodi_addons/openvpn

1 Like

thanks @Tom_Doyle, I tried this but under OSMC it gives an error message (unable to connect to OpenVPN management interface) :frowning:

there should be a log file in /home/osmc/.kodi/userdata/addon_data/script.openvpn that might be able to help. (enable debugging in the app itself prior to viewing the log.)
the other thing you might try is issuing ‘which openvpn’ from cli and make sure plugin lists correct path to your installed openvpn.

1 Like

thank you,

yeah i changed it to the correct path but same error message :frowning: will try to check the log file thx

just a quick update in case if somebody would like to use the same:

  • path needs to be modified to /usr/sbin/openvpn
  • script required sudo (just check that)
  • I had to copy my login.txt into the addon_data folder, so the script can see that

worked :slight_smile:

3 Likes