Tags: howto,vpn,l2tp
Date: 20230126
If for whatever reason you need a quick and dirty VPN server, this article is for you!
I'm using Debian in this example, but you can use any distro and just adjust the right paths and so on.Let's start! You can simply copy/paste the green on black commands.
1. Install the required package:
apt -y update; apt -y install xl2tpd # it will start automatically, so let's stop it for now: service xl2tpd stop |
# create a basic config file, modify the IP range to suit your needs
|
|
systemctl enable --now xl2tpd |
|