Updatefirewall don't add rules

OS Name/Version: Debian GNU/Linux 11 (bullseye)

Product Name/Version: AMP Instance Manager v2.6.1.6 built 17/04/2025 03:57

Problem Description:
Try to figure out why ampinstmgr updatefirewall do not make any changes to firewall rules.
When I run updatefirewall it looks like everything work good:

ampinstmgr updatefirewall
[Info/1] AMP Instance Manager v2.6.1.6 built 17/04/2025 03:57
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info/1] Using iptables firewall.
[Info/1] Adding 25 new firewall rules
[Info/1] Firewall rule to add: TCP/2223 (AMP:ADS01:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info/1] Firewall rule to add: UDP/12820 (AMP:ADS01:ADSModule.Network.MetricsServerPort)
[Info/1] Firewall rule to add: TCP/2225 (AMP:TS3Server01:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info/1] Firewall rule to add: UDP/9987 (AMP:TS3Server01:GenericModule.App.Ports.$Voice)
[Info/1] Firewall rule to add: TCP/30034 (AMP:TS3Server01:GenericModule.App.Ports.$Filetransfer)
[Info/1] Firewall rule to add: TCP/10012 (AMP:TS3Server01:GenericModule.App.Ports.$ServerQueryRAW)
[Info/1] Firewall rule to add: TCP/10023 (AMP:TS3Server01:GenericModule.App.Ports.$ServerQuerySSH)
[Info/1] Firewall rule to add: TCP/10081 (AMP:TS3Server01:GenericModule.App.Ports.$WebQueryHTTP)
[Info/1] Firewall rule to add: TCP/10443 (AMP:TS3Server01:GenericModule.App.Ports.$WebQueryHTTPS)
[Info/1] Firewall rule to add: TCP/2226 (AMP:AVORIONHQ01:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info/1] Firewall rule to add: UDP/27003 (AMP:AVORIONHQ01:GenericModule.App.Ports.$QueryPort)
[Info/1] Firewall rule to add: UDP/27020 (AMP:AVORIONHQ01:GenericModule.App.Ports.$SteamQueryPort)
[Info/1] Firewall rule to add: UDP/27021 (AMP:AVORIONHQ01:GenericModule.App.Ports.$SteamPort)
[Info/1] Firewall rule to add: TCP/27015 (AMP:AVORIONHQ01:GenericModule.App.Ports.$RCONPort)
[Info/1] Firewall rule to add: TCP/2224 (AMP:Valheim01:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info/1] Firewall rule to add: UDP/2456 (AMP:Valheim01:GenericModule.App.Ports.$ApplicationPort1)
[Info/1] Firewall rule to add: UDP/2457 (AMP:Valheim01:GenericModule.App.Ports.$ApplicationPort2)
[Info/1] Firewall rule to add: TCP/2227 (AMP:RUST01:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info/1] Firewall rule to add: UDP/28015 (AMP:RUST01:RustModule.Rust.Port)
[Info/1] Firewall rule to add: UDP/28016 (AMP:RUST01:RustModule.Rust.QueryPort)
[Info/1] Firewall rule to add: TCP/5678 (AMP:RUST01:RustModule.Rust.RconPort)
[Info/1] Firewall rule to add: TCP/28082 (AMP:RUST01:RustModule.Rust.AppPlusPort)
[Info/1] Firewall rule to add: TCP/8081 (AMP:ADS01:Core.Webserver.Port)
[Info/1] Firewall rule to add: TCP/27000 (AMP:AVORIONHQ01:GenericModule.App.Ports.$GamePort)
[Info/1] Firewall rule to add: UDP/27000 (AMP:AVORIONHQ01:GenericModule.App.Ports.$GamePort)
[Info/1] No existing firewall rules to remove

and when next:

ampinstmgr dumpfirewall
[Info/1] AMP Instance Manager v2.6.1.6 built 17/04/2025 03:57
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info/1] Using iptables firewall.
[Info/1] No firewall rules to display.

Every time when i use updatefirewall it try to add new rules but without any error.

When I add iptables rule manually then everything works.

How can I debug it to find what cause problem?

Best regards

EDIT:
After few reboots and remove some unused staff, updatefirewall start adding rules.
I don’t know why it not working.

What user were you logged in as when you ran that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.