Bug #13624
openOnly one alias in local network of OpenVPN Server works in 2.6.0
0%
Description
Issue #2668 implemented the possibility to have host/network aliases in the OpenVPN local/remote/tunnel network fields.
When using host aliases in the local network field, it seems only the hosts of the very first alias are pushed to the client as local network. all other aliases seem to be ignored.
Example:
Let's say I have 3 host alias lists (named alias1, alias2 and alias3) with 2 hosts defined in each alias.
Using this as "local network" in the OpenVPN Server definition only pushes the ips of the alias1 list.
alias1, alias2, alias3
This only pushes the hosts of alias2:
alias2, alias3, alias1
And this would push the two hosts of alias1 plus the 192.168.1.0/24 and 192.168.2.0/24 networks as local networks.
alias1, alias2, 192.168.1.0/24, alias3, 192.168.2.0/24
I am using
2.6.0-RELEASE (amd64)
built on Mon Jan 31 19:57:53 UTC 2022
FreeBSD 12.3-STABLE
Files