added systemctl netfilter to readme

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-16 18:24:36 +01:00
parent 5774ece121
commit 02996bb2b6
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ Then save and exit.
Last step for the routing is to enable a firewall rule on the Pi
```
sudo systemctl enable netfilter-persistent
sudo systemctl start netfilter-persistent
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo netfilter-persistent save
```