User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:public:letencrypt_nas_behind_turris [2017/10/23 22:00]
tristone created
en:public:letencrypt_nas_behind_turris [2017/10/24 08:35]
tristone
Line 23: Line 23:
 All things are going to happen in ''/​root/​.acme.sh''​ to be consistent with [[en:​public:​letencrypt_turris_lighttpd|Set Let's Encrypt certificate for web GUI]] All things are going to happen in ''/​root/​.acme.sh''​ to be consistent with [[en:​public:​letencrypt_turris_lighttpd|Set Let's Encrypt certificate for web GUI]]
  
-Create file //​addNAS.gw//​ (''​vi ​add443.gw''​)\\+Create file //​addNAS.gw//​ (''​vi ​addNAS.gw''​)\\
 <wrap tip>​Ports mentioned here are for Synology NAS. Update according to your device needs.</​wrap>​ <wrap tip>​Ports mentioned here are for Synology NAS. Update according to your device needs.</​wrap>​
 <file bash addNAS.gw>​ <file bash addNAS.gw>​
Line 67: Line 67:
 </​file>​ </​file>​
  
-Create file //​close_acme_NAS.sh//​ (''​vi ​open_acme_NAS.sh''​)+Create file //​close_acme_NAS.sh//​ (''​vi ​close_acme_NAS.sh''​)
 <file bash close_acme_NAS.sh>​ <file bash close_acme_NAS.sh>​
 #!/bin/bash #!/bin/bash
Line 75: Line 75:
 mv /​etc/​config/​firewall.nas~ /​etc/​config/​firewall mv /​etc/​config/​firewall.nas~ /​etc/​config/​firewall
 /​etc/​init.d/​firewall reload /​etc/​init.d/​firewall reload
 +
 +# Start back lighttpd - optional based on conditions
 +/​etc/​init.d/​lighttpd start
 </​file>​ </​file>​