Sign inSign up

coffeeit/xl2tp_server

By coffeeit

Updated about 8 years ago

L2TP server with ms-chap-v2 authentication & MPPE encryption

Image
3

2.5K

coffeeit/xl2tp_server repository overview

Fast use:

Launch container
$ docker run -d --name l2tpserver --network host --privileged coffeeit/xl2tp_server
Clients

Server already pre configured to use this pairs of passwords. Choose in your client MS-CHAP authentication and MPPE encryption

UsernamePassword
user1naHRZ7m7
user213IFV1nF
user3z5nYNZwK
user4XXX6nvjK
user5xtyEKXxo
user6HjaNoHzC
user7DxDsCIRG
user89BPMJk2u
user9G3qtPkTl
user10TqTGfSfa

Custom settings

Replace USERNAME and PASSWORD from your:

$ echo "USERNAME * PASSWORD *" > chap-secrets
$ # If you need more than one users
$ echo "USERNAME * PASSWORD *" >> chap-secrets
$ docker run -d --name l2tpserver --privileged --network host \
-v {local_path_to_chap-secrets}:/etc/ppp/chap-secrets coffeeit/xl2tp_server
Connection without MPPE ( INSECURE )

Use the coffeeit/xl2tp_server:nomppe tag to avoid using encryption

$ docker run -d --name l2tpserver --privileged --network host \
-v {local_path_to_chap-secrets}:/etc/ppp/chap-secrets coffeeit/xl2tp_server:nomppe
Start the container automatically

If you want to use this container as part of your permanent infrastructure, you should set it to restart automatically when Docker restarts or if it exits. This example uses the --restart=always flag to set a restart policy for the container.

Tag summary

Content type

Image

Digest

Size

2.9 MB

Last updated

about 8 years ago

docker pull coffeeit/xl2tp_server