VPN Manager for OpenVPN

  • Hi there,

    Coming back with another issue I am facing with HMA and the add-on. Back in June you already fixed an issue related the config file.

    I just update my Librelec to the latest version and now I get the following error: Error connecting to VPN, authentication failed check username/password (or cert and keyfiles).

    My credential are working fine on my computer, so it might be related to cet/key files. Please, What should I do?

    Thx in advance for your help!

    All ok, very sorry, it was a credential issue! Don't know what happened!

    Cheers!

  • hi folks,

    at first nice addon, love t and works generelly fine ...but

    it works absolutly clear on my rasps with latest libreelec os (rasp 2 & 3)

    on my cubox ip4 i can get my user defined cfg configured, but it pop ups with connect, disconnect, connect, disconnect and so on..maybe a temp issue..dont know and last but not least on my amlogic box s905x, also latest libreelec image .. i can also install all addons and most of them working fine, but openvpn will not start/ connect, also i added it on the old way via autostart.sh

    why cant i start openvpn on my amlogic box, sure its a secondary image bootet via sd card ( also write it to internal), got also the same structure like other linux images, but is it a really full os on linux basic, is it possible to use openvpn on amlogic boxes?

    sorry for that questions but i searched the forum but dont find the right answer or infos of these questions..

    thx 4 feedback =O

  • I used the user defined, to get Nordvpn working, I copied some of the servers & cert files to a folder, then in the vpn config, added my nordvpn user name & password, then used the wizard, to point to the Nordvpn folder with my servers & cert files.

    The vpn starts to connect when the network starts,

    This worked on my three devices.

  • I used the user defined, to get Nordvpn working, I copied some of the servers & cert files to a folder, then in the vpn config, added my nordvpn user name & password, then used the wizard, to point to the Nordvpn folder with my servers & cert files.

    The vpn starts to connect when the network starts,

    This worked on my three devices.

    configured in the same way, got nvpn, but probably there is one step different.

    u also copied ur config in the vpn config folder? ..or u mean that u added ur files via the wizard in the manager?

    because in the same way it works on the rasp, but dont on the amlogic box..dont understsand the issue, but i will try

  • I copied server addresses & certs to a folder I created, on storage, then used the wizard to point to that directory

    then used the wizard, it will take time to work, so, just try a few servers to begin with.

    I have done this on a Beelink S905, a H96 Pro S912, & a NUC

  • Hi, Ive been using this addon for a while and Ive noticed that now my MAC address appears as 00:00:00:00:00:00 and my IP address appears to be my tunnel address. Ive uploaded my debug log from boot here

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Is there any setting I can change to get my MAC Address back and the correct IP?

  • will this addon work on a enigma2 satellite receiver? the blackhole images for the vu+ comes with the kodi plugin and i am just wondering if anybody had this working / is compatible with those machines. in the end of the day they speak the same language.. thank you.

  • will this addon work on a enigma2 satellite receiver? the blackhole images for the vu+ comes with the kodi plugin and i am just wondering if anybody had this working / is compatible with those machines. in the end of the day they speak the same language.. thank you.

    I don't understand why you need it, but why don't you just try it. If it doesn't work, uninstall it

  • The add-on doesn't change the MAC address. And you're connecting to the VPN before Kodi boots. I'm not entirely sure what problem you think you have here?

    The addon is changing my MAC address, subnet address, and my IP address. Disabling the addon puts my IP, Subnet address and mac address back to normal. ifconfig -a shows this output

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

  • No, the add-on is using openvpn to create you a VPN tunnel which by design is presenting a different IP address. It's really not changing your MAC address. You're free to find the line of code on Github that's doing that if you still believe that's the case.

  • Hello just trying windscribe vpn and i get auth failed. I have a pro account so access to all servers but fails to authenticate in all of them. Any clue? Can post log if that helps thank you

  • If the openvpn log says 'AUTH_FAILED' or 'private key password verification failed' then you've supplied the wrong credentials. If it says something else, I'll look it a log.

  • Hei having some trouble with expressvpn, is the 2038 bug still a issue?

    here is my log

    08:42:38.710 T:3534869376 NOTICE: VPN Mgr : (platform.py) VPN log file start >>>

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 WARNING: file '/storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.key' is group or others accessible

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/ta.key' is group or others accessible

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/pass.txt' is group or others accessible

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 OpenVPN 2.4.1 armv8a-libreelec-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Mar 22 2018

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 library versions: OpenSSL 1.0.2n 7 Dec 2017, LZO 2.10

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 Cannot load certificate file /storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.crt

    08:42:38.710 T:3534869376 NOTICE: Fri Apr 27 08:41:19 2018 Exiting due to fatal error

    08:42:38.710 T:3534869376 NOTICE: VPN Mgr : (platform.py) <<< VPN log file end

    08:42:39.471 T:3534869376 ERROR: VPN Mgr : (common.py) Error connecting to VPN, something unexpected happened.

    Retry to check openvpn operation and then check log.

    08:56:15.086 T:3748696960 WARNING: CPythonInvoker(11): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

    08:56:15.294 T:4098507952 ERROR: GetDirectory - Error getting plugin://service.vpn.manager/?list

    08:56:15.294 T:4098507952 ERROR: CGUIMediaWindow::GetDirectory(plugin://service.vpn.manager/?list) failed

    08:56:15.728 T:3748696960 NOTICE: VPN Mgr : (platform.py) Testing openvpn with : /usr/sbin/openvpn > /run/openvpn.log &

    08:58:51.126 T:3748696960 NOTICE: VPN Mgr : (platform.py) VPN log file start >>>

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 WARNING: file '/storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.key' is group or others accessible

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/ta.key' is group or others accessible

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/pass.txt' is group or others accessible

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 OpenVPN 2.4.1 armv8a-libreelec-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Mar 22 2018

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 library versions: OpenSSL 1.0.2n 7 Dec 2017, LZO 2.10

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 Cannot load certificate file /storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.crt

    08:58:51.126 T:3748696960 NOTICE: Fri Apr 27 08:57:30 2018 Exiting due to fatal error

    08:58:51.126 T:3748696960 NOTICE: VPN Mgr : (platform.py) <<< VPN log file end

    08:58:51.727 T:3748696960 ERROR: VPN Mgr : (common.py) Error connecting to VPN, something unexpected happened.

    Retry to check openvpn operation and then check log.

    09:01:43.841 T:3748696960 WARNING: CPythonInvoker(13): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

    09:01:44.551 T:3748696960 NOTICE: VPN Mgr : (platform.py) Testing openvpn with : /usr/sbin/openvpn > /run/openvpn.log &

    09:04:31.631 T:3748696960 WARNING: CPythonInvoker(14): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

    09:10:39.104 T:3748696960 NOTICE: VPN Mgr : (platform.py) VPN log file start >>>

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 WARNING: file '/storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.key' is group or others accessible

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/ta.key' is group or others accessible

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 WARNING: file '/storage/.kodi/addons/service.vpn.manager/ExpressVPN/pass.txt' is group or others accessible

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 OpenVPN 2.4.1 armv8a-libreelec-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Mar 22 2018

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 library versions: OpenSSL 1.0.2n 7 Dec 2017, LZO 2.10

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 OpenSSL: error:0906D06C:PEM routines:PEM_read_bio:no start line

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 Cannot load certificate file /storage/.kodi/userdata/addon_data/service.vpn.manager/ExpressVPN/user.crt

    09:10:39.104 T:3748696960 NOTICE: Fri Apr 27 09:09:18 2018 Exiting due to fatal error

    Edited once, last by Badmongo88 (April 27, 2018 at 8:25 AM).

  • Hei sorry, i was using wrong username and password. it apparently has custom username and password that i was supposed to use. took me long enough to figure it out.

    Thank you for all the help, much appreciated