ssl enabled ddns for toon with letsencrypt certificate
Posted: Thu Mar 03, 2022 11:05 pm
Hi all, I tried to write an HOWTO to achieve a ssl enabled ddns domain for toon with a valid letsencrypt certificate.
... and I ended up with a script called ddns_client.sh which installs a dyndns client for dynu.com and also acme.sh for creating and automatic updating a let'sencrypt SSL certifcate.
As a result you'll get external password protected SSL (mobile) access for rooted Toon on a -always free- dynu ddns domain.
I published the script on github
in short:
Tested on Toon1. I don't have access to a Toon 2. Assume this script could work on Toon 2 too, maybe with minor changes.
Use at your own risk...
... and I ended up with a script called ddns_client.sh which installs a dyndns client for dynu.com and also acme.sh for creating and automatic updating a let'sencrypt SSL certifcate.
As a result you'll get external password protected SSL (mobile) access for rooted Toon on a -always free- dynu ddns domain.
I published the script on github
in short:
- Specify username and pasword in Toon for mobile access
- Create an account on dynu.com and register one of their free third level ddns domains and make a note of Client_id and secret.
- Create a port forwarding rule on your router
- After logging in in Toon with putty I can (maybe you can too) install the script online directly from github:
Code: Select all
curl https://raw.githubusercontent.com/gerlag/ddns_for_toon/main/ddns_client_download.sh -O && sh ddns_client_download.sh install
Tested on Toon1. I don't have access to a Toon 2. Assume this script could work on Toon 2 too, maybe with minor changes.
Use at your own risk...