docs/main/prerequisites: ufw: Split IPv4 / IPv6 rules

Following request of @dschaper
This commit is contained in:
Felix Stupp
2019-09-09 18:18:38 +02:00
parent 338ab2bc77
commit 81ab1c7304
+6 -1
View File
@@ -80,14 +80,19 @@ firewall-cmd --reload
#### ufw
ufw stores all rules persistent, so you just need to execute the commands below. If only IPv4 blocking is used for the Pi-hole installation, the rule `546:547/udp` can be removed from the commands below.
ufw stores all rules persistent, so you just need to execute the commands below.
IPv4:
```bash
ufw allow 80/tcp
ufw allow 53/tcp
ufw allow 53/udp
ufw allow 67/tcp
ufw allow 67/udp
```
IPv6 (include above IPv4 rules):
```bash
ufw allow 546:547/udp
```
{!abbreviations.md!}