What's new

Is it possible to temporarily change port forward rule from command line on asus rt68ac?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Kilthar

New Around Here
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
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top