Hello
I am attempting to assign static IPs to every client by pre populating the server.ipp file with the common name, and IP, I have the following line in my server.cof
ifconfig-pool-persist /var/lib/openvpn/server.ipp 0
In order to stop the server populating the file with new IPs and only allow me to edit the file. But what seems to be happening every now and then is that a client will reconnect and get a different IP address issues from the pool, and basically ignore the persist file.
I had hoped to aviod creating client configs, so my question is Do I need to have both the persist file and also the client config file?
If I need the client config file, any tips on how to read the persist file and populate the CCD directory using a script as I have over 1000 clients to setup?
Thank you for taking the time to read my problem, and any help or tips greatly appreciated.