This is the first of a series of posts on how I set up a Raspberry Pi 2 Model B running OSMC to operate as an OpenVPN server.
I found a number of tutorials on setting up OpenVPN on the Pi running Raspian but there are some subtle differences if you are using OSMC.
Update: This tutorial also works with Raspian installed as your PI operating system. I currently have a PI running as a web cam (MotionEye) and OpenVPN server which I set up using these instructions (there’s a couple of places where a path may be different so I will update this tutorial at some point to identify the differences but they should be fairly obvious to most).
Setting up your Pi as an OpenVPN server allows you to securely connect to your home network with your phone/tablet/laptop when you are out and about. This means you can access the internet from your device as if you were at home i.e. with the same level of security and the same location (useful if you are abroad so you can access content which may be restricted to your home country).
This is NOT about setting up your Pi as a VPN client connecting to an external VPN server provider.