This is still a work in progress, a successful connection has not been made.
- 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
- 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