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...