Aliases - feature request

Started by pankaj, October 03, 2021, 04:59:00 AM

Previous topic - Next topic
Since I did not see any forum marked as "feature request" hence posting it in this general forum.

Under the 'Aliases" tab there are several ways to assign aliases, say using host IP addresses. It would be helpful to add a comment box for each host added for later reference. The description field is too general and Ias the alias list gets older, the only way to identify hosts/IP Addresses is to reference DHCP leases tab.

If there is an existing and smarter way that I missed, please point me to it!

Hi,

You can easily describe hosts by creating an alias object per host and grouping them together using the integrated nesting feature. ( machineA + machineB = myWorkgroup for example)

The question pops-up from time to time (https://github.com/opnsense/core/issues/4190#issuecomment-653140801), but we strongly believe every unique object should be exactly that... unique. In which case a single host identifying itself with a set of addresses has one name, one description and a set of addresses. Grouping them together turns into a new object which describes what the placeholder is for.

Theoretically one could build a form to edit multiple aliases at the same time, but that is currently out of our scope.

Best regards,

Ad

October 03, 2021, 08:11:28 PM #2 Last Edit: October 04, 2021, 11:00:27 AM by pmhausen
What I would love to see is an equivalent grouping for ports. Or did I miss anything?
I'd like to define custom ports with only one per object, so I get a proper description. And then group these for rules.

What do you think?

Patrick
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Hi Patrick,

If you mean a "port group" type in addition to the network group type, that's not in there, but certainly worth a feature request. Technically nesting ports is supported, if adding a dropdown would ease administration it might be a good idea to add that to OPNsense at some point in time.

Best regards,

Ad

It would be useful to be able to add port networks and port addresses as well as "This Firewall" in alias network groups.

I'm not sure what you mean by that, but you can always create a feature request (https://github.com/opnsense/core/issues/new/choose)