Public | Automated Build

Last pushed: 4 months ago
Short Description
Docker OpenVPN Client and Squid Proxy Server
Full Description


docker-openvpn-proxy

Docker OpenVPN Client and Squid Proxy Server

Run container from Docker registry

To run the container use this command:

$ docker run --privileged  -d \
              -e "OPENVPN_PROVIDER=PIA" \
              -e "OPENVPN_CONFIG=Netherlands" \
              -e "OPENVPN_USERNAME=user" \
              -e "OPENVPN_PASSWORD=pass" \
              -p 1022:22 \
              -p 3128:3128 \
              dceschmidt/openvpn-proxy

Now you can connect your application to a proxy localhost:3128.

OpenVPN configuration

All OpenVPN configuration are explained at schmas/docker-openvpn-client.

Docker Pull Command
Owner
dceschmidt
Source Repository

Comments (1)
andyrav
7 months ago

hi getting the following errors
2017-02-22 19:42:48 stdout Killing all processes...
2017-02-22 19:42:48 stdout Error starting SQUID!
2017-02-22 19:42:48 stdout
Runit exited with status 0
2017-02-22 19:42:48 stdout * Killing all processes...
2017-02-22 19:42:47 stdout Error starting OPENVPN!
2017-02-22 19:42:47 stdout
2017-02-22 19:42:47 stdout squid[26]: Current Directory is /etc/service/squid
2017-02-22 19:42:47 stdout
2017-02-22 19:42:47 stdout squid[26]: cannot change current directory to /var/spool/squid3: (2) No such file or directory
2017-02-22 19:42:47 stdout Use --help for more information.
2017-02-22 19:42:47 stdout Options error: Please correct these errors.
2017-02-22 19:42:47 stdout Options error: --crl-verify fails with '/etc/openvpn/conf/pia/crl.pem': No such file or directory
2017-02-22 19:42:47 stdout Options error: --ca fails with '/etc/openvpn/conf/pia/ca.crt': No such file or directory
2017-02-22 19:42:47 stdout OpenVPN config: /etc/openvpn/conf/pia/default.ovpn
2017-02-22 19:42:47 stdout OpenVPN OPTS:
2017-02-22 19:42:47 stdout Starting Squid
any ideas?