From ec34a28c50671e8a02f4145d3c857ba324a5b2a7 Mon Sep 17 00:00:00 2001 From: SamNet-dev Date: Wed, 4 Feb 2026 17:37:53 -0600 Subject: [PATCH] fix: startup script sources wrong config file for custom ports The start-both.sh script was sourcing paqctl.conf which doesn't exist. Changed to settings.conf where LISTEN_PORT and GFK_VIO_PORT are saved. This caused iptables rules to always use default ports (8443/45000) even when user configured different ports, resulting in port mismatch. --- paqctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paqctl.sh b/paqctl.sh index d05a188..6cdc793 100644 --- a/paqctl.sh +++ b/paqctl.sh @@ -1600,7 +1600,7 @@ GFK_DIR="\${INSTALL_DIR}/gfk" ROLE="${ROLE}" # Source config for ports -[ -f "\${INSTALL_DIR}/paqctl.conf" ] && . "\${INSTALL_DIR}/paqctl.conf" +[ -f "\${INSTALL_DIR}/settings.conf" ] && . "\${INSTALL_DIR}/settings.conf" # Apply firewall rules (server only) if [ "\$ROLE" = "server" ]; then