How to use all the IPs of my VPS

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
sens0r
OpenVPN User
Posts: 28
Joined: Fri Jul 29, 2011 7:17 pm

How to use all the IPs of my VPS

Post by sens0r » Sun Apr 30, 2017 7:22 am

I am currently running a road runner OpenVPN script located here on my KVM VPN running CentOS 6.5 64 bits:

https://github.com/Nyr/openvpn-install

But I'm not sure how I can utilize more than 1 IP with this installation as when I run the script again it doesn't create a new config file it just creates a new user and doesn't ask for a new IP and uses the same IP for all new users. Whereas I would like to assign different IP for different users. Previously with CentOS 5x and older OpenVPN versions I would make a new config file for each IP alongwith a new matching client file, make a new rule in iptable and run all the config files on the server listening for connections. Then I would just connect with the desired client.ovpn file and get a different IP.

I used this tutorial previously:

http://www.webhostingtalk.com/showthread.php?t=1024872

But it's obsolete now and I am not so good with linux or OpenVPN to figure out how to do this myself, even though I have tried searching and experimenting a few things for hours but to no avail.

Thanks in advance.

sens0r
OpenVPN User
Posts: 28
Joined: Fri Jul 29, 2011 7:17 pm

Re: How to use all the IPs of my VPS

Post by sens0r » Sun Apr 30, 2017 8:38 pm

Any help guys? Can anyone point out a working tutorial atleast which is similar to this one:

http://www.webhostingtalk.com/showthread.php?t=1024872

Thanks

Post Reply