Docker L2TP / IPSec VPN server
This is still a work in progress, a successful connection has not been made.
Current Work
- Setup Docker using https://docs.docker.io/en/latest/installation/ubuntulinux/ on EC2 12.04 Ubuntu
- Using Dockerfile to setup and configure VPN container
- Run command modifies config files to add container's ip address
Relevant Commands
- sudo ufw allow 22; sudo ufw allow 4500; sudo ufw allow 500; sudo ufw enable;
- Open all TCP & UDP connections on EC2 Security group
- docker build -t vpn .
- docker run -privileged -p 500:500/udp -p 4500:4500/udp -v /lib/modules:/lib/modules vpn
References for setting up L2TP / IPSec VPN