Skip to content

A docker solution to export an openvpn client as a socket5 proxy.

Notifications You must be signed in to change notification settings

zgldh/docker-openvpn-socket-proxy

Repository files navigation

docker-openvpn-socket-proxy

A docker solution to export an openvpn client as a socket5 proxy.

Made with:

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

About

A docker solution to export an openvpn client as a socket5 proxy.

Resources

Stars

Watchers

Forks

Packages

No packages published