Public | Automated Build

Last pushed: 3 months ago
Short Description
An Alpine Linux container running Privoxy and OpenVPN via Private Internet Access
Full Description

Privoxy via Private Internet Access OpenVPN

An Alpine Linux container running Privoxy and OpenVPN via Private Internet Access

Protect your browsing activities through an encrypted and anonymized VPN proxy!

You will need a PrivateInternetAccess account.
If you don't have one, you can sign up here for one.

Starting the VPN Proxy

docker run -d \
--cap-add=NET_ADMIN \
--device=/dev/net/tun \
--name=vpn_proxy \
--dns=209.222.18.218 --dns=209.222.18.222 \
--restart=always \
-e "REGION=<region>" \
-e "USERNAME=<pia_username>" \
-e "PASSWORD=<pia_password>" \
-e "LOCAL_NETWORK=192.168.1.0/24" \
-v /etc/localtime:/etc/localtime:ro \
-p 8118:8118 \
act28/pia-openvpn-proxy

Substitute the environment variables for REGION, USERNAME, PASSWORD, LOCAL_NETWORK as indicated.

A docker-compose-dist.yml file has also been provided. Copy this file to docker-compose.yml and substitute the environment variables are indicated.

Then start the VPN Proxy via:

docker-compose up -d

Environment Variables

REGION is optional. The default region is set to US East. REGION should match the supported PIA .opvn region config.

See the PIA VPN Tunnel Network page for details.
Use the Location value for your REGION.

USERNAME / PASSWORD - Credentials to connect to PIA

LOCAL_NETWORK - The CIDR mask of the local IP addresses (e.g. 192.168.1.0/24, 10.1.1.0/24) which will be acessing the proxy. This is so the response to a request can be returned to the client (i.e. your browser).

Connecting to the VPN Proxy

To connect to the VPN Proxy, set your browser proxy to 0.0.0.0:8080.

If you're using Chrome, you may want to use ProxySwitchyOmega

If you're using Firefox, you may want to use ProxySwitcher

Docker Pull Command
Owner
act28
Source Repository

Comments (0)