Docker image of an OpenVPN client tied to a SOCKS proxy server.
1.2K
Docker image of an OpenVPN client tied to a SOCKS proxy server.
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:/etc/openvpn/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
Content type
Image
Digest
sha256:440b1e294…
Size
17.2 MB
Last updated
5 months ago
docker pull zenexas/openvpn-client-socks