philiiiiiipp / docker-openvpn-socks-proxy

OpenVPN client tied to SOCKS proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenVPN-client

This is a docker image of an OpenVPN client tied to a SOCKS proxy server. It is useful to isolate network changes (so the host is not affected by the modified routing).

Usage

Preferably, using start in this repository:

start client_config.ovpn

Alternatively, using docker run directly:

docker run -t -i --device=/dev/net/tun --cap-add=NET_ADMIN \
    --publish 127.0.0.1:1080:1080 \
    --volume client_config.ovpn:/ovpn.conf:ro \
    mook/openvpn-client-socks

OpenVPN Configuration Constraints

  • The configuration file must have embedded certificates; references to other files are not allowed.
  • The configuration file must use dev tun0.

About

OpenVPN client tied to SOCKS proxy

License:MIT License


Languages

Language:Shell 100.0%