Skip to main content
VPN Manager Logo

VPN Manager for Kodi – The Best Way

A VPN is becoming ever more essential. Whether it be for unlocking the full potential of the internet, or just to get the privacy that we all have the right to. Connecting to a VPN has not always been easy using certain hardware/software with Kodi. This is where VPN Manager for Kodi comes in to play. This addon created by Zomboided is a adaption, and inspired by one of MetalKettle’s addons, VPN for OpenElec.

VPN Manager for Kodi has many benefits over it’s predecessor. Namely the ease of the auto connect feature at boot up, and the many different VPN providers that it supports. Two of our favourites here at KodiPiGuide is PIA and IP Vanish. Both of these are supported and you can find the links on down the page to get you setup ready to use VPN Manager.

using VPN Manager you can even setup multiple VPN accounts at the same time, and have different ones run depending on what addon’s you are using.

VPN Manager Requirements

Current platforms supported are:

  • OpenElec (v5 onwards)
  • LibreElec (v7 onwards)
  • Linux (OSMC, Raspbian etc)
  • Windows (v7 onwards)

Android based systems are not currently supported.

VPN Manager relies on OpenVPN. OpenElec v7 onwards and LibreElec v5 onwards already include OpenVPN. If you have previous versions then you will need to install OpenVPN. This can be found in the Unofficial OpenElec repository which sits in the repository category of the official OpenElec repository. It can also be found in lrusak OpenElec Repo and also MetalKettle’s.

I would recommend just installing the latest OpenElec or any LibreElec which already include it.

For Windows users head over to

Linux users google your specific setup to know which commands to run to install.

VPN Choice

First if you have not already, you will need to sign up with a VPN provider. There are many different VPN providers. Some are better than others. The two which we would recommend are PIA (Private Internet Access), and IP Vanish. They are both competitively priced with good speeds. PIA is slightly cheaper but has less gateways. If you sign up for a year on either of these, then it works out cheaper in the long run.


IPV 160×235 (set 4)

VPN Manager – Repository

You will need to start of by downloading the Zomboided repository from his  Git hub page.

Once you have this you will need to put it on a shared network drive that your device can see, or put it on a USB drive and plug that into your device.

Once this is done install in the normal way by going to System > Add-ons > Install from ZIP file. Locate where the file is and select it. The repo will now be installed.

VPN Manager – Install and Configuration

1. Move over to System and click on Settings.

VPN Manager 1

2. Select Add-ons.

VPN Manager 2

3. Then Install from Repository.

VPN Manager 3

4. Next choose the Zomboided Add-on Repository.

VPN Manager 4

5. Then Services.

VPN Manager 5

6. Here you will find the VNP Manager for OpenVPN. Click this.

VPN Manager 6

7. And then Install.

VPN Manager 7

8. Once installed choose Configure.

VPN Manager 8

9. Under the tab VPN Configuration you will see Click here to update VPN settings. Click on this and then choose your VPN Provider in the next row.

You will then need to input your username and password.

If using PIA (Private Internet Access), then you will need to use the User/Password found in the members area under PPTP/L2TP/SOCKS Username and Password.

If using IP Vanish then you can log in with the User/password that you created when setting up your account.

VPN Manager 9

10. Now move over to VPN Connections on the tabs at the top.

VPN Manager 10

11. Here you will be presented with all the gateways from your chosen VPN provider. Choose the one that suits you. The closer they are the faster the connection will be in theory

VPN Manager 11

12. Next you should get confirmation that you are now connected with a new I.P address. Click on OK, and that should be all for a straight forward connection.

VPN Manager 12

The next time you boot up your device, it should remember the settings you have chosen and auto connect. You will not need to repeat any of the processes above.

You will find VPN Manager for OpenVPN a lot more reliable than VPN for OpenElec by MetalKettle. It is more in depth and connects at start up with no trouble at all. If you have any questions the leave a comment below.


