Assigning Specific IP's to OpenVPN Clients



  • Hi all,

    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.


  • LAYER 8 Rebel Alliance

    Hi,

    it works exactly as you described it.

    -Rico



  • @tman222 Just make sure you have used a unique common name while creating the certificate, since it matches on that.



  • Thank you @Rico and @netblues - I really appreciate the help.


Log in to reply