AbhorrentJoel
posted this
18 September 2020
Have followed your instructions and can confirm now that ampinstmgr dumpports amp
grepping for the instance shows the ports for both TCP and UDP:
[Info] TCP/2232 (AMP:SevenDays03:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] TCP/8768 (AMP:SevenDays03:SevenDaysModule.Server.WebServicePort)
[Info] TCP/27017 (AMP:SevenDays03:SevenDaysModule.Server.TelnetPort)
[Info] TCP/27016 (AMP:SevenDays03:SevenDaysModule.Server.ServerPort)
[Info] UDP/27016 (AMP:SevenDays03:SevenDaysModule.Server.ServerPort)
The ports also show for the ufw:
2232/tcp ALLOW Anywhere # AMP:SevenDays03:FileManagerPlugin.SFTP.SFTPPortNumber
8768/tcp ALLOW Anywhere # AMP:SevenDays03:SevenDaysModule.Server.WebServicePort
27017/tcp ALLOW Anywhere # AMP:SevenDays03:SevenDaysModule.Server.TelnetPort
27016/tcp ALLOW Anywhere # AMP:SevenDays03:SevenDaysModule.Server.ServerPort
27016/udp ALLOW Anywhere # AMP:SevenDays03:SevenDaysModule.Server.ServerPort
2232/tcp (v6) ALLOW Anywhere (v6) # AMP:SevenDays03:FileManagerPlugin.SFTP.SFTPPortNumber
8768/tcp (v6) ALLOW Anywhere (v6) # AMP:SevenDays03:SevenDaysModule.Server.WebServicePort
27017/tcp (v6) ALLOW Anywhere (v6) # AMP:SevenDays03:SevenDaysModule.Server.TelnetPort
27016/tcp (v6) ALLOW Anywhere (v6) # AMP:SevenDays03:SevenDaysModule.Server.ServerPort
27016/udp (v6) ALLOW Anywhere (v6) # AMP:SevenDays03:SevenDaysModule.Server.ServerPort
These rules have also been applied to existing instances, too.
Just to note, it is still showing only UDP for the port bindings in the panel. Obviously I know it isn't, but I just wanted to make that clear. Is that a problem my side or in AMP itself? On a fresh AMP install on Windows (deleting the existing data store), it was still only showing UDP in the port bindings via the panel.
Thanks for the help here.
Just one more thing, I've noticed that the ampfirewall.timer doesn't seem to re-enable itself after an update to ampinstmgr via apt. I can certainly make a separate thread if necessary when it next happens if that is not expected behaviour.