parent
5774ece121
commit
02996bb2b6
|
@ -208,6 +208,8 @@ Then save and exit.
|
||||||
Last step for the routing is to enable a firewall rule on the Pi
|
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 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
sudo netfilter-persistent save
|
sudo netfilter-persistent save
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue