Alias use in OpenVPN - Broken on Reboots (and possibly other edge cases)
-
What sort of aliases are they?
-
AliasChild1=192.168.0.0/16
AliasChild2=10.0.0.0/8
AliasParent=AliasChild1, AliasChild2All children are either an IP address or subnet, none of the children contain further aliases.
AliasParent is the only entry used in OpenVPN server's
IPv4 Local network(s)
field.Restarting OpenVPN or saving without any modification
AliasParent
fix the configuration replacing the alias. -
Hm, so only IPs and subnets, nothing that needs to be resolved? That should load as soon as pf does, which should be before the openvpn resyn at boot.
Do you see any errors in the OpenVPN or system logs when this happens? Or any sort of difference in the process ordering?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.