3b5babb86a6f26cdd28a0155ced3303bc7bac971
Network/Pixie.md
| ... | ... | @@ -112,11 +112,28 @@ Certbot is now installed as a package. |
| 112 | 112 | |
| 113 | 113 | 1. Leave nginx running |
| 114 | 114 | 2. Allow iptables 80 tcp input |
| 115 | -3. Enable 80 port forward on router to pixie3 |
|
| 115 | +3. Enable 80 port forward on router to pixie3 |
|
| 116 | + |
|
| 117 | + ``` |
|
| 118 | + uci show firewall.@redirect[4].name # confirm the key |
|
| 119 | + uci set firewall.@redirect[4].enabled=1 |
|
| 120 | + uci changes |
|
| 121 | + uci commit firewall |
|
| 122 | + reload_config |
|
| 123 | + ``` |
|
| 124 | + |
|
| 116 | 125 | 4. Run `sudo certbot renew --nginx` |
| 117 | 126 | 5. Check cert `openssl x509 -text -in /etc/letsencrypt/live/ha.home.whalebarn.com/cert.pem` |
| 118 | -6. Disallow iptables 80 and disable 80 port forward |
|
| 119 | -7. Restart nginx |
|
| 127 | +6. Disallow iptables 80 and disable 80 port forward |
|
| 128 | + ``` |
|
| 129 | + uci show firewall.@redirect[4].name # confirm the key |
|
| 130 | + uci set firewall.@redirect[4].enabled=0 |
|
| 131 | + uci changes |
|
| 132 | + uci commit firewall |
|
| 133 | + reload_config |
|
| 134 | + ``` |
|
| 135 | + |
|
| 136 | +7. Restart nginx |
|
| 120 | 137 | |
| 121 | 138 | |
| 122 | 139 | |
| ... | ... | @@ -284,4 +301,4 @@ User `hass` |
| 284 | 301 | [33]: Pixie?action=sourceblock&num=7 |
| 285 | 302 | [35]: Pixie?action=sourceblock&num=8 |
| 286 | 303 | [36]: Pixie?action=sourceblock&num=9 |
| 287 | - [37]: Pixie?action=sourceblock&num=10 |
|
| ... | ... | \ No newline at end of file |
| 0 | + [37]: Pixie?action=sourceblock&num=10 |