-
Notifications
You must be signed in to change notification settings - Fork 80
01. Installation
To install VPN Manager, either install my Kodi repository which will allow the add-on to auto update, or install the add-on directly. On some platforms you may also need to install openvpn as well.
By default Kodi will not allow the installation of add-ons from unknown sources, preferring to limit the add-ons used to those from the official repos. In order to use this add-on, you have to enable "Unknown Sources" in the Settings/System/Add-ons menu. A scary warning message will appear when you enable this option. If you don't accept it, you'll not be able to install this add-on. This add-on will not gather any information on your system.
- Download and save the repository here : Repository
- Install it via Systems/Addons/Install from zip (you can put the repository zip on a network attached drive or USB key)
- Then install VPN Manager via Systems/Addons/Install from repository/Zomboided Addon repository
- Auto updates from the repository are advised. However during an update the add-on will be unavailable/unpredictable for less than a minute.
- Download and save the latest version here : Addon
- Install it via System/Addons/Install from zip file (you can put the add-on zip on a network attached drive or USB key)
- Installation should take less than a minute. A notification will be displayed when the add-on is ready to use.
LibreELEC and OpenELEC 7 and later come with openvpn already installed. For these platforms, you just need to install the add-on. For other platforms, see the appropriate section below.
In order to run on other Linux platforms, openvpn must be installed in /user/sbin and killall must also available. You'll need to work out how to fix this for your particular Linux install, but some of these commands below maybe helpful (such as for OSMC). If you're unsure, go use google:
sudo apt-get update
sudo apt-get install openvpn
sudo apt-get install psmisc
For all non LE/OE Linux platforms, sudo is also used with the openvpn and killall commands. If this is not required, there's an option in Settings/Advanced to force this off. If you need to use sudo, then the openvpn, killall and pidof commands must all be executable without requiring a password, which you can google for how to set this up.
For Linux installs where openvpn is not installed in /usr/sbin/, you should define the path using the openvpn path option in Settings/Advanced. Alternatively put the directory on the class path and use the no path option.
On all Linux platforms the openvpn log is always written to /run
to minimize writes to the physical storage. If you see an error in the log which suggests openvpn was run but the log was not found, then it could be that you have issues with permissions on the /run directory. You can fix this by changing the permissions or you can use the option in Settings/Advanced to force the openvpn log to be written to the Kodi log location.
If you have other software installed also controlling the VPN, this may cause a conflict. You should decide if you want to manage the VPN outside of the Kodi environment or not.
Download the openvpn install package from openvpn.net and install it. The add-on will assume that it's installed in c:\Program Files\OpenVPN\bin\
. For installs where openvpn is installed elsewhere, you should define the path using the openvpn path option in Settings/Advanced. Alternatively add the directory to the path environmental variable and use the no path option.
When you run Kodi, you must run it as administrator (otherwise updating the routing table will fail during VPN connection). You can change the properties of the Kodi executable to always run it as administrator.
If you have other software installed also controlling the VPN (including packages provided by your VPN provider), this may cause a conflict. You should decide if you want to manage the VPN outside of the Kodi environment or not.