- Notifications
You must be signed in to change notification settings - Fork1
Tan4ek/socks5-vpn-docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is just a combination ofdante anddockvpnDocker compose socks5 and vpn server
There are default ports in a file 'docker-compose' - 1088/tcp, 1194/udp, 443/tcp for OpenVPN, 8088/tcp, 9443/tcp/udp (actualy I don't know udp or tcp and I opened them all) for MTProto proxy - which must be opened
- First of all, you need to open ports which defined in a file 'docker-compose'
- Install docker, docker-compose
- git clone this repository
- for configuration openvpn followthis instraction
docker-compose up -d
For checking socks5curl -x socks5h://suck-rkn:telegram@127.0.0.1:1088 https://www.youtube.com
Indocker-compse defineSOCKS_USERNAME
,SOCKS_PASSWORD
for SOCKS5 proxy.sockd.conf
have all configuration for dante-server (SOCKS5)
You should generate some random 32 hex strings (for example here) and define them inconfig_mtproxy_server.py.After docker container up you could read secret keys fromdocker-compose logs mtproxy
and find a line liketg: YYY.....
YYY is your key for a mtproxy