nahemoth wrotejanjust wroteIf 2 clients have CCD file containing the same 'iroute' statement then yes, the last client to connect will "win" (IIRC). But you, as server admin, have set this up yourself, so it is up to the same server admin to detect and allow or prevent this behaviour.
You could use a client-connect script to detect if a private subnet is already used and refuse access to the second client.
I understand... how do I use the client-connect script? Is there any example?
I made two simple scripts, one for connections and other for disconnections. Now, only one gateway is connected to the VPN.
Anyway, is there any possibility to do the same with the VPN server in bridge mode?
Thanks.