-
Notifications
You must be signed in to change notification settings - Fork 352
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
T5804: nat: allow <any> interface for inbound and outbound #2579
Conversation
…name in vyos cli. When used, append nothing while generating the rule.
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.
I believe we should adjust the migration script to delete the interface option instead, now that any
is the implicit default.
…ace matcher when interface equals to <any>. Also add patch for op-mode command for NAT66.
Why not even make it an explicit default by using defaultValue any on the XML dedinition, users will then get notified this automatically when using tab completio |
I would just go for updating migration script and do not support as an option, not even defualt value. Otherwise, looks like we should allow any for any other matchers as default: any protocol, any source address, any pakcet size, etc... |
I'll update PR on Monday. Moving to draft for now |
I'm closing this one in favor of #2611, which just contains corrections to migration script |
…
Change Summary
Allow interface for inbound and outbound interface name in vyos cli. When used, append nothing while generating the rule.
Types of changes
Related Task(s)
Related PR(s)
Component(s) name
nat
Proposed changes
How to test
Smoketest result
Checklist: