Good afternoon. I just moved and had to switch from xfinity where everything was working no issues but pretty slow overall to an area with metronet, I had issues getting a static ip set up, prior to aquiring my metronet static ip some stuff still downloaded and my uploads were huge, because of qbittorrent vpn, after I got the static Ip, all of a sudden i couldnt access qbittorrentvpn with vpn enabled, disabling it worked, and trying the socks5 proxy kind of worked, but I gave in and just went to PIA and wireguard.
Now, the webui will open for a minute, let me edit a setting here and there, then freeze for a minute or so, I will see my bandwidth usage skyrocket and stuff starts downloading and uploading extremely fast for a minute, then the docker container kills itself from what i see and any potentially open webui's become unreachable.
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -d 149.50.218.47/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.151/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.23/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.23.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.22.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.19.240.167/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.159.201/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8080 -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
2024-09-13 21:09:21,389 DEBG 'start-script' stdout output:
--------------------
2024-09-13 21:09:21,394 DEBG 'start-script' stdout output:
[info] Rerunning wireguard authentication...
2024-09-13 21:09:21,594 DEBG 'start-script' stdout output:
[info] Token generated for PIA wireguard authentication
2024-09-13 21:09:21,630 DEBG 'start-script' stdout output:
[info] Trying to connect to the PIA WireGuard API on 'ca-ontario.privacy.network'...
2024-09-13 21:09:21,881 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2024-09-13 21:09:22,099 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2024-09-13 21:09:22,106 DEBG 'start-script' stdout output:
[info] Adding 192.168.4.0/24 as route via docker eth0
2024-09-13 21:09:22,108 DEBG 'start-script' stderr output:
RTNETLINK answers: File exists
2024-09-13 21:09:22,108 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2024-09-13 21:09:22,110 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 table 8080_qbittorrent
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.14
192.168.4.0/24 via 172.17.0.1 dev eth0
2024-09-13 21:09:22,111 DEBG 'start-script' stdout output:
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
broadcast 172.17.0.0 dev eth0 table local proto kernel scope link src 172.17.0.14
local 172.17.0.14 dev eth0 table local proto kernel scope host src 172.17.0.14
broadcast 172.17.255.255 dev eth0 table local proto kernel scope link src 172.17.0.14
--------------------
2024-09-13 21:09:22,116 DEBG 'start-script' stdout output:
iptable_mangle 16384 2
ip_tables 28672 10 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
x_tables 28672 14 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_nat,xt_comment,ip6_tables,xt_connmark,iptable_raw,ip_tables,xt_MASQUERADE,iptable_mangle,xt_mark
2024-09-13 21:09:22,116 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2024-09-13 21:09:22,120 DEBG 'start-script' stderr output:
RTNETLINK answers: File exists
2024-09-13 21:09:22,250 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2024-09-13 21:09:22,252 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 149.50.218.47/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.151/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.23/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.23.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.22.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.19.240.167/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.159.201/32 -i eth0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -s 149.50.218.47/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.151/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.23/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.23.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.22.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.19.240.167/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.159.201/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8080 -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 INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -s 149.50.218.47/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.151/32 -i eth0 -j ACCEPT
-A INPUT -s 149.50.218.23/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.23.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.22.75/32 -i eth0 -j ACCEPT
-A INPUT -s 104.19.240.167/32 -i eth0 -j ACCEPT
-A INPUT -s 104.18.159.201/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8080 -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 -d 149.50.218.47/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.151/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.23/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.23.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.22.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.19.240.167/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.159.201/32 -o eth0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -d 149.50.218.47/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.151/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.23/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.23.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.22.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.19.240.167/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.159.201/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8080 -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
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -d 149.50.218.47/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.151/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.50.218.23/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.23.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.22.75/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.19.240.167/32 -o eth0 -j ACCEPT
-A OUTPUT -d 104.18.159.201/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8080 -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
2024-09-13 21:09:22,253 DEBG 'start-script' stdout output:
--------------------
2024-09-13 21:09:22,254 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...
2024-09-13 21:09:22,494 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2024-09-13 21:09:22,506 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard
2024-09-13 21:09:22,510 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63
2024-09-13 21:09:22,530 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.19.160.74 dev wg0
2024-09-13 21:09:22,542 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0
2024-09-13 21:09:22,770 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820
2024-09-13 21:09:22,771 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
2024-09-13 21:09:22,774 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820
2024-09-13 21:09:22,776 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0
2024-09-13 21:09:22,783 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
2024-09-13 21:09:22,810 DEBG 'start-script' stderr output:
[#] iptables-restore -n
2024-09-13 21:09:22,846 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'
2024-09-13 21:09:38,970 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...
2024-09-13 21:09:39,578 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 149.50.218.47
2024-09-13 21:09:39,581 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'
2024-09-13 21:09:39,592 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'pia'
2024-09-13 21:09:39,593 DEBG 'start-script' stdout output:
[info] Port forwarding is enabled
[info] Checking endpoint 'ca-ontario.privacy.network' is port forward enabled...
2024-09-13 21:09:39,864 DEBG 'start-script' stdout output:
[info] PIA endpoint 'ca-ontario.privacy.network' is in the list of endpoints that support port forwarding
2024-09-13 21:09:39,867 DEBG 'start-script' stdout output:
[info] List of PIA endpoints that support port forwarding:-
2024-09-13 21:09:39,867 DEBG 'start-script' stdout output:
[info] lu.privacy.network
[info] denmark.privacy.network
[info] aus-melbourne.privacy.network
[info] au-brisbane-pf.privacy.network
[info] al.privacy.network
[info] tr.privacy.network
[info] jakarta.privacy.network
[info] uk-london.privacy.network
[info] rs.privacy.network
[info] mk.privacy.network
[info] swiss.privacy.network
[info] japan.privacy.network
[info] israel.privacy.network
[info] georgia.privacy.network
[info] es-valencia.privacy.network
[info] cambodia.privacy.network
[info] spain.privacy.network
[info] qatar.privacy.network
[info] morocco.privacy.network
[info] ireland.privacy.network
[info] ro.privacy.network
[info] sk.privacy.network
[info] malta.privacy.network
[info] nl-netherlands-so.privacy.network
[info] sweden-2.privacy.network
[info] lt.privacy.network
[info] uk-manchester.privacy.network
[info] montenegro.privacy.network
[info] au-sydney.privacy.network
[info] np-nepal-pf.privacy.network
[info] cyprus.privacy.network
[info] bo-bolivia-pf.privacy.network
[info] kr-south-korea-pf.privacy.network
[info] ua.privacy.network
[info] egypt.privacy.network
[info] ca-montreal.privacy.network
2024-09-13 21:09:39,867 DEBG 'start-script' stdout output:
[info] liechtenstein.privacy.network
[info] japan-2.privacy.network
[info] lv.privacy.network
[info] saudiarabia.privacy.network
[info] bogota.privacy.network
[info] sweden.privacy.network
[info] poland.privacy.network
[info] pt.privacy.network
[info] monaco.privacy.network
[info] mongolia.privacy.network
[info] bahamas.privacy.network
[info] md.privacy.network
[info] br.privacy.network
[info] ba.privacy.network
[info] ca-toronto.privacy.network
[info] bangladesh.privacy.network
[info] ar.privacy.network
[info] mexico.privacy.network
[info] de-germany-so.privacy.network
[info] greenland.privacy.network
[info] sanjose.privacy.network
[info] venezuela.privacy.network
[info] santiago.privacy.network
[info] uk-southampton.privacy.network
[info] ad.privacy.network
[info] au-australia-so.privacy.network
[info] yerevan.privacy.network
[info] brussels.privacy.network
[info] kualalumpur.privacy.network
[info] nz.privacy.network
[info] vietnam.privacy.network
[info] uy-uruguay-pf.privacy.network
[info] ca-ontario.privacy.network
[info] hungary.privacy.network
[info] au-adelaide-pf.privacy.network
[info] ca-vancouver.privacy.network
[info] nl-amsterdam.privacy.network
[info] italy.privacy.network
[info] sofia.privacy.network
[info] is.privacy.network
[info] denmark-2.privacy.network
2024-09-13 21:09:39,868 DEBG 'start-script' stdout output:
[info] taiwan.privacy.network
[info] italy-2.privacy.network
[info] za.privacy.network
[info] hk.privacy.network
[info] macau.privacy.network
[info] kazakhstan.privacy.network
[info] man.privacy.network
[info] ec-ecuador-pf.privacy.network
[info] austria.privacy.network
[info] china.privacy.network
[info] de-frankfurt.privacy.network
[info] fi-2.privacy.network
[info] in.privacy.network
[info] czech.privacy.network
[info] philippines.privacy.network
[info] france.privacy.network
[info] ee.privacy.network
[info] gr.privacy.network
[info] ca-ontario-so.privacy.network
[info] fi.privacy.network
[info] ae.privacy.network
[info] slovenia.privacy.network
[info] dz.privacy.network
[info] sg.privacy.network
[info] de-berlin.privacy.network
[info] gt-guatemala-pf.privacy.network
[info] srilanka.privacy.network
[info] nigeria.privacy.network
[info] zagreb.privacy.network
[info] pe-peru-pf.privacy.network
[info] uk-2.privacy.network
[info] panama.privacy.network
[info] aus-perth.privacy.network
[info] no.privacy.network
2024-09-13 21:09:41,732 DEBG 'start-script' stdout output:
[info] Successfully assigned and bound incoming port '36403'
2024-09-13 21:09:57,045 DEBG 'watchdog-script' stdout output:
[info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.19.160.74 different, marking for reconfigure
2024-09-13 21:09:57,343 DEBG 'watchdog-script' stdout output:
[info] qBittorrent not running
2024-09-13 21:09:57,344 DEBG 'watchdog-script' stdout output:
[info] qBittorrent incoming port 6881 and VPN incoming port 36403 different, marking for reconfigure
2024-09-13 21:09:57,377 DEBG 'watchdog-script' stdout output:
[info] Removing session lock file (if it exists)...
2024-09-13 21:09:57,394 DEBG 'watchdog-script' stdout output:
[info] Attempting to start qBittorrent...
2024-09-13 21:09:59,708 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process started
[info] Waiting for qBittorrent process to start listening on port 8080...
2024-09-13 21:10:09,110 DEBG 'watchdog-script' stdout output:
[info] qBittorrent process listening on port 8080
2024-09-13 21:15:28,487 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22971707389840 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stdout)>
2024-09-13 21:15:28,488 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22971705477392 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stderr)>
2024-09-13 21:15:28,488 WARN exited: watchdog-script (terminated by SIGKILL; not expected)
2024-09-13 21:15:28,488 DEBG received SIGCHLD indicating a child quit
2024-09-13 21:15:28,487 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22971707389840 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stdout)>
2024-09-13 21:15:28,488 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22971705477392 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stderr)>
2024-09-13 21:15:28,488 WARN exited: watchdog-script (terminated by SIGKILL; not expected)
2024-09-13 21:15:28,488 DEBG received SIGCHLD indicating a child quit
I tried giving it 32G memory to work with in hopes that would help but it did not, and with how often I've been working I will admit I dont have the time or energy to spend chasing this goose so I am hoping someone else caught it already.
Also worth noting in the time it took me to write this and make a sandwhich this popped up in the logs
2024-09-13 21:15:28,487 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22971707389840 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stdout)>
2024-09-13 21:15:28,488 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22971705477392 for <Subprocess at 22971705380112 with name watchdog-script in state RUNNING> (stderr)>
2024-09-13 21:15:28,488 WARN exited: watchdog-script (terminated by SIGKILL; not expected)
2024-09-13 21:15:28,488 DEBG received SIGCHLD indicating a child quit
2024-09-13 21:24:41,939 DEBG 'start-script' stdout output:
[info] Successfully assigned and bound incoming port '36403'