This website requires JavaScript.
Explore
Help
Sign In
freifunk-franken
/
firmware
Watch
9
Star
7
Fork
You've already forked firmware
13
Code
Issues
48
Pull Requests
7
Releases
17
Wiki
Activity
d593b1aa5e
firmware
/
src
/
packages
/
fff
/
fff-firewall
/
files
/
usr
/
lib
/
firewall.d
/
00-prepare
4 lines
37 B
Plaintext
Raw
Normal View
History
Unescape
Escape
fff-firewall: Switch from ip/ebtables to nftables Include nftables and appropriate modules. Translate ip- and ebtables rules to their nftables counterparts. Remove ip/ebtables and modules. This change intentionally tries to keep structural changes at a minimum to keep the rule translation comprehensible. kmod-nft-bridge is not required for fff-node, because it was merged into a single kernel module since Linux 4.17: [1] https://github.com/torvalds/linux/commit/02c7b25e5f54321b9063e18d4f52cce07f8e081d [2] https://github.com/openwrt/openwrt/commit/fbaf48387eb5e0e2bdc90d4c6f985a242a9fb0cc Fixes: #252 Signed-off-by: Fabian Bläse <fabian@blaese.de> Co-authored-by: Johannes Kimmel <fff@bareminimum.eu>
2022-12-18 13:46:03 +01:00
nft -f - <<__EOF
flush ruleset
__EOF