From 08cfad14ac924faa283ed07268ff53afc4548222 Mon Sep 17 00:00:00 2001 From: May P Date: Tue, 25 Nov 2025 15:33:19 +0200 Subject: [PATCH] forgot about removal --- services/natQueue.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/natQueue.js b/services/natQueue.js index 6bfbd9c..c25a79e 100644 --- a/services/natQueue.js +++ b/services/natQueue.js @@ -40,7 +40,8 @@ export function enqueueNatRemove(ip, port, proto='tcp') { info(`NAT DEL ${proto} ${ip}:${port}`); await runRouterCmds([ 'conf t', - `no ip nat inside source static ${proto} ${ip} ${port} interface ${process.env.ROUTER_WAN_IF || 'gi0'} ${port}`, + `no ip nat inside source static tcp ${ip} ${port} interface ${process.env.ROUTER_WAN_IF || 'gi0'} ${port}`, + `no ip nat inside source static udp ${ip} ${port} interface ${process.env.ROUTER_WAN_IF || 'gi0'} ${port}`, 'end', 'wr mem' ]);