Hi,
I would like to automate let’s encrypt certificate renewal for my Synology Nas.
The annoying bit is it requires forwarding port 80 from outside to 80 of the Nas which I normally don’t use for obvious security reasons .
So every 3 months I have to go in and change the port forward rule for port 80 , renew the certificate and change it back again to what it normally is.
Is there a way to change this rule via a script just to run the renewal commands and change it back to my original settings all within one terminal session without any reboots needed?
So say normally i forward port 55555 (just an example port) to 80 @ synology but need to forward to 80 directly or let’s encrypt will not work.
So i want to automate:
Wan 55555 -> 80 synology
Wan 80 -> 80 synology
Now run the renewal commands.
And back to:
Wan 55555 -> 80 synology
Thx,
Tom
I would like to automate let’s encrypt certificate renewal for my Synology Nas.
The annoying bit is it requires forwarding port 80 from outside to 80 of the Nas which I normally don’t use for obvious security reasons .
So every 3 months I have to go in and change the port forward rule for port 80 , renew the certificate and change it back again to what it normally is.
Is there a way to change this rule via a script just to run the renewal commands and change it back to my original settings all within one terminal session without any reboots needed?
So say normally i forward port 55555 (just an example port) to 80 @ synology but need to forward to 80 directly or let’s encrypt will not work.
So i want to automate:
Wan 55555 -> 80 synology
Wan 80 -> 80 synology
Now run the renewal commands.
And back to:
Wan 55555 -> 80 synology
Thx,
Tom