Member-only story

VPN server with Raspberry PI (IPSec / L2TP Raspbian)

Maciej
4 min readSep 18, 2020

--

Prerequisite

  • Raspberry PI with Raspbian installed
  • Windows machine (same network as Raspberry PI)

What can be achieved after successful configuration ?

  • Raspberry PI becomes VPN server (IPSec over L2TP compatible)
  • VPN connection is possible from Windows, Mac, iPhone, Android, etc.
  • User addition and path change are possible from Windows with GUI
  • SoftEther DDNS name can be used

Steps that we have to do

  1. Preparation of Raspberry
  2. Raspberry Pi initial settings
  3. IPSec VPN Server Settings with SoftEther VPN
  4. Router settings
  5. Firewall settings

1. Preparation of Raspberry Pi

Buy and prepare a Raspberry Pi! Those who use the initial model should be careful about power shortages such as wireless LAN adapters.

2. Raspberry Pi initial settings

The distribution uses Raspbian this time. Please download from the official page below and write the image to SD according to the setting manual.

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet