From d27041f64225be80fc94e77d972121e97b9c22bd Mon Sep 17 00:00:00 2001 From: Eldwan Brianne Date: Tue, 5 Oct 2021 22:12:30 +0200 Subject: [PATCH] Updated README --- README.md | 8 ++++---- root/etc/ufw/enable.sh | 6 ------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f159a2924..ae3a00a58 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/root/etc/ufw/enable.sh b/root/etc/ufw/enable.sh index 66f2fbc22..cb83ec1fa 100755 --- a/root/etc/ufw/enable.sh +++ b/root/etc/ufw/enable.sh @@ -56,12 +56,6 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then log "enabling firewall" 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