its gone back and ports closing again now:(
Quote from: Selfhoster on November 01, 2023, 11:46:18 am its gone back and ports closing again now:(Disclosure: I don't do docker nor containers.That out of the way, what tells you ports are closed, where are the listeners?
There are timeout rules, it's called "states". If a state times out, the connection is closed. That's probably what makes it "look" like ports are closed, even if they are not. You can change the behavior of the OPNsense regarding states. Firewall: Settings: Advanced: Firewall Optimization or Schedule States. But be careful with those.When you restart NGINX, the states are probably initiated again.Check "Firewall: Diagnostics: States" and find the "Rule" that allows your port forward. Also look in Firewall: Diagnostics: Sessions" to see if the TCP Sessions Age and Expires is working correctly.