docker run vpn

https://dockerfile.in/vpn/

install

$ yum upgrade
$ yum install docker
$ service docker start

PPTP VPN

https://github.com/mobtitude/docker-vpn-pptp

docker run -d --privileged -p 1723:1723 -v {local_path_to_chap_secrets}:/etc/ppp/chap-secrets mobtitude/vpn-pptp

SoftEther VPN

https://github.com/siomiz/SoftEtherVPN

docker run -d --cap-add NET_ADMIN -p 500:500/udp -p 4500:4500/udp -p 1701:1701/tcp siomiz/softethervpn

example

docker run -d --cap-add NET_ADMIN -p 500:500/udp -p 4500:4500/udp -p 1701:1701/tcp -e USERNAME="aaa" -e PASSWORD="pass1234ABCD" siomiz/softethervpn