Firewall rules not being added to UFW in ubuntu

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

Make sure you search before posting! Duplicate posts for the same issue may not be answered.

OS Name/Version: Ubuntu 22.04.5 LTS

Product Name/Version: Currently running version 2.6 - 20241025.4

Problem Description: When creating new instances the firewall rules are not being automatically added in UFW. I’ve upgraded to the latest patch which I think the notes in the post for the release said 20241025.1 resolved the issue.

Steps to reproduce:

Create new instance
Try to connect to game server without success
Log into instance and run ‘sudo ufw status’ and observe the ports missing

Actions taken to resolve so far:

Made sure running latest patch / update
Added ports manually to confirm this resolves the issue
Made sure ‘Exclude new instances from firewall’ setting is disabled

As root:

apt install --reinstall ampinstmgr
ampinstmgr updatefirewall