Sign inSign up

pbrisbin/openvpn-proxy

By pbrisbin

•Updated almost 11 years ago

Proxy through an OpenVPN client connection

Image
0

1.1K

pbrisbin/openvpn-proxy repository overview

Proxy through an OpenVPN client connection.

⁠Usage

docker run \
  --name vpn \
  --cap-add=NET_ADMIN \
  --publish 8118:8118 \
  --env VPN_USER=xxx \
  --env VPN_PASS=xxx \
  --env VPN_GATEWAY=ch1.vpn.giganews.com \
  --env VPN_CERTIFICATE=ca.vyprvpn.com.crt \
  --detach \
  pbrisbin/openvpn-proxy

Note: VPN_CERTIFICATE can be an absolute path or relative to /etc/openvpn. If the cert you intend to use is not present on the basic Alpine system, be sure to pass it in via --volume.

% curl ifconfig.me
<your actual public IP>
% http_proxy=http://localhost:8118 curl ifconfig.me
<something completely different>

Tag summary

Content type

Image

Digest

Size

15.7 MB

Last updated

almost 11 years ago

docker pull pbrisbin/openvpn-proxy