OPNsense Forum

English Forums => Virtual private networks => Topic started by: VN on January 13, 2026, 01:55:06 PM

Title: Alias in openVPN's routing networks
Post by: VN on January 13, 2026, 01:55:06 PM
Hi,

I am using OPNsense as firewall and openVPN server.
In some server instance, I start to have quit a lot of prefixes in routing local and remote network.

It would be convenient to use alias so:

Here (https://github.com/opnsense/core/issues/9105) I had the answer that will not come because of dynamic caracteristic of alias.

Did you get into this problem?
Did you found any solution?

Vincent
Title: Re: Alias in openVPN's routing networks
Post by: ludarkstar99 on January 14, 2026, 12:58:06 PM
Hi VN, welcome!

That would be very much appreciated, and I fully understand the dynamic nature of aliases.

That said, I wouldn't mind if adding a new network to HQ_NETWORKS_ALIAS triggered a reload of the OpenVPN service that references this alias. This is not something I would do frequently, and when I do, I would already be clicking Apply on the OpenVPN configuration page, which reloads the service anyway.

This behavior would also be a significant facilitator for static routes, Wireguard, OpenVPN, and IPsec.

For now, doing the manual approach...
Title: Re: Alias in openVPN's routing networks
Post by: henri9813 on May 09, 2026, 09:24:49 AM
Hello,

This would be very great !

We have many users, in differnt team, when we add a new host to a team, it's a nightmare, we must pass time on EACH account to add the SAME entry whreeas for the same node's adding on the Firewall rule, the simple fact of updating the alias is enough.

Best regards !