11y2m2rk0
I noticed that in rare cases when there is a sudden loss of connection (reboot of the Wi-Fi router, emergency reboot of the laptop, etc.), the client can get another IP address, and at the same time an additional line appears in ipp.txt with client name and this wrong IP address. As far as I understand, this is because the server considers the previous session valid, but at the same time, the client establishes a new session, and the server allocates the first free /30 range to the client. The problem is that I have IP addresses of OpenVPN clients registered in the firewall, and when this happens, the remote employee cannot connect to the resources of our company. How can this problem be solved? Is it possible to configure the server so that it forcibly kills the previous session if the client tries to establish a new one?