-
Notifications
You must be signed in to change notification settings - Fork 376
firewall: T7452: update rule generation for Zone-based firewall #4506
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
base: current
Are you sure you want to change the base?
Conversation
👍 |
c597268
to
c3a69f9
Compare
On a local VyOS instance ive replaced "/usr/share/vyos/templates/firewall/nftables-zone.j2" with the file in the commit, and corrected some errors. It seems to be working so-far without any issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC outbound packets to VRF used the physical interface name.
Ping @nicolas-fort as I think this was something you worked on previously. If you have any feedback here?
CI integration ❌ failed! Details
|
If need be, one can specify the interfaces to listen use in rules by using the "member interface" instead of "member vrf", i changed the behaviour as both are possible with this approach, and it follows the same approach as earlier commits where both vrf and interface was specified under "interface" :) |
Change summary
When utilizing the ZBF with VRF, issues occur with outgoing traffic - specifically with ping packets destined for interface on vyos itself.
Types of changes
Related Task(s)
https://vyos.dev/T7452
Related PR(s)
How to test / Smoketest result
I added the below entries in netfilter above the default drop, and it solved the issue
Checklist: