Commit b05d7a670b57f4634521c7449bf7b41dc6f50884
1 parent
5ce8a415
Exists in
master
Add a HTTPS firewall example for Centos 7
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
README.md
@@ -310,8 +310,12 @@ HTTPS traffic. | @@ -310,8 +310,12 @@ HTTPS traffic. | ||
310 | # UFW example (Debian, Ubuntu) | 310 | # UFW example (Debian, Ubuntu) |
311 | sudo ufw allow https | 311 | sudo ufw allow https |
312 | 312 | ||
313 | -# lokkit example (RedHat, CentOS) | 313 | +# lokkit example (RedHat, CentOS 6) |
314 | sudo lokkit -s https | 314 | sudo lokkit -s https |
315 | + | ||
316 | +# firewall-cmd (RedHat, Centos 7) | ||
317 | +sudo firewall-cmd --permanent --add-service=https | ||
318 | +sudo systemctl reload firewalld | ||
315 | ``` | 319 | ``` |
316 | 320 | ||
317 | #### Redirect `HTTP` requests to `HTTPS`. | 321 | #### Redirect `HTTP` requests to `HTTPS`. |