I'm trying to move from OVPN to WireGuard and I'm running into a roadblock. Based on my logs I believe everything is starting properly, however, I cannot reach the webui. If I change 'wireguard' to 'openvpn' in the configuration I can reach the UI as expected. Any ideas?
docker run -d --name='binhex-delugevpn' --net='br0.10' --ip='192.168.10.15' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'TCP_PORT_8112'='8112' -e 'TCP_PORT_58846'='58846' -e 'TCP_PORT_58946'='58946' -e 'UDP_PORT_58946'='58946' -e 'TCP_PORT_8118'='8118' -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='xxxxxxxxxx' -e 'VPN_PASS'='xxxxxxxxxx' -e 'VPN_PROV'='pia' -e 'VPN_CLIENT'='wireguard' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'LAN_NETWORK'='192.168.10.1/24' -e 'NAME_SERVERS'='209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' -e 'DELUGE_DAEMON_LOG_LEVEL'='info' -e 'DELUGE_WEB_LOG_LEVEL'='info' -e 'ADDITIONAL_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/disks/unassigned/downloads/':'/data':'rw' -v '/mnt/user/appdata/binhex-delugevpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-delugevpn'
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/
2020-10-15 23:56:08.672244 [info] System information Linux 843aa7a70558 5.7.8-Unraid #1 SMP Thu Jul 9 11:10:03 PDT 2020 x86_64 GNU/Linux
2020-10-15 23:56:08.707765 [info] OS_ARCH defined as 'x86-64'
2020-10-15 23:56:08.755273 [info] PUID defined as '99'
2020-10-15 23:56:09.103466 [info] PGID defined as '100'
2020-10-15 23:56:09.722302 [info] UMASK defined as '000'
2020-10-15 23:56:09.741216 [info] Permissions already set for volume mappings
2020-10-15 23:56:09.841045 [info] Deleting files in /tmp (non recursive)...
2020-10-15 23:56:09.884032 [info] VPN_ENABLED defined as 'yes'
2020-10-15 23:56:09.906021 [info] VPN_CLIENT defined as 'wireguard'
2020-10-15 23:56:09.925092 [info] VPN_PROV defined as 'pia'
2020-10-15 23:56:14.841527 [info] WireGuard config file (conf extension) is located at /config/wireguard/wg0.conf
2020-10-15 23:56:14.875796 [info] VPN_REMOTE_SERVER defined as 'nl-amsterdam.privacy.network'
2020-10-15 23:56:14.934189 [info] VPN_REMOTE_PORT defined as '1337'
2020-10-15 23:56:14.953274 [info] VPN_DEVICE_TYPE defined as 'wg0'
2020-10-15 23:56:14.971720 [info] VPN_REMOTE_PROTOCOL defined as 'udp'
2020-10-15 23:56:14.995647 [info] LAN_NETWORK defined as '192.168.10.1/24'
2020-10-15 23:56:15.019885 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2020-10-15 23:56:15.039629 [info] VPN_USER defined as 'xxxxxxxx'
2020-10-15 23:56:15.063950 [info] VPN_PASS defined as 'xxxxxxxx'
2020-10-15 23:56:15.088321 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-10-15 23:56:15.108386 [info] ENABLE_PRIVOXY defined as 'no'
2020-10-15 23:56:15.127681 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-10-15 23:56:15.153110 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-10-15 23:56:15.174085 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-10-15 23:56:15.199612 [info] Starting Supervisor...
2020-10-15 23:56:17,177 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2020-10-15 23:56:17,177 INFO Set uid to user 0 succeeded
2020-10-15 23:56:17,207 INFO supervisord started with pid 6
2020-10-15 23:56:18,209 INFO spawned: 'start-script' with pid 157
2020-10-15 23:56:18,210 INFO spawned: 'watchdog-script' with pid 158
2020-10-15 23:56:18,210 INFO reaped unknown pid 7 (exit status 0)
2020-10-15 23:56:18,226 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
2020-10-15 23:56:18,227 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-15 23:56:18,227 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-15 23:56:18,229 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf
2020-10-15 23:56:18,231 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf
2020-10-15 23:56:18,234 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2020-10-15 23:56:18,237 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf
2020-10-15 23:56:18,239 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf
2020-10-15 23:56:18,242 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2020-10-15 23:56:18,245 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf
2020-10-15 23:56:18,247 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf
2020-10-15 23:56:19,487 DEBG 'start-script' stderr output:
parse error: Invalid numeric literal at line 4, column 0
2020-10-15 23:56:20,125 DEBG 'start-script' stdout output:
[info] Trying to connect to the PIA WireGuard API on 'nl-amsterdam.privacy.network'...
2020-10-15 23:56:20,642 DEBG 'start-script' stdout output:
[info] Default route for container is 192.168.10.1
2020-10-15 23:56:20,654 DEBG 'start-script' stdout output:
[info] Docker network defined as 192.168.10.0/24
2020-10-15 23:56:20,657 DEBG 'start-script' stdout output:
[info] Adding 192.168.10.1/24 as route via docker eth0
2020-10-15 23:56:20,657 DEBG 'start-script' stderr output:
Error: Invalid prefix for given prefix length.
2020-10-15 23:56:20,658 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2020-10-15 23:56:20,658 DEBG 'start-script' stdout output:
default via 192.168.10.1 dev eth0
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.15
2020-10-15 23:56:20,658 DEBG 'start-script' stdout output:
--------------------
2020-10-15 23:56:20,661 DEBG 'start-script' stdout output:
iptable_mangle 16384 2
ip_tables 28672 8 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
2020-10-15 23:56:20,661 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2020-10-15 23:56:20,749 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2020-10-15 23:56:20,750 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 192.168.10.0/24 -d 192.168.10.0/24 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1337 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.10.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i wg0 -j ACCEPT
-A OUTPUT -s 192.168.10.0/24 -d 192.168.10.0/24 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1337 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.10.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o wg0 -j ACCEPT
2020-10-15 23:56:20,751 DEBG 'start-script' stdout output:
--------------------
2020-10-15 23:56:20,753 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...
2020-10-15 23:56:20,793 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2020-10-15 23:56:20,798 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard
2020-10-15 23:56:20,799 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63
2020-10-15 23:56:20,807 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.25.245.109/32 dev wg0
2020-10-15 23:56:20,812 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0
2020-10-15 23:56:20,838 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820
2020-10-15 23:56:20,838 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
2020-10-15 23:56:20,839 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820
2020-10-15 23:56:20,840 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0
2020-10-15 23:56:20,842 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
2020-10-15 23:56:20,851 DEBG 'start-script' stderr output:
[#] iptables-restore -n
2020-10-15 23:56:20,871 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'
2020-10-15 23:56:22,128 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...
2020-10-15 23:56:37,514 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 212.102.34.182
2020-10-15 23:56:37,515 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'
2020-10-15 23:56:37,515 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port
2020-10-15 23:56:37,516 DEBG 'start-script' stdout output:
[info] Port forwarding is enabled
[info] Checking endpoint 'nl-amsterdam.privacy.network' is port forward enabled...
2020-10-15 23:56:39,111 DEBG 'start-script' stdout output:
[info] PIA endpoint 'nl-amsterdam.privacy.network' is in the list of endpoints that support port forwarding
2020-10-15 23:56:39,111 DEBG 'start-script' stdout output:
[info] List of PIA endpoints that support port forwarding:-
2020-10-15 23:56:39,112 DEBG 'start-script' stdout output:
[info] al.privacy.network
[info] ad.privacy.network
[info] austria.privacy.network
[info] brussels.privacy.network
[info] ba.privacy.network
[info] sofia.privacy.network
[info] czech.privacy.network
[info] denmark.privacy.network
[info] ee.privacy.network
[info] fi.privacy.network
[info] france.privacy.network
[info] de-frankfurt.privacy.network
[info] de-berlin.privacy.network
[info] gr.privacy.network
[info] hungary.privacy.network
2020-10-15 23:56:39,112 DEBG 'start-script' stdout output:
[info] is.privacy.network
[info] ireland.privacy.network
[info] man.privacy.network
[info] italy.privacy.network
[info] lv.privacy.network
[info] liechtenstein.privacy.network
[info] lt.privacy.network
[info] lu.privacy.network
[info] mk.privacy.network
[info] malta.privacy.network
[info] md.privacy.network
[info] monaco.privacy.network
[info] montenegro.privacy.network
[info] nl-amsterdam.privacy.network
[info] no.privacy.network
[info] poland.privacy.network
[info] pt.privacy.network
[info] ro.privacy.network
[info] rs.privacy.network
[info] sk.privacy.network
[info] spain.privacy.network
[info] sweden.privacy.network
[info] swiss.privacy.network
[info] ua.privacy.network
[info] uk-manchester.privacy.network
[info] uk-london.privacy.network
[info] uk-southampton.privacy.network
[info] bahamas.privacy.network
[info] ca-vancouver.privacy.network
[info] ca-ontario.privacy.network
[info] ca-montreal.privacy.network
[info] ca-toronto.privacy.network
[info] greenland.privacy.network
[info] mexico.privacy.network
[info] panama.privacy.network
[info] ar.privacy.network
[info] br.privacy.network
[info] venezuela.privacy.network
[info] yerevan.privacy.network
[info] cambodia.privacy.network
[info] china.privacy.network
[info] cyprus.privacy.network
[info] georgia.privacy.network
[info] hk.privacy.network
[info] in.privacy.network
[info] iran.privacy.network
2020-10-15 23:56:39,112 DEBG 'start-script' stdout output:
[info] israel.privacy.network
[info] japan.privacy.network
[info] kazakhstan.privacy.network
[info] philippines.privacy.network
[info] qatar.privacy.network
[info] saudiarabia.privacy.network
[info] sg.privacy.network
[info] srilanka.privacy.network
[info] taiwan.privacy.network
[info] tr.privacy.network
[info] ae.privacy.network
[info] vietnam.privacy.network
[info] aus-perth.privacy.network
[info] au-sydney.privacy.network
[info] aus-melbourne.privacy.network
[info] nz.privacy.network
[info] dz.privacy.network
[info] egypt.privacy.network
[info] morocco.privacy.network
[info] nigeria.privacy.network
[info] za.privacy.network
2020-10-15 23:56:41,732 DEBG 'start-script' stdout output:
[info] Successfully assigned and bound incoming port '47146'
2020-10-15 23:56:42,196 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.25.245.109 different, marking for reconfigure
2020-10-15 23:56:42,261 DEBG 'watchdog-script' stdout output:
[info] Deluge not running
2020-10-15 23:56:42,263 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running
2020-10-15 23:56:42,263 DEBG 'watchdog-script' stdout output:
[info] Deluge incoming port 6890 and VPN incoming port 47146 different, marking for reconfigure
2020-10-15 23:56:42,270 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...
2020-10-15 23:56:44,217 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.26.129.208'
[info] Deluge key 'listen_interface' will have a new value '10.25.245.109'
[info] Writing changes to Deluge config file '/config/core.conf'...
2020-10-15 23:56:44,374 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'outgoing_interface' currently has a value of 'wg0'
[info] Deluge key 'outgoing_interface' will have a new value 'wg0'
[info] Writing changes to Deluge config file '/config/core.conf'...
2020-10-15 23:56:44,501 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of '9b89b378e26b43ed89a18c7b060d30de'
[info] Deluge key 'default_daemon' will have a new value '9b89b378e26b43ed89a18c7b060d30de'
[info] Writing changes to Deluge config file '/config/web.conf'...
2020-10-15 23:56:44,950 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...
2020-10-15 23:56:45,411 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846
2020-10-15 23:56:47,515 DEBG 'watchdog-script' stdout output:
Setting "random_port" to: False
Configuration value successfully updated.
2020-10-15 23:56:49,315 DEBG 'watchdog-script' stdout output:
Setting "listen_ports" to: (47146, 47146)
Configuration value successfully updated.
2020-10-15 23:56:51,151 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found
2020-10-15 23:56:51,152 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...
2020-10-15 23:56:51,152 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started