OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: PhoenixRider on December 19, 2024, 03:53:21 PM

Title: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: PhoenixRider on December 19, 2024, 03:53:21 PM
On my OPNsense-Appliance are several Interfaces and my "problem" is, that die Interfaces are not sortet. The WAN-Interface is on the bottom, the LAN-Interface is on the top and my Management-LAN-Interface is under the LAN-Interface.

It would be very nice, if we can sort the Interfaces. I don't know about the possibility to code the Interface-Widget, but it would be awesome.
Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: Patrick M. Hausen on December 19, 2024, 04:10:17 PM
They are sorted. Alphabetically. As a workaround you can name them e.g.

I0_LAN
I1_MGMT
I2_WAN
...

HTH,
Patrick
Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: PhoenixRider on December 23, 2024, 08:27:29 PM
No, the subnets will not be sorted alphabetically on my OPNsense. The named LAN-Subnet is under the Management-LAN-Subnet.
Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: Patrick M. Hausen on December 23, 2024, 08:30:19 PM
Which menu are you referring to? In the Interfaces as well as the Firewall > Rules menu they are definitely sorted alphabetically.

Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: PhoenixRider on December 23, 2024, 08:54:00 PM
Interfaces-Widget on the Dashboard.
Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: MikeH on December 23, 2024, 08:58:34 PM
Quote from: Patrick M. Hausen on December 23, 2024, 08:30:19 PMWhich menu are you referring to? In the Interfaces as well as the Firewall > Rules menu they are definitely sorted alphabetically.

The widget "interfaces" on the dashboard is meant.
Interface and Firewall -> Rules is in alphabetical order. Also on Interfaces -> Assignments.
But the order on the Dashboard -> interface widget is sorted alphabetically according to the identifier as opt1, opt2, lan, wan.
See the following screenshots as an example (AA_int should be on top if the order is alphabetically).


Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: Patrick M. Hausen on December 23, 2024, 09:01:46 PM
Ah ... sorry, I didn't catch that. For me it seems like they are sorted by some combination of device name and/or subnet:


So that is probably worth a feature request. Feature requests can be made by opening an issue on github.
Title: Re: Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets
Post by: PhoenixRider on December 25, 2024, 02:04:51 PM
Allright, i have start a Feature Request on Github: https://github.com/opnsense/core/issues/8167