OPNsense Forum

English Forums => General Discussion => Topic started by: pankaj on October 03, 2021, 04:59:00 AM

Title: Aliases - feature request
Post by: pankaj on October 03, 2021, 04:59:00 AM
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!
Title: Re: Aliases - feature request
Post by: AdSchellevis on October 03, 2021, 06:15:44 PM
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
Title: Re: Aliases - feature request
Post by: Patrick M. Hausen on October 03, 2021, 08:11:28 PM
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
Title: Re: Aliases - feature request
Post by: AdSchellevis on October 04, 2021, 10:07:22 AM
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
Title: Re: Aliases - feature request
Post by: bimbar on October 08, 2021, 10:48:02 AM
It would be useful to be able to add port networks and port addresses as well as "This Firewall" in alias network groups.
Title: Re: Aliases - feature request
Post by: AdSchellevis on October 08, 2021, 10:50:31 AM
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)
Title: Re: Aliases - feature request
Post by: bimbar on October 12, 2021, 11:02:07 AM
done.