Client Specific Overrides - Range of Local IP address
-
I have got client overides working well for several VPN users, but at the moment I had to use multiple /32 addresses separated with commas.
Is there any way to specify an IP Range instead such as 172.21.10.221-229
I did try using 172.21.10.192/27 but that doesn't include .223 upwards and I don't want to use a /26 because it's too large.
This is clunky for even 6-8 IP addresses:
-
@pwood999
IP ranges cannot be specified here. I've read, that you can state aliases in the server config and in an alias, you can specify IP ranges. But don't know if this can also be done in the CSO and never tried it myself.
And if, the alias is resolved into single IPs as well, when it's applied.However, you can express your range with multiple subnets, e.g. "172.21.10.220/30,172.21.10.224/29", which then goes from 172.21.10.220 to .231.
-
@viragomann That's a good idea. Will try those two. Also will try the Alias option in case I need separate groups of IP's.
Pete
-
Alias using a range of IP is accepted by the GUI, but doesn't seem to work as OpenVPN local IP's in Client specific.