openvpn privoxy forked from andymeful/privoxy-openvpn
10K+
Fork from andymeful/privoxy-openvpn
A Privoxy container with OpenVPN
Built on Alpine Linux. tiny, fast, light.
docker run -d --device=/dev/net/tun --cap-add=NET_ADMIN \
--dns=1.1.1.1 --dns=1.0.0.1 \
-e "OPENVPN_FILENAME=uk-london-aes128.ovpn" \
-e "LOCAL_NETWORK=192.168.1.0/24" \
-e "ONLINECHECK_DELAY=900" \
-v ./openvpn-config:/app/ovpn/config \
-p 8080:8080 \
bios/openvpn-privoxy
1 volume needs to be mapped to /app/ovpn/config within the container.
This volume should include any ovpn config files to be used and, credentials.txt.
I've tested with PIAs ovpn configs but will probably work with any, just make sure to include the following line somewhere:
auth-user-pass /app/ovpn/config/credentials.txt
I plan to check for / automagically add this line in future.
I left in PIA London config for use if needed.
Obviously you'll need to have a PIA account.
Create ./credentials.txt in the directory which is mapped to /app/ovpn/config.
On the 1st line put the username, on the 2nd line the password.
The CIDR mask of the local IP addresses which will be acessing the proxy. This is so the response to a request makes it back to the requestee.
The .ovpn file to use. This file should be in the directory which is mapped to /app/ovpn/config.
Will make a web request to Google every x seconds (default 900 (15 minutes)). If the request fails, OpenVPN will be restarted.
Content type
Image
Digest
sha256:0a45ee0c4…
Size
11.8 MB
Last updated
about 6 hours ago
docker pull bios/openvpn-privoxy