Updated README
This commit is contained in:
@@ -15,8 +15,8 @@ It bundles configuration files for many popular VPN providers to make the setup
|
||||
|
||||
```
|
||||
$ docker run --cap-add=NET_ADMIN -d \
|
||||
--sysctl=net.ipv6.conf.all.disable_ipv6=0 \
|
||||
-v /your/storage/path/to/downloads/:/downloads \
|
||||
--sysctl=net.ipv6.conf.all.disable_ipv6=1 \
|
||||
-v /your/storage/path/to/downloads/:/download \
|
||||
-v /your/storage/path/to/config/:/config \
|
||||
-e OPENVPN_PROVIDER=PIA \
|
||||
-e OPENVPN_CONFIG=France \
|
||||
@@ -33,7 +33,7 @@ version: '3.2'
|
||||
services:
|
||||
deluge-openvpn:
|
||||
volumes:
|
||||
- '/your/storage/path/to/downloads/:/downloads'
|
||||
- '/your/storage/path/to/downloads/:/download'
|
||||
- '/your/storage/path/to/config/:/config'
|
||||
environment:
|
||||
- OPENVPN_PROVIDER=PIA
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
- net.ipv6.conf.all.disable_ipv6=1
|
||||
ports:
|
||||
- '8112:8112'
|
||||
image: ebrianne/docker-deluge-openvpn
|
||||
|
@@ -57,12 +57,6 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then
|
||||
sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw
|
||||
ufw enable
|
||||
|
||||
DELUGE_LISTEN_PORT="${DELUGE_LISTEN_PORT_LOW}:${DELUGE_LISTEN_PORT_HIGH}"
|
||||
ufwAllowPort DELUGE_LISTEN_PORT tcp
|
||||
|
||||
DELUGE_OUTGOING_PORT="${DELUGE_OUTGOING_PORT_LOW}:${DELUGE_OUTGOING_PORT_HIGH}"
|
||||
ufwAllowPort DELUGE_OUTGOING_PORT tcp
|
||||
|
||||
if [[ "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
|
||||
ufwAllowPortLong DELUGE_WEB_PORT GW_CIDR
|
||||
ufwAllowPortLong DELUGE_DEAMON_PORT GW_CIDR
|
||||
|
Reference in New Issue
Block a user