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 \
|
$ docker run --cap-add=NET_ADMIN -d \
|
||||||
--sysctl=net.ipv6.conf.all.disable_ipv6=0 \
|
--sysctl=net.ipv6.conf.all.disable_ipv6=1 \
|
||||||
-v /your/storage/path/to/downloads/:/downloads \
|
-v /your/storage/path/to/downloads/:/download \
|
||||||
-v /your/storage/path/to/config/:/config \
|
-v /your/storage/path/to/config/:/config \
|
||||||
-e OPENVPN_PROVIDER=PIA \
|
-e OPENVPN_PROVIDER=PIA \
|
||||||
-e OPENVPN_CONFIG=France \
|
-e OPENVPN_CONFIG=France \
|
||||||
@@ -33,7 +33,7 @@ version: '3.2'
|
|||||||
services:
|
services:
|
||||||
deluge-openvpn:
|
deluge-openvpn:
|
||||||
volumes:
|
volumes:
|
||||||
- '/your/storage/path/to/downloads/:/downloads'
|
- '/your/storage/path/to/downloads/:/download'
|
||||||
- '/your/storage/path/to/config/:/config'
|
- '/your/storage/path/to/config/:/config'
|
||||||
environment:
|
environment:
|
||||||
- OPENVPN_PROVIDER=PIA
|
- OPENVPN_PROVIDER=PIA
|
||||||
@@ -44,7 +44,7 @@ services:
|
|||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
sysctls:
|
sysctls:
|
||||||
- net.ipv6.conf.all.disable_ipv6=0
|
- net.ipv6.conf.all.disable_ipv6=1
|
||||||
ports:
|
ports:
|
||||||
- '8112:8112'
|
- '8112:8112'
|
||||||
image: ebrianne/docker-deluge-openvpn
|
image: ebrianne/docker-deluge-openvpn
|
||||||
|
@@ -56,12 +56,6 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then
|
|||||||
log "enabling firewall"
|
log "enabling firewall"
|
||||||
sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw
|
sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw
|
||||||
ufw enable
|
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
|
if [[ "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
|
||||||
ufwAllowPortLong DELUGE_WEB_PORT GW_CIDR
|
ufwAllowPortLong DELUGE_WEB_PORT GW_CIDR
|
||||||
|
Reference in New Issue
Block a user