Sign inSign up

zenexas/openvpn-client-socks

By zenexas

•Updated 5 months ago

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

Image
0

1.2K

zenexas/openvpn-client-socks repository overview

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:/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

Dockerfile⁠

Tag summary

Content type

Image

Digest

sha256:440b1e294…

Size

17.2 MB

Last updated

5 months ago

docker pull zenexas/openvpn-client-socks