Assign OpenVPN User a static IP?

Posted On // Leave a Comment

Hi.


I am using Centos 6 64 Bit OpenVZ VPS with 5 IP's.


In server.conf I added



client-config-dir ccd



Then I went to ccd and made a file called james


Inside james I put



ifconfig-push 10.8.1.100 10.8.1.101



That assigned him the IP 10.8.1.1


How do I make it so that 10.8.1.1 uses one of the 5 IP's I paid for from my VPS Provider?


Here is a copy of the server.conf if anyone is interested


http://ift.tt/Tmg286


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment