mook / docker-openvpn-client-socks

OpenVPN client tied to SOCKS proxy
MIT License
28 stars 87 forks source link

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