Add nft support through ip(6)tables-translate#135
Open
haubentaucher wants to merge 8 commits intofwbuilder:masterfrom
Open
Add nft support through ip(6)tables-translate#135haubentaucher wants to merge 8 commits intofwbuilder:masterfrom
haubentaucher wants to merge 8 commits intofwbuilder:masterfrom
Conversation
changes were made to adjust the product to RAD Data and Communication RADView convention
Replace ip(6)tables with ip(6)tables-translate to enable transition to nftables and extend lifetime of software. Add nftables compatible configlets for reset and stop of firewall.
"onlink" option needs to be added if gateway is not directly connected. This could be done automatically by looking at the IPs of all interfaces of the firewall, comparing them to the gateway's IP. Just don't know how to do this (yet).
iptables-translate escapes all quotes, which does not work anymore with (ba)sh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following changes add basic nftables support to make fwbuilder usable for modern routers & firewalls. It is clearly no native support of nftables, and some features such as automatic creation of conntrack helpers is missing.
b148847
6ee0fd6
Hope this helps to keep fwbuilder alive.