I have a question regarding the “Location Filter” and firewall rule.
I have a VM running on my router that hosts NextCloud. For NextCloud I have manually renewed the certificate from Let’s Encrypt every 3 months. Now I want to automate this and use the “acme.sh” which does this by itself.
But now I have activated the Location FIlter on my router and only Germany is allowed, and I have deactivated the incoming port 80.
When I had always manually extended the certificate, I activated the firewall rule for the forwarding of port 80 and switched off the location filter. After the renewal, I reset the original status.
How can I automate this via command from my VM?
Before starting acme.sh, the rule for port 80 should be automatically activated from the VM and the location filter should be set to inactive or the corresponding region where the Let’s Encrypt servers are located (could be US) should be released.
Does anyone have a similar problem or a solution even to whare the security and still get the certificate automatically?