https://github.com/zgldh/docker-openvpn-socket-proxy
A docker solution to export an openvpn client as a socket5 proxy.
https://github.com/zgldh/docker-openvpn-socket-proxy
Last synced: about 2 months ago
JSON representation
A docker solution to export an openvpn client as a socket5 proxy.
- Host: GitHub
- URL: https://github.com/zgldh/docker-openvpn-socket-proxy
- Owner: zgldh
- Created: 2020-10-24T10:14:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-26T07:36:27.000Z (over 5 years ago)
- Last Synced: 2025-10-29T08:29:51.211Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-openvpn-socket-proxy
A docker solution to export an openvpn client as a socket5 proxy.
## Made with:
- https://github.com/dperson/openvpn-client (The openvpn launcher code)
- https://github.com/kizzx2/docker-openvpn-client-socks (The sockd launcher code)
## Usage:
```
git pull
cd docker-openvpn-socket-proxy
cp your-openvpn-cfg.ovpn ./vpn/vpn.ovpn
# If your openvpn server requires user/pass auth
cp .env.example .env
# And setup your openvpn username and password.
vim .env
# Else please remove the VPN_AUTH line from the docker-compose.yml
# Finally up the container
docker-compose up
```
After the container is running, you can use any proxy tools (Mellow, SwitchyOmega and so on) to connect to the socket server `socks://127.0.0.1:1080`