Skip to content

Docker image of an OpenVPN client tied to a SOCKS proxy server.

License

Notifications You must be signed in to change notification settings

baby9/ovpn2socks-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image of an OpenVPN client tied to a SOCKS proxy server.

Usage

Replace your openvpn config file path in /openvpn/directory/config.ovpn

Input username and password if your openvpn config require auth

docker run -d \
  --restart=unless-stopped \
  --name=ovpn2socks \
  --cap-add=NET_ADMIN \
  --device=/dev/net/tun \
  -e AUTH_USER="" \
  -e AUTH_PASS="" \
  -p 1080:1080 \
  -v /openvpn/directory/config.ovpn:/ovpn.conf:ro \
  zenexas/openvpn-client-socks

SOCKS5 proxy server will be listening at port 1080.



Connect to your socks5 proxy. For example:

curl -s -x socks5://127.0.0.1:1080 https://ipinfo.io

About

Docker image of an OpenVPN client tied to a SOCKS proxy server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published