Last active
May 9, 2018 12:41
-
-
Save itsmepetrov/6aaba0b83e0866bf245f3d689a0bfd62 to your computer and use it in GitHub Desktop.
Docker Compose VPN and Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
vpn: | |
image: hwdsl2/ipsec-vpn-server | |
privileged: true | |
restart: always | |
volumes: | |
- /lib/modules:/lib/modules:ro | |
ports: | |
- 500:500/udp | |
- 4500:4500/udp | |
environment: | |
- VPN_IPSEC_PSK=your_secret | |
- VPN_USER=your_user | |
- VPN_PASSWORD=your_password | |
proxy: | |
image: dijedodol/simple-socks5-server | |
restart: always | |
ports: | |
- '1080:1080' | |
environment: | |
- SSS_USERNAME=your_user | |
- SSS_PASSWORD=your_password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment