-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source NAT addresses are not handled properly #14
Comments
I have been working on rewriting the ruleset into nftables. Here is a demo of it now properly filtering the NAT ranges.
This is when I ping them without the firewall in place. Now if we apply something like
No more traffic will leave the host. If we send a packet to the reserved ranges, we get an ICMP error message back:
|
As seen in
kaboomserver/server#147
it is problematic that the ranges used for source NAT are not handled properly.
My proposals for solving this issue:
I would also propose moving to nftables, as it is more modern and rulesets tend to look more clean. Most xtables binaries are linked to nftables translators nowadays anyway.
The text was updated successfully, but these errors were encountered: