Skip to content

morristech/docker-l2tpipsec-vpn

 
 

Repository files navigation

Docker L2TP / IPSec VPN server

This is still a work in progress, a successful connection has not been made.

Current Work

  1. Setup Docker using https://docs.docker.io/en/latest/installation/ubuntulinux/ on EC2 12.04 Ubuntu
  2. Using Dockerfile to setup and configure VPN container
  3. Run command modifies config files to add container's ip address

Relevant Commands

  1. sudo ufw allow 22; sudo ufw allow 4500; sudo ufw allow 500; sudo ufw enable;
  2. Open all TCP & UDP connections on EC2 Security group
  3. docker build -t vpn .
  4. docker run -privileged -p 500:500/udp -p 4500:4500/udp -v /lib/modules:/lib/modules vpn

References for setting up L2TP / IPSec VPN

About

WIP: Setup a L2TP / IPSec VPN server using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 53.4%
  • Shell 46.6%