IP collisions when using client overrides
-
We use client-specific overrides for some OpenVPN users to set a static IP (the
IPv4 Tunnel Network
option). Others by default get a random IP each time they connect. However, sometimes someone happens to get assigned an IP that is set as an override for another user, and we get IP collision, which results in major problems like no working DNS until I kill the random-person's connection.Is there something that can be done to prevent random IP pool from ever choosing IPs used in overrides, aside from assigning an IP override for every single user?
-
@kromek
The server assigns the pool IPs sequentially from the from the lowest up.
So the CSO you should begin with the highest down. Ensure that your tunnel pool is large enough for all users.Also you may consider to uncheck "Duplicate Connection", so that a single client cannot grab multiple IPs.