opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.28k stars 727 forks source link

Gateway Group GUI is confusing with mixed IPv4/IPv6 Gateways #6119

Closed Keno closed 1 year ago

Keno commented 1 year ago

Describe the bug

My OPNSense firewall has three gateways:

WANCABLE_DHCP6 is IPv4, the other interfaces are IPv6. There will in the future also be a WANFIBER_GWv6, but I don't have it yet.

I was hoping to configure failover, so I added all three gateways into a gateway group. I then attempted to assigned link priorities by going down the line and setting them all to "Tier 1". Doing this to the second reset the first to "Never" and doing this to the second reset the second to "Never".

In retrospect, I'm assuming what happens here is that IPv4 and IPv6 interfaces cannot be simultaneously given link priority in the same gateway group (which makes sense), but I was quite confused by the GUI.

Expected behavior

My suggestion would be to either split out the IPv4 and IPv6 interfaces in the UI to make it very clear that one cal only select one or the other or to have a separate "Create IPv4 gateway group" and "Create IPv6 gateway group" options that only show the relevant interfaces.

Screenshots

This is the dialog I'm talking about inside the "Create Gateway Group" GUI:

Screen Shot 2022-11-04 at 2 48 47 PM

Environment

OPNsense 22.7.6-amd64FreeBSD 13.1-RELEASE-p2 OpenSSL 1.1.1q 5 Jul 2022

OPNsense-bot commented 1 year ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

OPNsense-bot commented 1 year ago

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.