L2TP server with ms-chap-v2 authentication & MPPE encryption
2.5K
$ docker run -d --name l2tpserver --network host --privileged coffeeit/xl2tp_server
Server already pre configured to use this pairs of passwords. Choose in your client MS-CHAP authentication and MPPE encryption
| Username | Password |
|---|---|
| user1 | naHRZ7m7 |
| user2 | 13IFV1nF |
| user3 | z5nYNZwK |
| user4 | XXX6nvjK |
| user5 | xtyEKXxo |
| user6 | HjaNoHzC |
| user7 | DxDsCIRG |
| user8 | 9BPMJk2u |
| user9 | G3qtPkTl |
| user10 | TqTGfSfa |
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
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
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.
Content type
Image
Digest
Size
2.9 MB
Last updated
about 8 years ago
docker pull coffeeit/xl2tp_server