Docker image to run an IPsec VPN server, with both IPsec/L2TP
and Cisco IPsec
.
Based on Alpine Linux with Libreswan (IPsec VPN software) and xl2tpd (L2TP daemon).
First, install and run Docker on your Linux server.
Get the trusted build from the Docker Hub registry:
docker pull raunsbaekdk/docker-ipsec-vpn-server
Steps:
git pull https://github.com/raunsbaekdk/docker-ipsec-vpn-server-tools
cd docker-ipsec-vpn-server-tools
chmod 755 *.sh
./adduser.sh user
echo "VPN_DNS_SRV1=8.8.8.8 VPN_DNS_SRV2=8.8.4.4" > etc/pre-up.sh
echo "nameserver 127.0.0.53" > etc/resolv.conf
./start.sh
Remember to change to your own DNS servers.
Copyright (C) 2016-2018 Lin Song
Based on the work of Thomas Sarlandie (Copyright 2012)
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License Attribution required: please include my name in any derivative and let me know how you have improved it!