Skip to content
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

Missing options in Firewall Automation Filters #7962

Open
2 tasks done
matgel-is-unavailable opened this issue Oct 11, 2024 · 3 comments
Open
2 tasks done

Missing options in Firewall Automation Filters #7962

matgel-is-unavailable opened this issue Oct 11, 2024 · 3 comments
Assignees
Labels
feature Adding new functionality

Comments

@matgel-is-unavailable
Copy link

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

For the purpose of automating firewall rules via the API, we are missing the option to use firewall aliases of type "port" in the automation rules. Additionally, we lack the ability to allow both TCP and UDP in the same rule (TCP/UDP); currently, it is only possible to allow either TCP or UDP, not both.

The same limitation applies to IPv4 & IPv6, although this one is less critical for us.

Describe the solution you like

  1. Add support for firewall aliases of type "service" under Destination Port
  2. Add support for option (TCP/UDP) under Protocol
  3. Add support for option (IPv4+IPv6) under TCP/IP Version

Describe alternatives you considered

The only alternative to using automation rules is to split each firewall rule into multiple automation rules, specifying the required ports and either UDP or TCP. This approach would create significant overhead.

Additional context

afbeelding

@AdSchellevis
Copy link
Member

I'm pretty sure port aliases are allowed in these fields:

Implemented over a year ago (opnsense/plugins#3567)

@matgel-is-unavailable
Copy link
Author

@AdSchellevis, my apologies; I should have mentioned that we are currently using the business edition, version 24.4.3. I did not check the community edition.

Will this feature be available in the business edition as well? And what about the TCP/UDP option?

Thank you for your help.

@AdSchellevis AdSchellevis added the feature Adding new functionality label Oct 14, 2024
@AdSchellevis AdSchellevis self-assigned this Oct 14, 2024
@AdSchellevis
Copy link
Member

@matgel-is-unavailable no problem, but I expect 24.4.3 also supports (valid) alias input to be honest. The change doesn't seem very recent on our end. I don't mind offering the combined rules for [ip]proto, it's just not very high on my list of things to do at the moment (you can still create the same rules, it just needs more of them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

2 participants