- change AP firewall back to script, now using netfilter (requ raspbian 10)

- install netfilter packages on AP nodes
This commit is contained in:
Pi
2019-10-04 13:36:01 -04:00
parent 322b2c2de4
commit e8e6d4f4db
5 changed files with 85 additions and 22 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
nft add table ip nat
nft add chain ip nat prerouting { type nat hook prerouting priority 0 \; }
nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }
nft add rule nat postrouting oifname eth0 masquerade