A Privoxy container with OpenVPN Built on Alpine Linux so tiny, fast, light and awesome.
1.2K
A Privoxy container with OpenVPN
Built on Alpine Linux so tiny, fast, light and awesome.
Use this command to set up an IPsec VPN server on Docker:
docker run -d \
--name proxy-openvpn \
--device=/dev/net/tun \
--cap-add=NET_ADMIN \
--dns=45.90.28.89 --dns=45.90.30.89 \
-e "OPENVPN_FILENAME=imzami-aes128.ovpn" \
-e "LOCAL_NETWORK=0.0.0.0/0" \
-e "ONLINECHECK_DELAY=300" \
-v ./openvpn-config:/app/ovpn/config \
-p 98:98 \
imzami/proxy-openvpn
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
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 300 (5 minutes)). If the request fails, OpenVPN will be restarted.
Content type
Image
Digest
sha256:dc3955d74…
Size
5.3 MB
Last updated
about 1 year ago
docker pull imzami/proxy-openvpn