Knowledgebase

pptpd VPN: assign random IP address on connect

Posted by chatmasta, 10-15-2012, 02:28 PM
Hey, I'm setting up a VPN server with pptpd. It works great, except it always assigns me the same IP when I connect. Say I have 128 IPs on the box. How can I configure pptpd to assign a random IP from the pool to each connecting client? It also needs to support having more than 128 connected clients. What I've found online says I need to edit the pptpd scripts in /etc/ppp, but I can't figure out exactly what I need to do. Any help would be appreciated.

Posted by CrystoneHosting, 10-15-2012, 02:55 PM
Here is a related post on WHT that may help, http://www.webhostingtalk.com/showthread.php?t=1090633

Posted by chatmasta, 10-15-2012, 06:50 PM
Thanks. I found that thread while searching as well, but unfortunately it didn't help me.

Posted by BestServerSupport, 10-16-2012, 09:02 AM
Please make sure that you have put your local IP address range in localip field of PPTPD configuration file [/etc/pptpd.conf] file.

Posted by chatmasta, 10-16-2012, 09:18 AM
Yeah, I've done that. I'm able to connect just fine. The issue is that when I connect I am assigned the main server IP instead of one from the pool of all IPs (which are listed under remoteip).



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
need cloud VPS in EU (Views: 601)


Language:

Client Login

Email

Password

Remember Me

Search