Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProtonVPN port forward stops #298

Open
removinggoose opened this issue Jan 1, 2025 · 0 comments
Open

ProtonVPN port forward stops #298

removinggoose opened this issue Jan 1, 2025 · 0 comments

Comments

@removinggoose
Copy link

Hi, having issues with protonvpn, after some time, the port forward stops working and doesn't update in qbittorrent which therefore leads to needing to restart the container manually. Below are the logs for every 30 mins after the disconnect

2025-01-01 13:39:41,122 DEBG 'watchdog-script' stdout output:
[info] qbittorrent incoming port closed, marking for reconfigure

2025-01-01 13:39:59,334 DEBG 'start-script' stdout output:
[info] Sending 'down' command to WireGuard due to port closed...

2025-01-01 13:39:59,336 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...

2025-01-01 13:39:59,347 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 13:39:59,355 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table 51820

2025-01-01 13:39:59,362 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table main suppress_prefixlength 0

2025-01-01 13:39:59,371 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0

2025-01-01 13:39:59,456 DEBG 'start-script' stderr output:
[#] resolvconf -d wg0 -f

2025-01-01 13:39:59,462 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 13:39:59,497 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 13:39:59,502 DEBG 'start-script' stderr output:
[#] '/root/wireguarddown.sh'

2025-01-01 13:39:59,509 DEBG 'start-script' stdout output:
[info] WireGuard interface 'down'

2025-01-01 13:39:59,511 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...

2025-01-01 13:39:59,520 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...

2025-01-01 13:39:59,529 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 13:39:59,536 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard

2025-01-01 13:39:59,538 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63

2025-01-01 13:39:59,540 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.2.0.2/32 dev wg0

2025-01-01 13:39:59,547 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0

2025-01-01 13:39:59,551 DEBG 'start-script' stderr output:
[#] resolvconf -a wg0 -m 0 -x

2025-01-01 13:39:59,557 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 13:39:59,597 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820

2025-01-01 13:39:59,598 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

2025-01-01 13:39:59,600 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820

2025-01-01 13:39:59,601 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0

2025-01-01 13:39:59,605 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1

2025-01-01 13:39:59,607 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 13:39:59,609 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'

2025-01-01 13:40:01,648 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2025-01-01 13:40:01,715 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.130.187.8

2025-01-01 13:40:01,716 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'protonvpn'

2025-01-01 13:40:01,717 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'

2025-01-01 13:40:03,752 DEBG 'start-script' stdout output:
initnatpmp() returned 0 (SUCCESS)
using gateway : 10.2.0.1
sendpublicaddressrequest returned 2 (SUCCESS)
readnatpmpresponseorretry returned 0 (OK)
Public IP address : 185.130.187.8
epoch = 3623071
closenatpmp() returned 0 (SUCCESS)

2025-01-01 14:09:43,870 DEBG 'watchdog-script' stdout output:
[info] qbittorrent incoming port closed, marking for reconfigure

2025-01-01 14:10:01,971 DEBG 'start-script' stdout output:
[info] Sending 'down' command to WireGuard due to port closed...

2025-01-01 14:10:01,972 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...

2025-01-01 14:10:01,981 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 14:10:01,991 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table 51820

2025-01-01 14:10:01,998 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table main suppress_prefixlength 0

2025-01-01 14:10:02,007 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0

2025-01-01 14:10:02,088 DEBG 'start-script' stderr output:
[#] resolvconf -d wg0 -f

2025-01-01 14:10:02,093 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 14:10:02,128 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 14:10:02,132 DEBG 'start-script' stderr output:
[#] '/root/wireguarddown.sh'

2025-01-01 14:10:02,139 DEBG 'start-script' stdout output:
[info] WireGuard interface 'down'

2025-01-01 14:10:02,141 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...

2025-01-01 14:10:02,150 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...

2025-01-01 14:10:02,158 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 14:10:02,166 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard

2025-01-01 14:10:02,168 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63

2025-01-01 14:10:02,170 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.2.0.2/32 dev wg0

2025-01-01 14:10:02,177 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0

2025-01-01 14:10:02,181 DEBG 'start-script' stderr output:
[#] resolvconf -a wg0 -m 0 -x

2025-01-01 14:10:02,187 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 14:10:02,227 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820

2025-01-01 14:10:02,228 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

2025-01-01 14:10:02,229 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820

2025-01-01 14:10:02,231 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0

2025-01-01 14:10:02,235 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1

2025-01-01 14:10:02,237 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 14:10:02,239 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'

2025-01-01 14:10:04,276 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2025-01-01 14:10:04,347 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.130.187.8

2025-01-01 14:10:04,347 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'protonvpn'

2025-01-01 14:10:04,349 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'

2025-01-01 14:10:06,382 DEBG 'start-script' stdout output:
initnatpmp() returned 0 (SUCCESS)
using gateway : 10.2.0.1
sendpublicaddressrequest returned 2 (SUCCESS)
readnatpmpresponseorretry returned 0 (OK)
Public IP address : 185.130.187.8
epoch = 3624873
closenatpmp() returned 0 (SUCCESS)

2025-01-01 14:39:46,630 DEBG 'watchdog-script' stdout output:
[info] qbittorrent incoming port closed, marking for reconfigure

2025-01-01 14:40:04,598 DEBG 'start-script' stdout output:
[info] Sending 'down' command to WireGuard due to port closed...

2025-01-01 14:40:04,599 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...

2025-01-01 14:40:04,608 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 14:40:04,616 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table 51820

2025-01-01 14:40:04,622 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table main suppress_prefixlength 0

2025-01-01 14:40:04,631 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0

2025-01-01 14:40:04,701 DEBG 'start-script' stderr output:
[#] resolvconf -d wg0 -f

2025-01-01 14:40:04,706 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 14:40:04,741 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 14:40:04,745 DEBG 'start-script' stderr output:
[#] '/root/wireguarddown.sh'

2025-01-01 14:40:04,752 DEBG 'start-script' stdout output:
[info] WireGuard interface 'down'

2025-01-01 14:40:04,755 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...

2025-01-01 14:40:04,764 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...

2025-01-01 14:40:04,772 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 14:40:04,780 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard

2025-01-01 14:40:04,782 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63

2025-01-01 14:40:04,784 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.2.0.2/32 dev wg0

2025-01-01 14:40:04,791 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0

2025-01-01 14:40:04,795 DEBG 'start-script' stderr output:
[#] resolvconf -a wg0 -m 0 -x

2025-01-01 14:40:04,801 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 14:40:04,840 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820

2025-01-01 14:40:04,841 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

2025-01-01 14:40:04,843 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820

2025-01-01 14:40:04,845 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0

2025-01-01 14:40:04,848 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1

2025-01-01 14:40:04,850 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 14:40:04,852 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'

2025-01-01 14:40:06,889 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2025-01-01 14:40:06,957 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.130.187.8

2025-01-01 14:40:06,957 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'protonvpn'

2025-01-01 14:40:06,959 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'

2025-01-01 14:40:08,993 DEBG 'start-script' stdout output:
initnatpmp() returned 0 (SUCCESS)
using gateway : 10.2.0.1
sendpublicaddressrequest returned 2 (SUCCESS)
readnatpmpresponseorretry returned 0 (OK)
Public IP address : 185.130.187.8
epoch = 3626676
closenatpmp() returned 0 (SUCCESS)

2025-01-01 15:09:49,365 DEBG 'watchdog-script' stdout output:
[info] qbittorrent incoming port closed, marking for reconfigure

2025-01-01 15:10:07,206 DEBG 'start-script' stdout output:
[info] Sending 'down' command to WireGuard due to port closed...

2025-01-01 15:10:07,207 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...

2025-01-01 15:10:07,216 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 15:10:07,224 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table 51820

2025-01-01 15:10:07,231 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table main suppress_prefixlength 0

2025-01-01 15:10:07,240 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0

2025-01-01 15:10:07,305 DEBG 'start-script' stderr output:
[#] resolvconf -d wg0 -f

2025-01-01 15:10:07,310 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 15:10:07,346 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 15:10:07,350 DEBG 'start-script' stderr output:
[#] '/root/wireguarddown.sh'

2025-01-01 15:10:07,357 DEBG 'start-script' stdout output:
[info] WireGuard interface 'down'

2025-01-01 15:10:07,360 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...

2025-01-01 15:10:07,368 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...

2025-01-01 15:10:07,377 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 15:10:07,385 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard

2025-01-01 15:10:07,387 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63

2025-01-01 15:10:07,388 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.2.0.2/32 dev wg0

2025-01-01 15:10:07,396 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0

2025-01-01 15:10:07,399 DEBG 'start-script' stderr output:
[#] resolvconf -a wg0 -m 0 -x

2025-01-01 15:10:07,406 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 15:10:07,446 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820

2025-01-01 15:10:07,447 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

2025-01-01 15:10:07,449 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820

2025-01-01 15:10:07,451 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0

2025-01-01 15:10:07,454 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1

2025-01-01 15:10:07,456 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 15:10:07,458 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'

2025-01-01 15:10:09,494 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2025-01-01 15:10:09,570 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.130.187.8

2025-01-01 15:10:09,570 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'protonvpn'

2025-01-01 15:10:09,572 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'

2025-01-01 15:10:11,606 DEBG 'start-script' stdout output:
initnatpmp() returned 0 (SUCCESS)
using gateway : 10.2.0.1
sendpublicaddressrequest returned 2 (SUCCESS)
readnatpmpresponseorretry returned 0 (OK)
Public IP address : 185.130.187.8
epoch = 3628478
closenatpmp() returned 0 (SUCCESS)

2025-01-01 15:39:52,058 DEBG 'watchdog-script' stdout output:
[info] qbittorrent incoming port closed, marking for reconfigure

2025-01-01 15:40:09,814 DEBG 'start-script' stdout output:
[info] Sending 'down' command to WireGuard due to port closed...

2025-01-01 15:40:09,815 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'down'...

2025-01-01 15:40:09,824 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 15:40:09,832 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table 51820

2025-01-01 15:40:09,839 DEBG 'start-script' stderr output:
[#] ip -4 rule delete table main suppress_prefixlength 0

2025-01-01 15:40:09,847 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0

2025-01-01 15:40:09,932 DEBG 'start-script' stderr output:
[#] resolvconf -d wg0 -f

2025-01-01 15:40:09,937 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 15:40:09,971 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 15:40:09,975 DEBG 'start-script' stderr output:
[#] '/root/wireguarddown.sh'

2025-01-01 15:40:09,982 DEBG 'start-script' stdout output:
[info] WireGuard interface 'down'

2025-01-01 15:40:09,985 DEBG 'start-script' stdout output:
[info] Configuring WireGuard...

2025-01-01 15:40:09,994 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...

2025-01-01 15:40:10,002 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible

2025-01-01 15:40:10,010 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard

2025-01-01 15:40:10,012 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63

2025-01-01 15:40:10,013 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.2.0.2/32 dev wg0

2025-01-01 15:40:10,021 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0

2025-01-01 15:40:10,024 DEBG 'start-script' stderr output:
[#] resolvconf -a wg0 -m 0 -x

2025-01-01 15:40:10,030 DEBG 'start-script' stderr output:
could not detect a useable init system

2025-01-01 15:40:10,070 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820

2025-01-01 15:40:10,071 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

2025-01-01 15:40:10,073 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820

2025-01-01 15:40:10,075 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0

2025-01-01 15:40:10,078 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1

2025-01-01 15:40:10,080 DEBG 'start-script' stderr output:
[#] iptables-restore -n

2025-01-01 15:40:10,082 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'

2025-01-01 15:40:12,119 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2025-01-01 15:40:12,191 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.130.187.8

2025-01-01 15:40:12,192 DEBG 'start-script' stdout output:
[info] Script started to assign incoming port for 'protonvpn'

2025-01-01 15:40:12,193 DEBG 'start-script' stdout output:
[info] WireGuard interface 'up'

2025-01-01 15:40:14,237 DEBG 'start-script' stdout output:
initnatpmp() returned 0 (SUCCESS)
using gateway : 10.2.0.1
sendpublicaddressrequest returned 2 (SUCCESS)
readnatpmpresponseorretry returned 0 (OK)
Public IP address : 185.130.187.8
epoch = 3630281
closenatpmp() returned 0 (SUCCESS)

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant