Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want set up a VPN in my Xen VPS with one static IP. What I should set in /etc/pptpd.conf as localip and remoteip.

I followed this tutorial: http://freehostinganswers.com/blog/how-to-install-your-own-vpn-server-in-5-mins-pptp-on-centos-redhat-and-ubuntu/.

share|improve this question
    
Do you have any errors of the issues you are seeing. –  WojonsTech Apr 12 '13 at 7:09

1 Answer 1

The localip option represents the IP of your machine on the LAN (at shell, run ifconfig to find it). The remoteip option is a range (or set) of IPs that are assigned to the clients connecting to your PPTP server (like a DHCP server handing out addresses to hosts on the network). Both the localip and remoteip options should be set to the same subnet for everything to work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.