

If you need help about this, you can check my step-by-step tutorial here.īefore going further, I would recommend checking that: The last step is to make sure Raspberry Pi OS is installed and configured correctly. The Raspberry Pi tutorial is available here if you are interested. I have this feature in my Internet router, so I just need to put my credentials in the interface and it’s done.īut even if you don’t have it in your router, you can install a script on your Raspberry Pi (or any other device) to do the same thing. You just need to have something on your network, that will update the IP address on NoIP regularly. This way, you can configure your VPN client with instead of your IP address. To avoid this, you can use a free service named NoIP, which provides a free hostname (like ) that redirects to your IP address, even after a change. If you are in this case, your VPN client will no longer work after the first change (or you will need to update the IP address each time). In my case, I’m not so lucky, so my IP address is replaced with a new one every day or so. Static or Dynamic?ĭepending on your Internet provider you may have a static IP address or not. You’ll only need this at the end of the tutorial, when configuring the OpenVPN client, but it’s an important prerequisite, especially if you have a dynamic IP address. OpenVPN is the software that will make this work on both sides.

The smartphone will connect to the Raspberry Pi through the Internet, and create a secured tunnel between the two devices, so that you can access any service on your home network. With a Raspberry Pi, we’ll generally use it to access a remote network from anywhere in the world.įor example, you can access your security camera or home automation web page from your smartphone while traveling. VPN stands for “Virtual Private Network”, and basically the idea is to merge two networks.įor example, companies can use this to have employees in two different sites, but using the same resources from the main building (like a file share for example). Just before the installation part, make sure you have everything ready.įor advanced users, you can probably skip this part, I just want to answer all the questions before going further. Grab your free PDF file with all the commands you need to know on Raspberry Pi!
