more ipv6 fixes
This commit is contained in:
@@ -94,3 +94,16 @@ systemctl restart cloudflared
|
||||
sudo chmod +x /etc/cron.weekly/cloudflared-updater
|
||||
sudo chown root:root /etc/cron.weekly/cloudflared-updater
|
||||
```
|
||||
|
||||
## IPTables
|
||||
|
||||
For masquerading to other networks.
|
||||
|
||||
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1 -j MASQUERADE
|
||||
|
||||
```bash
|
||||
iptables -t nat -I POSTROUTING 1 -s 10.55.87.0/24 -o end0.3 -j MASQUERADE
|
||||
|
||||
iptables -I FORWARD 1 -i wg0 -o end0.3 -j ACCEPT
|
||||
iptables -I FORWARD 1 -i end0.3 -o wg0 -j ACCEPT
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user