VPN Manager for OpenVPN

  • I'm struggling to get Windscribe set up. It keeps failing although my openVPN username and password is definitely correct.

    I note above that a new version has been pushed out, but I can't seem to update and I'm stuck on 6.3.7

    Any help much appreciated.

  • rav3k can you edit /storage/.kodi/addons/service.vpn.manager/Windscribe/Poland (UDP).ovpn and change the remote line to :

    remote waw-85.whiskergalaxy.com 443

    Then try reconnecting.

  • Fr33z3be I've changed VPNSecure using the files you changed and the previous ovpn shared.

    You'll need to be on 6.4.2 which I've not pushed to the repo because of some annoying minor Matrix bugs I need to fix, but you can get here

    If it doesn't work, please share a log

    Hello, i will test it tomorrow after work.

    Keep you posted, but i hope i can give you the right log, haven't got that much experience with logs in kodi/libreelec.

  • rav3k can you edit /storage/.kodi/addons/service.vpn.manager/Windscribe/Poland (UDP).ovpn and change the remote line to :

    remote waw-85.whiskergalaxy.com 443

    Then try reconnecting.

    Ive made the changes in poland (udp).ovpn but still cant connect.


  • Hide.me after update not working


    openvpn.log


    Mon Dec 14 19:22:02 2020 WARNING: file '/storage/.kodi/addons/service.vpn.manager/HideMe/ta.key' is group or others accessible

    Mon Dec 14 19:22:02 2020 WARNING: file '/storage/.kodi/addons/service.vpn.manager/HideMe/pass.txt' is group or others accessible

    Mon Dec 14 19:22:02 2020 OpenVPN 2.4.9 armv8a-libreelec-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Oct 28 2020

    Mon Dec 14 19:22:02 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10

    Mon Dec 14 19:22:02 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]37.120.192.59:3000

    Mon Dec 14 19:22:02 2020 UDP link local: (not bound)

    Mon Dec 14 19:22:02 2020 UDP link remote: [AF_INET]37.120.192.59:3000

    Mon Dec 14 19:22:02 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

    Mon Dec 14 19:22:03 2020 [*.hide.me] Peer Connection Initiated with [AF_INET]37.120.192.59:3000

    Mon Dec 14 19:22:04 2020 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:11: dhcp-renew (2.4.9)

    Mon Dec 14 19:22:04 2020 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:12: dhcp-release (2.4.9)

    Mon Dec 14 19:22:04 2020 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:13: register-dns (2.4.9)

    Mon Dec 14 19:22:04 2020 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:14: block-outside-dns (2.4.9)

    Mon Dec 14 19:22:04 2020 TUN/TAP device tun0 opened

    Mon Dec 14 19:22:04 2020 /sbin/ip link set dev tun0 up mtu 1500

    Mon Dec 14 19:22:04 2020 /sbin/ip addr add dev tun0 10.135.230.71/23 broadcast 10.135.231.255

    Mon Dec 14 19:22:04 2020 /sbin/ip -6 addr add fd00:6968:6564:3f3:c11e:f368:8730:1610/64 dev tun0

    ip: RTNETLINK answers: File exists

    Mon Dec 14 19:22:04 2020 ERROR: Linux route add command failed: external program exited with error status: 2

    Mon Dec 14 19:22:04 2020 add_route_ipv6(::/3 -> fd00:6968:6564:3f3::1 metric -1) dev tun0

    Mon Dec 14 19:22:04 2020 add_route_ipv6(2000::/4 -> fd00:6968:6564:3f3::1 metric -1) dev tun0

    Mon Dec 14 19:22:04 2020 add_route_ipv6(3000::/4 -> fd00:6968:6564:3f3::1 metric -1) dev tun0

    Mon Dec 14 19:22:04 2020 add_route_ipv6(fc00::/7 -> fd00:6968:6564:3f3::1 metric -1) dev tun0

    Mon Dec 14 19:22:04 2020 Initialization Sequence Completed

  • Fr33z3be I've changed VPNSecure using the files you changed and the previous ovpn shared.

    You'll need to be on 6.4.2 which I've not pushed to the repo because of some annoying minor Matrix bugs I need to fix, but you can get here

    If it doesn't work, please share a log

    Hello Zomboided


    I tested the VPNSecure with the file (6.4.2) you provided, it gives an error. Error screen in attachment.

    Everything seems ok with the files but the template.txt is different then before.

    I added these files also in the attachements.


    If you need other Log-files please let me know and where to find them in folderstructure. Couldn't find the openvpn log anywhere?

  • Fr33z3be Sorry, forgot to add the line to tell the ovpn where to get the password from....fixed, go pick up the updated defs I've just pushed, you don't need to move to a new level of code, you're fine where you are.


    rav3k I've just checked the ovpn file you shared with me with the ovpn file in the log, and they're virtually identical (and don't differ in any way that causes an auth failure). Your next thing to try is to take the ovpn and use the User Defined wizard with the same id/password. Right now this just looks like an auth failure to me - do Windscribe expect you to use a different id/pass when using ovpn files? I can't remember.


    Alister The errors are the parameters being pushed back from your provider, and the program to update the IP table not updating the IP table (maybe because it's already updated, maybe because of a permission issue). It looks like it connects ok though. Why do you think this isn't working?

  • no connection is established

    when i do ip check still see my real external ip

    on the picture see connected

    but is not


    kodi.log

    2020-12-17 19:54:18.216 T:3505386368 NOTICE: VPN Mgr : (service.py) Starting VPN monitor service, platform is 2, version is 6.4.2

    2020-12-17 19:54:18.216 T:3505386368 NOTICE: VPN Mgr : (service.py) Kodi build is 18.9 (18.9.0) Git:83d50de59b0994207a583f27282617401f01f690

    2020-12-17 19:54:18.216 T:3505386368 NOTICE: VPN Mgr : (service.py) Addon path is /storage/.kodi/addons/service.vpn.manager/

    2020-12-17 19:54:18.793 T:3505386368 NOTICE: VPN Mgr : (service.py) New install, resetting the world

    2020-12-17 19:54:26.637 T:3505386368 NOTICE: VPN Mgr : (vpnplatform.py) Testing openvpn with : "/usr/sbin/openvpn" > /run/openvpn.log 2>&1 &

    2020-12-17 19:54:28.734 T:3505386368 NOTICE: VPN Mgr : (vpnplatform.py) Testing killall with : killall vpnmanagertest > /run/command_text.txt 2>&1 &

    2020-12-17 19:58:12.093 T:3505386368 NOTICE: VPN Mgr : (vpnplatform.py) Checking platform, found 2, linux2

    2020-12-17 19:58:15.166 T:3505386368 NOTICE: VPN Mgr : (vpnproviders.py) Checking downloaded ovpn files for HideMe with GitHub files

    2020-12-17 19:58:17.475 T:3505386368 NOTICE: VPN Mgr : (common.py) Creating VPN provider directory /storage/.kodi/addons/service.vpn.manager/HideMe

    2020-12-17 19:58:17.586 T:3505386368 NOTICE: VPN Mgr : (vpnproviders.py) Writing default up script

    2020-12-17 19:58:17.600 T:3505386368 NOTICE: VPN Mgr : (vpnproviders.py) Fixing default up.sh chmod +x /storage/.kodi/addons/service.vpn.manager/up.sh

    2020-12-17 19:58:17.607 T:3505386368 NOTICE: VPN Mgr : (vpnproviders.py) Generating OVPN files for HideMe using list

    2020-12-17 19:58:27.384 T:3505386368 NOTICE: VPN Mgr : (common.py) Received connection info from ipinfo.io, IP my external ip location xxxxx, CH, ISP AS21232 Genossenschaft GGA Maur

    2020-12-17 19:58:27.886 T:3505386368 NOTICE: VPN Mgr : (common.py) Connected to a VPN

    Profile is Amsterdam (UDP)

    Using my external ip, located in xxxxx, CH

    Service Provider is AS21232 Genossenschaft GGA Maur

    2020-12-17 19:58:49.093 T:3505386368 NOTICE: VPN Mgr : (service.py) Updating systemd, connect before boot is false, location is /storage/.kodi/addons/service.vpn.manager/HideMe/Amsterdam (UDP).ovpn

    2020-12-17 19:58:49.105 T:3505386368 NOTICE: VPN Mgr : (vpnplatform.py) Disabling systemd service with systemctl disable openvpn.service

    2020-12-17 19:59:23.487 T:4065542736 ERROR: Control 55 in window 10001 has been asked to focus, but it can't

    2020-12-17 19:59:27.483 T:3521770368 NOTICE: VPN Mgr : (common.py) Received connection info from ipinfo.io, IP my external ip location xxxx, CH, ISP AS21232 Genossenschaft GGA Maur

    2020-12-17 19:59:45.911 T:3477050240 NOTICE: VPN Mgr : (common.py) Creating VPN provider directory /storage/.kodi/addons/service.vpn.manager/HideMe

    2020-12-17 19:59:48.875 T:3477050240 NOTICE: VPN Mgr : (common.py) Received connection info from ipinfo.io, IP my external ip location xxxxx, CH, ISP AS21232 Genossenschaft GGA Maur

    2020-12-17 19:59:49.376 T:3477050240 NOTICE: VPN Mgr : (common.py) Connected to a VPN

    Profile is Bulgaria (UDP)

    Using my external ip, located in xxxxx, CH

    Service Provider is AS21232 Genossenschaft GGA Maur

    2020-12-17 20:00:01.098 T:4065542736 ERROR: Control 55 in window 10001 has been asked to focus, but it can't

    2020-12-17 20:00:26.476 T:3392500608 WARNING: CPythonInvoker(35): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

    2020-12-17 20:00:26.539 T:3392500608 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

    Error Type: <type 'exceptions.TypeError'>

    Error Contents: don't know how to handle UnicodeDecodeError in error callback

    Traceback (most recent call last):

    File "/storage/.kodi/addons/service.vpn.manager/logpopup.py", line 32, in <module>

    popupKodiLog()

    File "/storage/.kodi/addons/service.vpn.manager/libs/logbox.py", line 60, in popupKodiLog

    log_output = log_file.readlines()

    File "/usr/lib/python2.7/encodings/ascii.py", line 26, in decode

    TypeError: don't know how to handle UnicodeDecodeError in error callback

    -->End of Python script error report<--

    2020-12-17 20:00:34.935 T:3441988480 WARNING: CPythonInvoker(36): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

    2020-12-17 20:01:22.855 T:4065542736 ERROR: Control 55 in window 10001 has been asked to focus, but it can't

  • Post a full kodi log with VPN mgr settings/advanced/debug enabled on pastebin


    Please don’t fill the forums with this stuff and don’t edit the log unless you know what I’m looking for

  • Fr33z3be Sorry, forgot to add the line to tell the ovpn where to get the password from....fixed, go pick up the updated defs I've just pushed, you don't need to move to a new level of code, you're fine where you are.


    rav3k I've just checked the ovpn file you shared with me with the ovpn file in the log, and they're virtually identical (and don't differ in any way that causes an auth failure). Your next thing to try is to take the ovpn and use the User Defined wizard with the same id/password. Right now this just looks like an auth failure to me - do Windscribe expect you to use a different id/pass when using ovpn files? I can't remember.


    Alister The errors are the parameters being pushed back from your provider, and the program to update the IP table not updating the IP table (maybe because it's already updated, maybe because of a permission issue). It looks like it connects ok though. Why do you think this isn't working?

    I've made a user defined import wizard. Not working. I've downloaded connection config to warsaw udp.ovpn and sellected it, it ask me to enter cert password, ive entered my password - auth_failed. O M G. My password is 100% good.

  • rav3k You probably need to check out the trouble shooting on the wiki, use the command line to eliminate the add-on and see if you can get support from your VPN provider. I can't fix this - I'm just using the parameters that you've given me. If you learn anything new I'll be happy to look at it.

  • Fr33z3be Sorry, forgot to add the line to tell the ovpn where to get the password from....fixed, go pick up the updated defs I've just pushed, you don't need to move to a new level of code, you're fine where you are.


    rav3k I've just checked the ovpn file you shared with me with the ovpn file in the log, and they're virtually identical (and don't differ in any way that causes an auth failure). Your next thing to try is to take the ovpn and use the User Defined wizard with the same id/password. Right now this just looks like an auth failure to me - do Windscribe expect you to use a different id/pass when using ovpn files? I can't remember.


    Alister The errors are the parameters being pushed back from your provider, and the program to update the IP table not updating the IP table (maybe because it's already updated, maybe because of a permission issue). It looks like it connects ok though. Why do you think this isn't working?

    Hello, Where can i find the updated version? In the previous link?? Release 6.4.2 · Zomboided/service.vpn.manager · GitHub

    It says its updated 2 days ago?


    Sorry, i'm not familiar with github....

  • Fr33z3be you don’t need to upgrade, you’ve installed 6.4.2 already I think? The vpn definitions are updated separately

    Ok I will test it today. Keep you posted!! Thanks.

    ----------------------------------------------------------------------------------------------


    #Update on VPNSecure: I tested it and it works flawless :-)


    Thank you very much!!


    Will you merge it in to the other build? Or do i keep this version?

    Edited 2 times, last by Fr33z3be: Post update ().

  • Good news...you're good to stay on 6.4.2 or later as they get released.


    I'm not ready to push this out on the repo to everyone yet as it's still a bit beta (contains all the changes needed for Python 3)

  • @zomboided

    Kodi.log

    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.

    openvpn.log

    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.

  • I don't use CoreELEC, so I can't comment on how it (should) work. From the failed add command error, maybe this is a sudo issue - I don't know if CoreELEC requires you to use that or not, but there's an option to enable it within the GUI.


    The other issue I see here is maybe your DNS is not being refreshed. A lot of people have seen this issue, but for sure I've never understood why some people see it and not others.


    For both of these issues, there's a lot of detail on the wiki here 07. Advanced Options · Zomboided/service.vpn.manager Wiki · GitHub


    I'm also happy to look at a current ovpn file from hide.me if you want to get one. I can't see them as I'm not a member. See step 3 here How to Set Up A OpenVPN Command Line VPN on Linux (Ubuntu) | hide.me