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).
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
dev tun0
.