You can use this docker-compose to have l2tp/ipsec VPN and Mtproto proxy for telegram.
-
Install docker and docker-compose.
-
Clone this repo
-
Enter your desired usernames and passwords in
vpn.env
file -
Run docker compose file:
$ docker-compose up -d
- Check logs to get IKEv2 connection information and Mtproto secret:
$ docker-compose logs
Note: For more information please visit these links: