Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 704 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 704 Bytes

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.