OVPN_Privoxy

OVPN_Privoxy

Docker app from alturismo's Repository

Overview

openvpn with privoxy in docker with cron after docker start check your config folder, add your *.ovpn file(s) and edit logindata.conf LOCAL_NET - CIDR mask of the local IP addresses which will acess the proxy and bypass it, comma seperated OPENVPN_FILE - full path to ovpn file OVPN_SOCKS - set to off if not wanted OVPN_PRIVOXY - set to off if not wanted ONLINECHECK - set to off if not wanted ONLINECHECK_IP - default 8.8.4.4, change if wanted use privoxy on ip:8118 use socks on ip:1080

ovpn_privoxy

openvpn with privoxy in docker

after docker start check your config folder, add your *.ovpn file(s) and edit logindata.conf

mount to use as sample
Container Path: /config <> /mnt/user/appdata/openvpn/

docker run -d \
  --name=OVPN_Privoxy \
  --net=bridge \
  --log-opt max-size=10m \
  --log-opt max-file=3 \
  --privileged=true \
  -e TZ="Europe/Berlin" \
  -e LOCAL_NET=192.168.1.0/24 \
  -e OPENVPN_FILE=Frankfurt.ovpn \
  -p 8118:8080/tcp \
  -v /mnt/user/appdata/OpenVPN/:/config:rw \
  --cap-add=NET_ADMIN --dns=8.8.8.8 \
  alturismo/ovpn_privoxy

tested here with hide.me as provider, modified ovpn included, had to add 2 lines

route-delay 10
script-security 2

Environment Variables

LOCAL_NET - CIDR mask of the local IP addresses which will acess the proxy
OPENVPN_FILE - the .ovpn file to use for your connection
OVPN_SOCKS - set to off to disable
OVPN_PRIVOXY - set to off to disable
ONLINECHECK - set to off to disable
ONLINECHECK_IP - default 8.8.4.4 set own to change
KILLALL - set to on restart docker instead reconnect
TZ - Timezone, not relevant for function

logindata.conf

replace username and password with your credentials or create your own file ahead /config/logindata.conf

<username>
<password>

Install OVPN_Privoxy on Unraid in a few clicks.

Find OVPN_Privoxy in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for OVPN_Privoxy Review the template variables and paths Click Install

Categories

Download Statistics

319,681
Total Downloads
97
This Month
79
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
alturismo/ovpn_privoxy
Last Updated2022-09-18
First Seen2019-07-23

Runtime arguments

Network
bridge
Shell
sh
Privileged
true
Extra Params
--cap-add=NET_ADMIN --device /dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 --dns=8.8.8.8

Template configuration

/configPathrw

Container Path: /config

Value
/mnt/user/appdata/OpenVPN/
LOCAL_NETVariable

Container Variable: LOCAL_NET

Value
192.168.1.0/24
OPENVPN_FILEVariable

Container Variable: OPENVPN_FILE

Value
Frankfurt.ovpn
PortPorttcp

Container Port: 8080

Target
8080
Value
8118
Microsocks PortPorttcp

Container Port: 1080

Target
1080
Value
1080
OVPN_PRIVOXYVariable
Value
on
OVPN_SOCKSVariable
Value
on
ONLINECHECKVariable
Value
on
ONLINECHECK_IPVariable
Value
8.8.4.4