Skip to content

Instantly share code, notes, and snippets.

@sebastian13
Created August 30, 2019 18:14
Show Gist options
  • Save sebastian13/772e0cfb20501af6a16e460f0910f6ec to your computer and use it in GitHub Desktop.
Save sebastian13/772e0cfb20501af6a16e460f0910f6ec to your computer and use it in GitHub Desktop.
Collection of useful terminal commands for Synology DS.
# Renew Let's Encrypt Certificates
/usr/syno/sbin/syno-letsencrypt renew-all
# Disable Firewall
/usr/syno/bin/synofirewall --disable
@devrique
Copy link

The second one was very useful to solve a weird issue that locked my 5000-5001 ports, thank you!

@Floriszz
Copy link

I'm logged with the admin account and get the following answer:
-sh: /usr/syno/bin/synofirewall: Permission denied

@Floriszz
Copy link

Floriszz commented Oct 17, 2024

Found the answer. After login you need to provide:
sudo -i
enter the admin password second time
then it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment