Setting up a VPN on the Raspberry Pi can be difficult. It normally involves using programs such as Putty, FileZilla and thermal to send commands, edit and send files.PIA for OpenElec is a great Addon which makes it very easy to setup a Raspberry Pi VPN.
As the name suggests, it uses PIA (Private Internet Access), and works on OpenElec. The Addon can be found within Superrepo, but the true home is in the Metalkettle repository. The Metalkettle repo can be added the same way as Superrepo. The file source you need to add is http://kodi.metalkettle.co instead of http://srp.nu. It can also be added the traditional way by using a ZIP file.
This method is no longer supported on OpenElec 6.0. Head over to the Setup VPN for OpenElec Addon page for the latest
For the best latest Add-on to use please head over to the VPN Manager page
Easy Raspberry Pi VPN setup – Step by Step
1. Once you have your log in details head over to www.privateinternetaccess.com and click on Client Support
2. Scroll down to “Go to CLIENT CONTROL PANEL“, click it and enter your username and password that was emailed to you and sign in
3. Under “PPTP/L2TP/SOCKS Username and Password”. There is a second User and Password. These are the ones that you will need to put into PIA for OpenElec. If there are not any, or you wish to change them, click on Regenerate Username and Password
4. Assuming you have added the Addon PIA for OpenElec, in Kodi go to programs and choose the Addon
5. Select Setup Private Internet Access
6. From the pop up select Continue
7. Enter the username from Step 3 and select Done
8. Another screen will appear where you input the password from step 3. Select Done
9. You will then get a message to confirm that it is all setup
10. Select OK, then choose OpenElec Settings. This can be found in the same menu but is also under programs. Move down to Connections and the available locations will populate. This will take several seconds. From here you can select the country you wish to tunnel the VPN through. The closer to you the place is the faster your connection should be
11. After choosing one. Select Connect
12. It will then connect and give you a new I.P address.
That’s all there is to it to settup your Raspberry Pi VPN. You will now have full access to every Addon. Taking away any Geo and IP block restrictions whilst at the same time being completely hidden. If you turn off your Raspberry Pi you will need to repeat steps 10 – 12 again. Enjoy.
Note: The PIA for OpenElec addon is currently not working with the latest version of Kodi Isengard. If you wish to continue using it, please stay on a earlier version such as Frodo or Gotham. There are other ways to get PIA to work in Kodi, but they are more complicated. I will inform you when the addon has been updated, or a fix is released.
Update 21/11/2015: A new version of PIA for OpenElec is now available called VPN for OpenElec and replaces the old one in MettleKettle’s repo. It works with the latest OpenElec 6 which uses Kodi 15.2 Isengard. If you have followed this guide, update OpenElec after and the addon should then also update. As well as PIA VPN there are also 2 others that can now be used. A full guide will follow soon, stay tuned.
Last Update: An updated page can be found by following the link at the top of the page.