Sign inSign up

sysadmln/l2tp_without_ipsec

By sysadmln

Updated almost 4 years ago

l2tp server for all routers. Works with and without ipsec

Image
3

2.6K

sysadmln/l2tp_without_ipsec repository overview

How To Use

docker run -d --privileged -p 1701:1701/udp -p 500:500/udp -p 4500:4500/udp --name vpnmac --restart=always --env-file /root/vpn.env -v /lib/modules:/lib/modules:ro sysadmln/l2tp_without_ipsec:latest

File vpn.env

# Define your own values for these variables
# - DO NOT put "" or '' around values, or add space around =
# - DO NOT use these special characters within values: \ " '
VPN_IPSEC_PSK=bigpass
VPN_USER=geny
VPN_PASSWORD=Ee545682cbigpasseeho

# (Optional) Define additional VPN users
# - Uncomment and replace with your own values
# - Usernames and passwords must be separated by spaces
VPN_ADDL_USERS=art
VPN_ADDL_PASSWORDS=keivmpkdpkgsdNsdfLu9

# (Optional) Use alternative DNS servers
# - By default, clients are set to use Google Public DNS
# - Example below shows using Cloudflare's DNS service
VPN_DNS_SRV1=8.8.8.8
# VPN_DNS_SRV2=1.0.0.1

Tag summary

Content type

Image

Digest

sha256:be05c092a

Size

17.4 MB

Last updated

almost 4 years ago

docker pull sysadmln/l2tp_without_ipsec