This will start a openvpn client and start a squid proxy for that vpn Vpn server.
Vpn server was vpnbook.com.
You can use this if you want to access websites that is block in your firewall
Tested in OSX 10.12.x
-
Run the docker
$ docker run
-p 3128:3128
--device=/dev/net/tun
--cap-add=NET_ADMIN
--rm -it junejie/openvpn-squid:latest -
After successful run. Open your browser and configure your proxy to
localhost
and port3128
.
Note: vpn password will be pulled automatically