110 thoughts on “VPN Manager for Kodi – The Best Way

    1. Not as far as I am aware. There is a app for Prirate Internet Access (PIA) on Andriod. I haven’t tested it yet to see if you can run it along side Kodi. I can’t see why it wouldn’t.

    1. That’s what I thought. Haven’t got round to trying it out yet, but guessed it would work. Thanks for the confirmation Marty.

  1. Please bear with me as I am brand new to Kodi and Pi…..

    I followed your guide above and everything seems to be running smoothly, until I get to the very last step. When trying to select my “First VPN connection” I am met by the following……

    “The OpenVPN executable isn’t working. Check the log, then from a command line prompt type ‘openvpn’ and fix any problems reported.”

    Would love any help you can provide.

    1. Hi Jason. What are you using on your Pi to run Kodi, and what version is it? It could be that the install has not got OpenVPN included. A fresh install would almost certainly correct this problem, but can be annoying if you have everything set up as you like.

    2. Jason –

      I was having the same issue but I followed the steps below and its working now.

      If there was an error saying: “The OpenVPN executable isn’t working. Check the log” then you are in the same place I was in.. but I HAVE THE SOLUTION!

      Exit out of kodi and let your Raspberry Pie load into EmulationStation. Once it is loaded, hit F4 on your keyboard and it will back you out to a command prompt style screen. Type these commands in EXACTLY:
      sudo apt-get update
      sudo apt-get install openvpn
      sudo apt-get install psmisc
      Load back into Kodi and it should work! You were missing the openVPN files so the kodi app couldn’t run.

      Now every time you open Kodi it should automatically reconnect you back into your VPN within the first 10-20 seconds. Enjoy watching your favorite shows and movies ‘anonymously’ and with more protection! 🙂

      This was for Raspberry Pi 3 with OSMC installed for Kodi

  2. Hi there, I installed VPN Manager with PIA. Movies are unwatchable, constantly stop and loose connection, crash .
    Changing PIA location dosen’t help . I have openELEC Kodi on a Raspberry pi3 .
    When I turn off VPN Manager everything works fine again.

    I have also Kodi on a Mac and PIA standalone app that works fine.

    1. The speed is normally slower through a VPN than your normal speed but you shouldn’t be having these problems. Try running a speed test to see what your actually getting. Are you using a wired connection of Wifi? The Pi 3 has a built in Wifi chip as you may well know, but wired will always be better especially if you are not in good range of your router.
      I once had a similar issue and it turned out to be the USB dongle for my wireless keyboard that was causing the problem. As yours works fine without the VPN then it may not be this unless you are getting a double dip in speed. One from your range and another from the VPN connection.
      Are you connecting to a VPN gateway that is far away from your location? This can make things slow also.
      I personally use a Pi3 with PIA and mine is generally fine. A few videos have buffered before but I have put that down to the source of the movie.
      It may be hassle but a clean reinstall may be you answer. Hope some of this helps. Keep us updated on how you get on.

  3. Hi Dan.. I installed this on a Firestick (using Hide My Ass VPN), but when I try to connect, it says that the “VPN Manager for OpenVPN is not currently supported on this hardware platform”. Can you advise? And if it’s really not, an alternative to load the VPN in Kodi?

    1. Firesticks run on Android which does not support OpenVPN. There is a method for PIA where there is an app for PIA on the Android market which can be set to run on boot up. I have not tested this on a Firestick, but have had a few users confirming that it works. I am not sure if Hide My Ass have a similar app?
      Another option would be to setup the VPN on your router if the router supports it.

  4. VPN manager says I’m connected to the Midwest server and shows a different external IP than what my IP is but my wifi connection in the openelec settings shows my real ip. I just want to make sure I am running through the VPN or is there something else I need to do. It’s installed on the pi 3 using private internet access.

    1. The one you are looking at in OpenElec is probably your internal IP address. By default these are normally like 192.168.0.x. These are not seen outside your network and many people use the same ones. Are you sure it’s your external I.P? Turn off your VPN on a computer and google “what is my IP address”, or do a speed test on This will give you your external IP address which is the same for all your devices behind your router. Then you can compare with what you are seeing in OpenElec. If it does start with 192.168 as described above then it is your internal IP address and no further checks are needed.

      1. I installed VPN Manager on openelec so I think the only thing running through the VPN is Kodi on my pi and not all my other computers. Is that correct? I’m sorry I’m new to VPN.

        1. Yes that is correct. I mentioned turning it off on a computer in case you had one running on there to ensure it showed you your true external IP.

  5. I’ve been using VPN Manager+IPVanish with LibreElec for several months with no issues. Recently I noticed my VPN is not connecting. When I manual open VPN Manager and attempt to connect to any connection location I get a “Error connecting to VPN”. I can connect to IPVanish on windows machine no problem. Any ideas?

    1. First of all I would look through the settings to find the option to reset the .ovpn files. Do a restart on see if that helps. Another option which could help is the “force block outside dns” under the debug tab. Uncheck this to see if that gets it going. Let us know how you get on.

  6. Hello, thank you so much for all those useful information. From I have learned here is that – If I use fire stick for Kodi, the only way I can get vpn to run on Kodi is to load the vpn on fire stick. 1. Turn on fire stick, 2. logon to vpn app, 3. switch back to fire stick and lunch Kodi app. Is this right? Because I am using fire stick so Openvpn and Openelec won’t work with any vpn installation. Is this right? I sure followed your instruction to load openvpn and openelec, and they are loaded with no problem; however, I have “VPN for OpenELEC error” when I clicked the “setup Private internet access” —-because fire stick OS is not compatible with OpenELEC, right?
    I finally loaded the zip file(VPN manager) from Apps2Fire to my ES file explorer on fire stick, but I don’t know how to get it to Kodi, would you show me how?

    Or, I only have one option to use vpn for kodi—that is to load on fire stick and use it like I mentioned above because I have fire stick? I signed up PIA just for kodi and there is no way to install it within kodi….right?
    please help!!!!

    1. You are correct. The method on this site will not work on a Fire Stick. You can not get OpenElec or LibreElec for the Fire Stick. It runs Android. I have not personally added a VPN to a Fire Stick, but have seen and heard in several places that it can be done. I think it depends on which generation Fire Stick you have. Here is a link to a setup on YouTube which you might find helpful. Some reports say you need to use something other than the remote to input in the PIA Android app, but don’t think that is the case on the video. . Let us know how you get on.

      1. Thank you very much for the link, I saw the video but didn’t pay attention to it before. BUT this time, I WATCHED it because you mentioned on your site. I was able to installed the PIA to fire stick this time successfully. Apps2Fire really work. I downloaded an app call “Web app tester” (free) from Amazon, to test the Ip address. So far it is working; however, I am not able to modify any setting in PIA because I haven’t received my bluetooth keyboard. So, it is working at this point, but I won’t use it until I can modify the setting in PIA. I will give you the feedback once I have updated the PIA setting. I have two vpns loaded on Fire stick and want to see which one deliver their promise. Again, thank you.

        1. Here is the review….
          Apps2Fire (free) from Amazon app works – loaded PIA, OPENVpn to Firestick and FireTV.
          app: Web AppTester (free) from Amazon app works – to check on IP address after logon to PIA on FireTV and Fire Stick.

          PIA VPN: It works on Fire Stick and masked the ISP’s real IP address in Kodi system, I check under system information and use addons to check IP, they all show masked IP. Works!!

          PIA VPN on Fire TV: As strange as it can be, it doesn’t work on Fire TV, not for Kodi. The internal IP 192.168.xx.x shows (assume it is assigned to Kodi) under system information and addons to check IP -with PIA VPN or without PIA VPN. The 192.168.xx.x doesn’t change or mask at all. It looks like Kodi doesn’t see PIA VPN or just doesn’t go thru PIA VPN at all.

          I have another VPN installed (has it for a long time) on Fire TV to try on it, again, 192.168.xx.x same result like PIA with or without VPN. However, “web app tester” shows masked IP when use but switch to Kodi it still doesn’t work.

          Use PIA because of the “kill switch” function and there are more option when comes to the app on android. I like my old VPN, but it doesn’t have “kill switch” function when installed on Fire stick or Fire TV.

          I wonder it is not which VPN I use, I think it could be the Fire TV system.
          So, could I pick on your smart brain on the 192.168.xx.x again? Also, what is your take on VPN router?

          1. Hi John, I have not set up a VPN on a fire stick yet. I have one so will try and do it and let you know how I get on. From what I have read some people are saying the Firestick needs to be rooted in order for the APK to work correctly. Other people dispute this. Apparently the Amazon Firestick Gen 2 work with the PIA APK. My understanding is that these are not available in the UK at present.

            As for a VPN router. These are a good idea. If you were to buy one you need to first check if the router is capable of setting up a VPN on it. Some have VPN functionality, but not the kind for tunnelling to VPN services.
            Some routers have the necessary function built straight into it such as a lot of the Asus ones. They are pricy, so my suggestion would be to get a different one (Unless you can afford it), and flash the firmware with DD WRT.

            DD WRT is a customised linux firmware that essentially unlocks your modem to do just about anything it can.

            If you go onto the DD WRT website you can check to see if the router you are getting is compatible. You might be in luck and your existing router is already compatible!
            Flashing the firmware is easier than it sounds. Most of the time this can be done through you routers standard firmware GUI, so do screwdrivers or cables needed.

            There are also a few other custom firmware sites you could look at such as Open WRT and Tomato.

            I will let you know what happens with the Firestick VPN setup once I have finished playing around with it. I will not try rooting it though.

          2. Thank you on the VPN router information. One of my VPN asking for extra $5 a month so I can have a dedicate IP on VPN router to surf “local internet” such as netflix, playstation vue or other local traffic. I will check on another VPN.

            By the way, VPN on Fire Stick works perfect! It is the “Fire TV Box” I am having the default IP under Kodi “system information”
            One thing though, on “Fire TV Box” the default IP shows with or without VPN, however, I did the speed test (kodi addons) the IP is MASKED when used VPN. So the speed test shows masked IP but not in system information when use VPN.

          3. Can you confirm which Firestick you own as mine was showing the same ip as my own under the PIA app. I do not own a Fire TV box so can’t help in that respect. Thanks for your input.

          4. Hello, the Fire stick I have is the Gen 2. On the PIA logon page (Fire stick) there are two IP showing – 1st is my real IP, the 2nd IP is the masked IP. The masked IP is showing in Kodi under “system information” once logon PIA.

            Although I just got the Fire TV Box (in December, 2016), but I believe all Fire TV boxes are 2015 version so far (don’t think there is a new version out) Maybe it is the fire tv box, how it processes the VPN app. Thank you very much for you help.

          5. Thank you. Mine is a Gen 1 as I live in the U.K. This backs up what others are saying about the fact it needs to be rooted. I have not heard of a refreshed Fire TV, but thought that a VPN would work on it. Maybe rooting it is the answer. Good luck. Hope you figure it out.

  7. Quick thing about PIA…I tried the method described here multiple times without success…kept telling me credentials were invalid when using the PIA PPTP/L2TP/SOCKS pw info found in the member area. I finally tried my main credentials (the same ones used inside of the main PIA apps) and it connected first try.

  8. Does anyone have an issues downloading VPN Manger from the repo? I doesn’t seem to want to download . It’s at 0 % then it fails .

    1. I have just tried it from scratch and all seems to be working now. The Haddon has recently been updated. Maybe it was temporarily unavailable.

  9. Dan,
    Is there a way to set up multiple networks thru the PIA VPN? I like to travel with my raspberry Pi3 and I run Kodi through Libreelec, when I try to use it at a friends house I cannot get any movies or shows to fully load. Any help you can provide is greatly appreciated.

  10. How drastic is the lower speed if you connect through a VPN?
    I use Kodi on a Raspberry Pi 3 (running OpenElec) with a cabled connection (200Mbps). But even then, sometimes, I get buffering issues when watching HD movies. I would not want to pay $7/month for a VPN if it means the speed becomes so slow that I can’t watch anything in HD anymore…

    Maybe off-topic: I read about solving the buffering problem but only when it is on a pc… My Raspberry only has Kodi on it so I have no clue as how to go to a website to download the advancedsettings.xml file they all speak about… Please note that I am completely new to this 🙂 I can work with a computer, I can program in MS-DOS, I can build simple websites using Dreamweaver, but this Raspberry thing is still a mystery to me 🙂

    1. The speed drop should not be to drastic especially if you connect to a location that is closer to you. Your 200Mbps speed is plenty. Id guess at around an average of 20% speed reduction but you should be able to stream easily on 20Mbps. Do you have other devices connected to you router that may be causing issues?

      Sometimes the problem lies at the source where you are streaming from. A good way to iron out these sites, and receive higher quality and reliable streams would be to sign for a service such as Real Debrid. Please see

      They offer some hours that you can try it for free. It is very cheap overall.
      You should be able to find some reliable streams without Real Debrid though, it just takes a few trys.

      Does the buffering happen all the time?

      With the raspberry Pi 3, you should not really need to change the advancedsettings.xml file. But saying that it could help if it is not caused by the other issues mentioned.
      An easy way to grab an already configured file is to add as a source under file manager in the front menu. You can then go to addons in the settings menu, install from ZIP and locate the newly added source. Here you will find the Indigo tool which you can install and then add the Easy advanced settings addon.

  11. I had an issue getting this working, I needed to create the file /run/openvpn.log and give the user kodi was running as write permission.

  12. Hi,
    I followed all these steps on a Raspberri Pi 3 with RetroPie. I installed openvpnas well as psmisc but for some reason I cannot validate the first , or any VPN connection using IP Vanish. It seems it is unable to pick up the VPN seranksvers from IPVanish to validate. Can you help on how to make this work?


  13. If the VPN reports a proper connection in the first position must filtering be configured to route traffic?
    The default setting in filtering shows no programs running through the VPN as I see it.
    Also, is there a way to verify the IP status while you are operating a program without going back in to the VPN manager?

  14. Hi Dan C
    Great work with the VPN Manager.

    I just upgraded my RPi2 to LibreELEC V. 8.0.0 running Kodi 17. I have successfully installed OpenVPN and VPN Manager through your Zombioded repo. I am running PIA through VPN Manager.

    As I start to configure VPN Manager, I start receiving the following text in the top right hand corner of the screen “VPN Manager for OpenVPN: Filtering but no valid connection available”. This text box continues to pop up every 30 seconds or so. Of note, I had a similar issue while running this through OpenElec and Kodi 15.2.

    Have you come across this issue? And I am wondering if anyone else has encountered the same problem and, if so, whether there is a fix. Or maybe it is a PIA issue?

    Thank you in advance for any support you can offer.


  15. Hello,
    I had VPN Manager running on my RPi2 with no issues for quite awhile. Not sure what happened, but at some point my SD card dumped and I had to reconfigure my system. Since then, I have been unable to get VPN Manager to load again.
    I have tried loading both from Repository and from the .zip file. I even tried using older versions to see if there was some incompatibility. Every time I try, it gets stuck at the ‘downloading addon 0%’ for a few minutes until it times out with a failure message.
    Any ideas?

  16. FYI, I was seeing an Add-on Error right after adding my PIA userid and password. Turned out it was that I had the wrong time zone configured on the LibreELEC 7 install (also tried LibreELEC 8). Once set in System > Appearance > International, the error disappeared and VPN Manager was able to scan for a list of VPN endpoints.

  17. FYI, I was seeing an Add-on Error right after adding my PIA userid and password. Turned out it was that I had the wrong time zone configured on the LibreELEC 7 install (also tried LibreELEC 8). Once set in System > Appearance > International, the error disappeared and VPN Manager was able to scan for a list of VPN endpoints.

  18. I have converted from LibreElec 8.0.0 (Kodi 17.0) to LibreElec 8.01 (Kodi 17.1) on my rbpi2. Now my VPN Manager for OpenVPN no longer works. I try to validate a primary vpn connection and all I get are the following two options: 1. Switch between location and server views, or 2. Cancel connection attempt. I click on #1 and nothing happens. Push on cancel and…well…nothing…vpn connection cancelled.

    I have a PIA account and have even regenerated new username and passwords…makes no difference. Everything worked great with Kodi 17.0.

    Is anyone experiencing the same problem? Have any suggestions? I am fairly new to all this so if I have not provided all the pertinent information please let me know.

    Thanks in advance.

      1. Hi Dan…thanks for response. I did try that and no change. The only thing I haven’t done (based on my current knowledge of options) is do a factory reset and reinstall everything.

          1. Hi Matt,
            See my update, below, as well as Dan’ follow-up. Dan’s idea is a good one if you know where to look for the potentially problem file that may be lingering and causing the issue. My Kodi build wasn’t too extensive so was fine with wiping everything clean and starting over. I reinstalled both OpenVPN and VPN Manager (not just OpenVPN).

            Let us know how you’re making out.

          2. Just a note. LibreElec and later versions of OpenElec include OpenVPN. No need for a separate install. Could this be the overall issue I wonder?

        1. I wiped Kodi clean and started fresh with a new Krypton 17.1. I reinstalled all the applicable files through Indigo and zomboided repository. So far, things are working. Of note, you may need to reboot Kodi upon installing and executing VPN Manager to ensure the validated VPN connection(s) are stable.

          1. Glad you have got it working. I was wondering if when the addon is just uninstalled if it leaves a folder behind with settings etc in. If so maybe finding the folder and deleting that before reinstalling will work. Be interesting to try it I come up against the same problem. Thanks for the update.

  19. Hi Dan – installed openvpn and the VPN manager addon. I’ve got a VPNunlimited account, set up works fine however once I choose a server it is asking me to locate a .ovpn file (something about user keys). Any ideas what I need to do to get past this step?

    1. Hi John. I have not used VPNunlimited before. Some VPN’s require a bit of a more manual process to set up over Ines like PIA and IP Vanish.
      You should be able to download the required files from the VPNunlimited members area. You then have to put the files somewhere Kodi can see them, then point VPN manager to them.
      Please refer to Zomboided’s GitHub page under User or Client Keys and Certificates, for a fuller explanation:

  20. Hi Dan, I am running librelec krypton kodi on my raspberry pi. I have IPVanishVPN running on “vpn manager for openvpn” addon which appears to be working. I.e. It’s status has a an IP address in a different country. My problem is when I click on Kodi system information, network settings, it shows my original IP address. How can I check if I’m streaming something that the vpn is running in the background.
    Incidentally when I click on the “openvp” addon it says “this is a console only addon”. Is openvpn manager only used to get openvpn to work properly.
    Basically how can I tell if my raspberry Po Kodi VPN is working properly.

    1. Hi, it is normal for it to say “this is a console only addon” when you click on the OpenVPN addon.

      As for the I.P address issue. A VPN changes your external I.P address. When you are looking in the Kodi system info, you are seeing your internal networks I.P addresses such as 192.168.0.x these are the I.P address your router assigns to each device connected to it. These will not change by using a VPN but are only visible to you private network.

      Do a google search for what is my IP address on a tablet or laptop etc without a VPN on and it will give you you external I.P. This is the one the a VPN changes.

      If in VPN manager it says a different one to this and the location you have chosen then the VPN is working.

      Certain addons do not work as well without a VPN on some internet providers. To rest your mind you Coolidge compare the sites it’s using for example on a streaming addon such as 1channel.

  21. Anyone having an issue since 17.1 update where vpnmanager hangs on the ‘Connected, checking location info.’ dialogue? Ive uninstalled both open VPN and VPN manager and still can’t get it to connect!

  22. Hi Dan

    Great guide. Is it necessary to assign each add-on to a VPN in the connection filtering settings? If nothing is assigned in here I would assume that ALL add-ons would be going through the VPN route. Is this correct?

    1. Hi TB,

      If you do not use filtering then the VPN will be active on all addons.
      Filtering can be used to only use a VPN on specific addons, or switch between different VPN’s dependent on which addon is being used.

      1. Thanks. The reason I ask is that I have set up the VPN using PIA and originally had some problems establishing a connection. I got round this by deactivating the “Web Safe” functionality provided by my ISP (Virgin Media) and everything seemed to work fine and I could see a lot of content through add-ons.

        Since then I have added the PIA domain to the allowed websites within Web Safe and reactivated it which again seems to work ok for establishing the VPN connection. I have validated this through the VPN Manager ‘show VPN’ option. However the amount of content available through the add-on is significantly reduced when in this state. I can only think this is because the ISP is able to filter out certain sources of content through Web Safe but I can’t understand how this is possible if the add-on is using the VPN connection to PIA.

        It seems like although the VPN is established on VPN Manager at launch (with all the appropriate notifications etc popping up) the add-on is connecting without using the VPN. Is this even possible? I do not have any includes or excludes shown in the connection filtering section for any add-ons.

        My Kodi build is from Retropie. Is it possible this is creating some sort of issue? My intention is to do a clean OpenElec install but wanted to understand what might be going on in more detail.

        1. I feel bad for your lengthy post in that I only have a short answer. I have not tested this so can not give a definitive answer.

          I to use Virgin but have the websafe turned off. Web Safe is doing the opposite to what part of a VPN does, in that a VPN is to open up all blocked sites. Where as websafe is the opposite.

          I am puzzled by your results. I would turn Web Safe off, but can understand you may not want to due to children seeing things they should not etc.

  23. Hi again Dan. I’ve followed your guide to the letter and everything seems to work perfectly. I have a couple more questions – just for my knowledge really.

    1 – why don’t we use the standard PIA log in? Both seem to work ok but I wondered if this made any fundamental difference to the way the VPN works.

    2 – does this configuration mean a kill switch is active? i.e. If the VPN goes down for any reason does the internet connection stop or would it switch to a non-VPN route?

    Thanks again

    1. Hi TB,

      Glad it’s all working ok for you.

      1. At first it was only possible to use the PPTP/L2TP/SOCKS Username and Password. Now both work. I can not see that there would be any difference in the way that PIA VPN is logged in to the way VPN manager would function.

      2. A VPN kill switch is on the current future list for the Addon developer Zomboided to implement.

  24. Quick question. Im using Kodi 17.4 and I’m running IPVanish. Under “System Info” on Kodi it still shows my original IP address even though and Whats My IP show something totally different. Is it safe to stream on Kodi even though it still shows original IP?

    1. Hi Jeff. What you are seeing is probably your internal I.P address. Does it look like 192.168.0.x. Your internal address is only visible inside your network. What a VPN does is change your external I.P address. From what and What’s my IP are showing. I would say all is running fine.

  25. Hi Dan,

    I would like to use your addon a bit different. I already have an ovpn file (and the files mentioned there in) from a VPN provider (not listed in your addon) and use that as configuration file for openvpn. I start the service from the commandline (kodi on the raspberry) and check if it works, also on the commandline, with ifconfig. I would like to use your addon instead (because it is more user friendly). As I understand it, your addon makes an ovpn file and then runs openvpn with that file. Is it possible to tweek your addon so that it can use my ovpn file and can check the connection as well?

  26. Hi Dan,

    yesterday I posted a question. Today I can not find the question anymore. Maybe you found it a silly question which it was because I found the answer myself: use User-defined as VPN.

    But after this became clear to me I still had trouble to get it working (maybe because I am no openvpn guru). When I use the import wizzard I expect the filepaths (in the imported ovpn file) to be modified to the paths of the copied files (like ca.crt). That appeared not to be the case. (I read the github wiki for VPNmanager)

    Furthermore you might expect that a configuration that works on the commandline (like openvpn –config …) will almost immediately run when imported by your addon. I still have to find out what was wrong but in the log file a unsuccesfull copy is mentioned. Also something with crt files (I think).

    I also don’t understand why there are two places where the openvpn files are stored: in the userdata tree and in the addon tree. Could you explain why?

    B.T.W. I am very glad that it is working now! Thanks very much.

    1. Hi Rocus, comments have to be approved before they appear on the site. Otherwise it could be prone to spam.

      I am not the developer of the addon. That would be Zomboided who appears on the GitHub Wiki you have mentioned. On GitHub there is a very detailed description how to set things up more manually as you have seen. Zomboided would be your best bet for answers as I have not gone through the process mentioned.

      Hope you find a full solution, and please share! Glad you have it working.

  27. Hi Dan,
    I have some problems setting up OpenVPN using ExpressVPN. Can you give me some more informations would exactly I have to do. I use the Setup wizard by choosing ExpressVPN as my VPN Provider, entered username and password and pointed to ca.crt and ca.key files. All I get is an error message that a VPN connection could not be established.
    Can you give me some addtitional informations regarding ExpressVPN. Their support is unabel to help me because they don’t know the OpenVPN Manager for openelec/kodi.
    Thanks a lot and best regards, Thomas

    1. That should be ok with that setup. ExpressVPN is in the list of tested and passed on the developers website.
      I have not been able to test ExpressVPN personally.
      The ones I have tested I didn’t need to put the cert files anywhere manually. Have you tried it without them?

      1. Hi Dan,
        I will try to do the setup without downloading the cert files. Will give a reply before the weekend.
        Thank you!

        1. Hi Dan,
          sorry, bad news. I tried to setup ExpressVPN within OpenVPN Manger. But each time when I choose ExpressVPN as VPN Provider I am asked to point to a directory or drive where the *.key and *.crt or *.ovpn are stored. No chance not to select them. And each time I get an error message. This is the Log file starting with the last non-error line:
          VERIFY ERROR OK:depth=1, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=ExpressVPN CA,
          VERIFY ERROR: depth=0, error=format error in certicicate’s notAfter field: C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-382-1a,
          OpenSSL:error:14090086:SSLroutines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
          TLS_ERROR: BIO read tls_read_plaintext errorTLS error: TLSobject -> incoming plaintext read error
          TLS_Error: TLS handshake failed
          SIGUSR1[soft,tls-error]received, process restarting
          Any ideas??
          Regards, Thomas

          1. I am getting the same using Zomboided VPN Manager for OpenVPN on Kodi 17.3 Pi 3 OpenElec. I’ve tried ExpressVPN opvn file and client.crt/key files. I had no issues using ExpressVPN app on Raspbian before. I’ll see what I can figure out on OpenElec.

      2. Hi Dan, I have the same problem with express vpn. I have placed the cert and ovpn files in the appropriate kodi directory and get to the point of selecting a server but the system will not connect and the log has the same tls error lines. Any thoughts. I am running libreelec on a rpi3?

  28. I am running kodi 17 under windows 10. I use Spanish as my vpn service and their client connects without error. When I try with vpn manager to establish first connection I get a consistent error of it not being able to access the config file. How do I get past this.

  29. I can’t get this to work for the life of me with ipvanish. I am using the absolute latest version of Kodi (it was updated 10 Aug 2017) and openvpn. I don’t know if my problem is with the add-on or open vpn, but I can’t get the first connection to work. It seems to be looking for a custom config file based on ipvanish server location. It either never finds this file or can’t access itf for some reason. I am running Windows 10. I could really use some help here.

      1. I’m confused, at the top of the article it says “Windows (v7 onwards)” is supported, but after following the article’s steps and installed OpenVPN & addon, I get the same error of it not being able to access the config file, as posted by Jim above.

        What is this the top of the article referring to? Thanks
        VPN Manager Requirements
        Current platforms supported are:

        OpenElec (v5 onwards)
        LibreElec (v7 onwards)
        Linux (OSMC, Raspbian etc)
        Windows (v7 onwards)

  30. Hi Dan, will this work on my MXQ box running OPENELEC 5.95.5/Kodi Isengard 15.2 under Linux?
    I have spent hours trying to find a vpn solution that works. If so, is IPvznish the best provider?
    Thanks. David

    1. Yes it should be fine. OpenElec/LibreElec is the key element to the addon working. IP vanish has more gateways than PIA but is slightly me money. Speed wise you will probably not recognise a difference.

  31. I keep getting an install error when trying to download zamboided from zip fil on kodi, libre elec… was hoping to get my vpn installed

    1. VPN manager will only work on OpenElec, LibreElec, Linux (Raspbian) and Windows using OpenVPN. There are ways to add it on to Andriod boxes but have not tested it myself at present. As for Windows 10, you just need the software for IP Vanish installed from their site, and it runs in the background.

  32. Hi Dan

    Hope you’re well.

    I’m on Kodi 17.4 with underlying Raspbian OS on my Raspberry Pi 3.

    I exited Kodi, then I ssh to Raspberry Pi 3 IP address:
    sudo apt-get update
    sudo apt-get install openvpn
    sudo apt-get install psmisc

    But the VPN Manager for OpenVPN was still not working. In my case, would I have to directly ssh Kodi? If so what default password would I use (I’ve tried kodi and raspberry)?

    Many thanks.

      1. Hi Dan

        Thanks for your response.

        OpenELEC and LibreELEC (of which I am a fan of), are useless with all due respect in a hotel Wifi set up which requires logging in to a web page. But I’m not blaming you! I was just hoping my workaround would work, as I haven’t seen any VPN retailers provide software that isn’t a fork of Brian Hornsby’s excellent code or provide a convenient VPN client for Linux/Raspbian.

        I have seen some other vague plentiful SSH commands to initiate OpenVPN in Raspbian but they are too complex for me, especially as all functionality is tied in to SSH. Do you have any further thoughts which could point me in a better direction please?

        Many thanks.

  33. I have the same problem as others with the error saying: “The OpenVPN executable isn’t working. Check the log”.

    I am very much a beginner with raspberry pi. I got it already with Kodi installed. So I have no idea how to exit out of kodi and let my Raspberry Pi 3 load into EmulationStation.

    Can anyone help me with my problem? Thanks!

    1. Hi Jane. Need a few more details. What were the details when you brought it. Has it defiantly got EmulationStaion on it. VPN Manager only works with certain OS’s such as LibreElec and OpenElec plus Windows.

  34. Hi Dan,

    I installed VPN Manager for OpenVPN on my pi and it is working just fine. However I am Wondering if it’s possible to assign a specific server in a country as one of my primary VPN connections. On my iPad I use a specific NordVPN server in the UK to access the BBC (it seems only 2 NordVPN UK servers work with BBC). On Kodi, the randomly selected UK server I tested gives me the following message “BBC iPlayer TV programmes are available to play in the UK only”.

    Any thoughts? Hoping you can let me know.

    Many thanks.

Leave a Reply to Steve Richter Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.