So i upgraded to lastest version that had qbit 5.3 and that was not my smartest moment as 5.3 is banned from some providers as 5.3 has problems. so i went back to 5.2 tag (im not sure what version i had, but i tend to upgrade pretty often) Now it seems it will not change incomming port in qbittorrent when PIA sets the incomming port. It says it sees the difference in the ports but still keeps it at a differnt port. Cant see anything in the logs, even tried to delete lock file and start container again. Also had to set my gui password again. Seems it restarts the connection also to the vpn after it has everything online. edit: i did try to edit in qbit gui the connection port to the port that the docker said it got from the vpn client and then everything was green. So it seem the qbit config is not changed for some reason. i also tried 5.2.4-1-02 tag with same error. Edit2: i got this working by doing this: Open Settings → Web UI → Authentication in qBittorrent. Enable “Bypass authentication for clients on localhost”. Save and restart the container. Check that the listening port under Connection matches the PIA port in the new log. Any pointers? DEBG 'watchdog-script' stdout output: [info] qBittorrent incoming port 6881 and VPN incoming port 29587 different, marking for reconfigure DEBG 'watchdog-script' stdout output: [info] qBittorrent config file already exists, skipping copy [info] Removing session lock file (if it exists)... DEBG 'watchdog-script' stdout output: [info] Removing qbittorrent lock file (if it exists)... DEBG 'watchdog-script' stdout output: [info] Attempting to start qBittorrent... DEBG 'watchdog-script' stdout output: [info] qBittorrent process started [info] Waiting for qBittorrent process to start listening on port 8080... DEBG 'watchdog-script' stdout output: [info] qBittorrent process listening on port 8080 DEBG 'watchdog-script' stdout output: [info] Attempting to start Privoxy... DEBG 'watchdog-script' stdout output: [info] Privoxy process started [info] Waiting for Privoxy process to start listening on port 8118... DEBG 'watchdog-script' stdout output: [info] Privoxy process listening on port 8118 DEBG 'start-script' stdout output: [info] Successfully assigned and bound incoming port DEBG 'start-script' stdout output: [info] Successfully assigned and bound incoming port DEBG 'start-script' stdout output: [info] Successfully assigned and bound incoming port DEBG 'watchdog-script' stdout output: [info] qbittorrent incoming port closed, marking for reconfigure DEBG 'start-script' stdout output: [info] Sending SIGTERM (-15) to 'openvpn' due to port closed... DEBG 'start-script' stdout output: event_wait : Interrupted system call (fd=-1,code=4) DEBG 'start-script' stdout output: net_addr_v4_del: 10.31.192.48 dev tun0 DEBG 'start-script' stdout output: /root/openvpndown.sh tun0 1500 0 10.31.192.48 255.255.192.0 init DEBG 'start-script' stdout output: SIGTERM[hard,] received, process exiting DEBG 'start-script' stdout output: [info] Starting OpenVPN (non daemonised)... DEBG 'start-script' stdout output: DEPRECATED OPTION: --persist-key option ignored. Keys are now always persisted across restarts. DEBG 'start-script' stdout output: DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (DEFAULT). OpenVPN ignores --cipher for cipher negotiations. DEBG 'start-script' stdout output: WARNING: file 'credentials.conf' is group or others accessible DEBG 'start-script' stdout output: OpenVPN 2.7.7 [git:makepkg/85f07f7b784009ad+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Sep 3 2026 library versions: OpenSSL 3.6.5 29 Sep 2026, LZO 2.10 DCO version: N/A DEBG 'start-script' stdout output: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts DEBG 'start-script' stdout output: TCP/UDP: Preserving recently used remote address: [AF_INET]104.18.159.201:1198 UDPv4 link local: (not bound) UDPv4 link remote: [AF_INET]104.18.159.201:1198 DEBG 'start-script' stdout output: [UNDEF] Inactivity timeout (--ping-restart), restarting DEBG 'start-script' stdout output: SIGHUP[soft,ping-restart] received, process restarting DEBG 'start-script' stdout output: DEPRECATED OPTION: --persist-key option ignored. Keys are now always persisted across restarts. DEBG 'start-script' stdout output: DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (DEFAULT). OpenVPN ignores --cipher for cipher negotiations. DEBG 'start-script' stdout output: WARNING: file 'credentials.conf' is group or others accessible DEBG 'start-script' stdout output: OpenVPN 2.7.7 [git:makepkg/85f07f7b784009ad+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Sep 3 2026 library versions: OpenSSL 3.6.5 29 Sep 2026, LZO 2.10 DCO version: N/A DEBG 'start-script' stdout output: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts DEBG 'start-script' stdout output: TCP/UDP: Preserving recently used remote address: [AF_INET]172.64.150.50:1198 UDPv4 link local: (not bound) DEBG 'start-script' stdout output: UDPv4 link remote: [AF_INET]172.64.150.50:1198 DEBG 'start-script' stdout output: [UNDEF] Inactivity timeout (--ping-restart), restarting DEBG 'start-script' stdout output: SIGHUP[soft,ping-restart] received, process restarting DEBG 'start-script' stdout output: DEPRECATED OPTION: --persist-key option ignored. Keys are now always persisted across restarts. DEBG 'start-script' stdout output: DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (DEFAULT). OpenVPN ignores --cipher for cipher negotiations. DEBG 'start-script' stdout output: WARNING: file 'credentials.conf' is group or others accessible DEBG 'start-script' stdout output: OpenVPN 2.7.7 [git:makepkg/85f07f7b784009ad+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Sep 3 2026 library versions: OpenSSL 3.6.5 29 Sep 2026, LZO 2.10 DCO version: N/A DEBG 'start-script' stdout output: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts DEBG 'start-script' stdout output: TCP/UDP: Preserving recently used remote address: [AF_INET]158.173.241.133:1198 DEBG 'start-script' stdout output: UDPv4 link local: (not bound) UDPv4 link remote: [AF_INET]158.173.241.133:1198 DEBG 'start-script' stdout output: [UNDEF] Inactivity timeout (--ping-restart), restarting DEBG 'start-script' stdout output: SIGHUP[soft,ping-restart] received, process restarting DEBG 'start-script' stdout output: DEPRECATED OPTION: --persist-key option ignored. Keys are now always persisted across restarts. DEBG 'start-script' stdout output: DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (DEFAULT). OpenVPN ignores --cipher for cipher negotiations. DEBG 'start-script' stdout output: WARNING: file 'credentials.conf' is group or others accessible DEBG 'start-script' stdout output: OpenVPN 2.7.7 [git:makepkg/85f07f7b784009ad+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Sep 3 2026 library versions: OpenSSL 3.6.5 29 Sep 2026, LZO 2.10 DCO version: N/A DEBG 'start-script' stdout output: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts DEBG 'start-script' stdout output: TCP/UDP: Preserving recently used remote address: [AF_INET]172.64.150.50:1198 UDPv4 link local: (not bound) UDPv4 link remote: [AF_INET]172.64.150.50:1198 DEBG 'start-script' stdout output: [UNDEF] Inactivity timeout (--ping-restart), restarting DEBG 'start-script' stdout output: SIGHUP[soft,ping-restart] received, process restarting DEBG 'start-script' stdout output: DEPRECATED OPTION: --persist-key option ignored. Keys are now always persisted across restarts. DEBG 'start-script' stdout output: DEPRECATED OPTION: --cipher set to 'aes-128-cbc' but missing in --data-ciphers (DEFAULT). OpenVPN ignores --cipher for cipher negotiations. DEBG 'start-script' stdout output: WARNING: file 'credentials.conf' is group or others accessible DEBG 'start-script' stdout output: OpenVPN 2.7.7 [git:makepkg/85f07f7b784009ad+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Sep 3 2026 library versions: OpenSSL 3.6.5 29 Sep 2026, LZO 2.10 DCO version: N/A DEBG 'start-script' stdout output: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts DEBG 'start-script' stdout output: TCP/UDP: Preserving recently used remote address: [AF_INET]158.173.241.133:1198 DEBG 'start-script' stdout output: UDPv4 link local: (not bound) UDPv4 link remote: [AF_INET]158.173.241.133:1198