The Slog A development blog by Liam Siira

Setting up a VPN

Introduction

Not only do some countries monitor and block users from accessing a variety of content and services, several services such as Netflix, Amazon, and Hulu have region locked content, while some websites completely block access from some foreign countries. Most people will pay a VPN provider to help with this issue, allowing them to circumvent the firewalls / rules between them and their desired show. This guide is designed to walk you through setting up a free private VPN on a common consumer router that will be placed in the other country.

We're going to utilizing a RaspverryPI as your VPN server, while also using a secondary router to funnel all your local traffic (Phone, Laptop, SmartTV) through your VPN Server (RaspberryPI). The Raspberry PI will be left in the states to act as a proxy for all your traffic, preferably somewhere with a large upload/download bandwidth and high speeds. As this PI will essentially be a middle man between your local router and the real internet.

The Router You Carry

The Router You Leave

The router you leave will be a RaspberryPi, any version will do but the 4 is preferred as it as a faster ethernet connection. The idea is that the RaspberryPi will act as a decryption service for your encrypted traffic, which it will then hand off to your regular router to send out to the Internet.

Bridging the Gap

Now we have a router than encrypts and transmits your local traffic, and a router that can decrypt and broadcast that traffic. What we need to do now is bridge the gap between them and create the VPN tunnel. What we're going to do is tell your local router to connect to your regular home router for all VPN traffic, then we tell your home router to pass all the encrypted traffic back into your RaspberryPi.

First, let's find out what your home routers Public IP Address is. While connected to your home internet

References

A list of my references for how I wrote this tutorial

Back to List