Hi,
I have a strange issue. I have local nginx installed and have moved to the re-foris/luci to port 81. Then I setup firewall traffic rules to “this device” for all incoming traffic on port 80 & 443 and moved it to the top of all rules.
Nginx runs also on port 80 & 443 with letsencrypt certificate managed by acme.sh client.
Which works fine as long as I reboot turris. Then somehow the firewall rules don’t work anymore and the certificate renewal fails because some 401 page is returned instead of the ones from nginx.
The only way to get it to work is to login to luci → firewall rules. Disable the rules for 80 & 443 and save and apply. Then re-enable both and again save & apply again. Then nginx starts serving again on port 80 & 443.
just doing a “/etc/init.d/fiewall restart” unfortunately doesn’t seem to do the trick. It’s probably something related to the way firewall rules are applied or so. I never found out how to do it on terminal through command line commands.
How can I debug this issue, I have this since months and it’s slowly killing me that after every reboot I have to take manual action.
BTW. My Turris Omnia is running on TOS 5.4.4
Any help on this long standing issue, or some workaround so I can write a script that does the disabling/re-enabling for me would be of great value.
Thanks for any help on debugging or finding a workaround in advance.