Assigning Specific IP's to OpenVPN Clients
How does one go about assigning specific IP's to clients connecting through OpenVPN? Let's say for instance I had setup a OpenVPN server with tunnel network 192.168.150.0/24, and for firewall rule purposes I wanted a certain connecting client to always obtain the IP address 192.168.150.150 out of that tunnel address pool when they are connecting to the server. Is it as simple as setting up a client override for that particular client and then under IPv4 Tunnel Network just specifying 192.168.150.150/24? Or is there a different way to accomplish it?
Thanks in advance for your help, I really appreciate it.
it works exactly as you described it.
@tman222 Just make sure you have used a unique common name while creating the certificate, since it matches on that.