March 20, 2013

Advanced

How To Setup Your Own VPN With PPTP

Tagged In: Security, Linux Basics, Vpn

Intro


One of the commonly asked questions from our users is how to add another IP address to their server. You can assign your own private IP address to your droplet by creating a VPN tunnel. Whether you want to build your own Virtual Private Network (VPN), or assign an SSL certificate to that IP address, you have several options. From all of the possible options, the most optimal ones are between PPTP and OpenVPN. A Point-To-Point Tunneling Protocol (PPTP) allows you to implement your own VPN very quickly, and is compatible with most mobile devices. Even though PPTP is less secure than OpenVPN, it is also faster and uses less CPU resources.

Step 1 - PPTP Installation


You will have to select one server to be responsible for handling out IPs to others and authenticating all of your servers into your VPN. This will become your PPTP Server.
On CentOS 6 x64:
rpm -i http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm
yum -y install pptpd

On Ubuntu 12.10 x64:
apt-get install pptpd
Now you should edit /etc/pptpd.conf and add the following lines:
localip 10.0.0.1
remoteip 10.0.0.100-200

Where localip is IP address of your server and remoteip are IPs that will be assigned to clients that connect to it.
Next, you should setup authentication for PPTP by adding users and passwords. Simply add them to /etc/ppp/chap-secrets :


Where client is the username, server is type of service – pptpd for our example, secret is the password, and IP addresses specifies which IP address may authenticate.
By setting ‘*’ in IP addresses field, you specify that you would accept username/password pair for any IP.

Step 2 - Add DNS servers to /etc/ppp/pptpd-options


ms-dns 8.8.8.8
ms-dns 8.8.4.4

Now you can start PPTP daemon:
service pptpd restart

Verify that it is running and accepting connections:


Step 3 - Setup Forwarding


It is important to enable IP forwarding on your PPTP server. This will allow you to forward packets between public IP and private IPs that you setup with PPTP.
Simply edit /etc/sysctl.conf and add the following line if it doesn’t exist there already:
net.ipv4.ip_forward = 1

To make changes active, run sysctl -p

Step 4 - Create a NAT rule for iptables


iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save

If you would also like your PPTP clients to talk to each other, add the following iptables rules:
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables -I INPUT -s 10.0.0.0/8 -i ppp0 -j ACCEPT
iptables --append FORWARD --in-interface eth0 -j ACCEPT

Now your PPTP server also acts as a router.

If you would like to restrict which servers can connect to your droplets, you can setup an iptables rule that restricts TCP connects to port 1723.

Step 5 - Setup Clients


On your client servers, install PPTP client:
yum -y install pptp

Step 6 - Add necessary Kernel module


modprobe ppp_mppe

Create a new file /etc/ppp/peers/pptpserver and add the following lines, replacing name and password with your own values:
pty "pptp 198.211.104.17 --nolaunchpppd"
name box1
password 24oiunOi24
remotename PPTP
require-mppe-128


Where 198.211.104.17 is the public IP address of our PPTP server, with username ‘box1’ and password ‘24oiunOi24’ that we specified /etc/ppp/chap-secrets file on our PPTP server.

Now we can ‘call’ this PPTP server, since this is a point-to-point protocol.

Whichever name you gave your peers file in/etc/ppp/peers/ should be used in this next line. Since we called our file pptpserver:

pppd call pptpserver

You should see successful connection from PPTP server logs:


On your PPTP client, setup routing to your private network via ppp0 interface:
ip route add 10.0.0.0/8 dev ppp0

Your interface ppp0 should come up on PPTP client server, and can be checked by running ifconfig

Now you can ping your PPTP server and any other clients that are connected to this network:

We can add our second PPTP client to this network:
yum -y install pptp
modprobe ppp_mppe


Add to /etc/ppp/peers/pptpserver (replacing with your own name and password values):
pty "pptp 198.211.104.17 --nolaunchpppd"
name box2
password 239Aok24ma
remotename PPTP
require-mppe-128

Now run on your second client the following:
pppd call pptpserver
ip route add 10.0.0.0/8 dev ppp0


You can also ping the first client, as packets would go through the PPTP server and be routed using the iptables rules we’ve placed earlier:


This setup allows you to create your own virtual private network:


If you wanted to have all of your devices communicating securely on one network, this is a quick way of implementing it.

You can use it with Nginx, Squid, MySQL, and any other application you can think of.

Since traffic is 128-bit encrypted, it is less CPU-intensive than OpenVPN, and still provides an added level of security to your traffic.

Share this Tutorial

Vote on Hacker News

Try this tutorial on an SSD cloud server.

Includes 512MB RAM, 20GB SSD Disk, and 1TB Transfer for $5/mo! Learn more

Create an account or login:

74 Comments

Write Tutorial
  • Gravatar Jonathan Sadowski about 1 year

    Thanks for the guide... but it's not working for me on Ubuntu 12.04.... when I got to the client steps, I did apt-get install pptp-linux (as no pptp package exists, and I assume that this was the client package on linux), but then at this step I got the following: # ip route add 10.0.0.0/8 dev ppp0 Cannot find device "ppp0"

  • Gravatar bulat 12 months

    Hi, If you dont have device ppp0 then either "modprobe ppp_mppe" or "pppd call pptpserver" did not work. 1) On client hosts, run "modprobe ppp_mppe && dmesg | tail -10" - what is the output? 2) On client host run "pppd call pptpserver" and then on the PPTP server run "tail -10 /var/log/mesages" or if its a Ubuntu box "tail -10 /var/log/syslog" - what is the output you get?

  • Gravatar anmont 12 months

    Here are the instructions that I follow, it takes you from a clean droplet to an ssh hardened droplet with a working PPTP server. I was using 12.04 server 32 bit, but I think it should work with most. http://globalcynic.wordpress.com/2013/04/26/pptpd-ubuntu-12-04-vps-fail2ban/

  • Gravatar anmont 12 months

    Sorry, I dont see how to delete or edit my previous comment. I read the instructions in the thread incorrectly, the above article is for joining two droplets to a vpn network. My instructions are for creating a standalone pptpd to act as a VPN server.

  • Gravatar desk 11 months

    "Now your PPTP server also acts as a router. " what's the difference if I do not do this step? Thanks

  • Gravatar Kamal Nasser 11 months

    @desk If you mean not setting up the IPTables rule, it will basically allow all IPs to connect to the PPTP server (they have to authenticate first of course)

  • Gravatar aarcher7 11 months

    I have a few questions. 1) Does this allow port forwarding on the client side? If not, how can I do that? 2) How can I limit the amount of traffic per user?

  • Gravatar chadrt 10 months

    I would love to figure out how I can make this work! All went well on the server side but then after I connect my computer to the pptp server I loose basic web connectivity like browsing. Would be nice to just join my computer here and my computer at my sisters house so we can share files and what have ya.

  • Gravatar Kamal Nasser 10 months

    @chadrt did you follow step 3? Try rebooting your droplet so these changes take effect.

  • Gravatar Cristian Iacobanu 9 months

    I think DNS servers should be "/etc/ppp/options.pptpd"

  • Gravatar jfox 9 months

    Christian is correct. After running this my ability to SSH OUT of my droplet (from droplet to another internet server) stopped... any ideas why?

  • Gravatar Kamal Nasser 9 months

    @jfox: What's the output of "iptables -L -v"?

  • Gravatar lijunmail 8 months

    Thanks

  • Gravatar isymbo 7 months

    With the server configuration in the guide above, my iPhone can not connect to the VPN server. While my Macbook and my WIndows can connect as a client. Any options should be tweaked for iOS devices(iPhone, iPad)? THanks

  • Gravatar Kamal Nasser 7 months

    @isymbo: Are you entering the correct credentials?

  • Gravatar isymbo 7 months

    @Kamal, Yes, and I just tried my Android can work with the VPN server I just setup according to the guide. I'm totally confused, looks like Windows/Mac OS/Android can connect as a client successfully, but my iOS devices can not work...

  • Gravatar hishighnesssajjad 7 months

    localip 10.0.0.1 remoteip 10.0.0.100-200 This shows that only 100 clients can connect at max to my VPN. Is there a way to remove this limitation?

  • Gravatar Kamal Nasser 7 months

    @hishighnesssajjad: Try setting remoteip to

    10.0.0.2-255

  • Gravatar ray 7 months

    Followed the instructions everything working. But what speeds are you guys getting? i'm around 2mbps download and 1.5 mbps upoad. My connection is a 75 down and 5 up. I tested the cloud server via wget and it was fast download 92.0 M/s. just wondering how I can get better speeds via VPN?

  • Gravatar angeloprivera 7 months

    I have VPN working on my machine, my question is, How can I distribute different IP to my user localip 10.0.0.0 remoteip 192.168.1.20-200 I want my vpn to be able to give a remoteip and also assign a localip for example 10.0.0.1 and my user can browse the internet using this ip.

  • Gravatar kyhwana 7 months

    Note that PPTP VPN's aren't secure at all. If you have $20 and can MITM someone's PPTP VPN, you can crack it in less than 24 hours. Don't use PPTP if you want security!

  • Gravatar Kamal Nasser 7 months

    @angeloprivera: I'm not sure what you mean -- can you please explain further?

  • Gravatar angeloprivera 7 months

    @Kamal Nasser - I have a physical server installed with CentOS assign with an U.S. IP = x.x.x.x in which my user use to connect to my vpn server(I have the whole block at my disposal), my user is located for example in japan and I'm in the US, what I want to do when my user connected to my VPN server I want to assign one of the IP on my block for example my VPN server is 8.8.8.11, I want my user be able to get 8.8.8.12(and so on) and will be able to browse the internet with this IP and If they visit whatismyip.net instead of getting 8.8.8.11 the user get 8.8.8.12(and so on).

  • Gravatar pensivedog 7 months

    Can you please provide a tutorial on setting up a VPN using SSTP on CentOS 6? Thanks!

  • Gravatar pensivedog 7 months

    Great tutorial, thank you! Also worked fine on my CentOS 6.4 32x Just want to ask, is there any reason I should not do anything in this tutorial on a server that is also hosting live websites?

  • Gravatar elgs1980 6 months

    On Ubuntu, it's also great to install iptables-persistent to make sure the VPN server works after a reboot. ```sudo apt-get install iptables-persistent```

  • Gravatar aditzxxx 6 months

    I encountered the same problem with @ kamal, but it had never happened before

  • Gravatar Kamal Nasser 6 months

    @aditzxxx: Can you please explain the issue you're having?

  • Gravatar myj226 6 months

    I have the same problem as @isymbo , I can connect my Windows ,but I can't connect to server on my ios.Can anyone help me? Thanks.

  • Gravatar myj226 6 months

    I can connect with my ios now, don't know why it can yesterday :-(

  • Gravatar m 6 months

    GRE: read(fd=7,buffer=6097c0,len=8260) from network failed: status = -1 error = Protocol not available /var/log/messages reads that

  • Gravatar Kamal Nasser 6 months

    @m: See http://poptop.sourceforge.net/dox/gre-protocol-unavailable.phtml

  • Gravatar serhatbjk 6 months

    Hello, I am setting up and configure my server, i can connect my vpn server correctly but my client computer can not go to internet. what's wrong?

  • Gravatar Kamal Nasser 6 months

    @serhatbjk: Did you follow steps 3 and 4?

  • Gravatar Julian Camilleri 6 months

    Absolutely brilliant. This is the first tutorial I've ever done that worked perfectly first time. Thank you!

  • Gravatar jeffn 6 months

    Just in case it helps anyone else: I had to set DEFAULT_FORWARD_POLICY in /etc/default/ufw to "ACCEPT"

  • Gravatar elgs1980 6 months

    I have a problem when I was travelling to Kuala Lumpur airport. At the airport, browsing webpages is ok, but svn, mysql and ssh is not possible. So I connect to my DO PPTP server, however, I found even when I connect to DO PPTP server, I still cannot ssh/mysql/svn to my same DO server. Then I used the command traceroute to see the route to my DO server. I found the route to my DO server is still through the airport WIFI, and the route to anywhere else is through the DO PPTP server. Not sure if this is a way to force it to go through the DO server even if it is connecting to itself? Thanks.

  • Gravatar Kamal Nasser 6 months

    @elgs1980: Did you run the 3 commands in the second block in Step 4?

  • Gravatar elgs1980 6 months

    @Kamal Nasser, thank you so much, you saved my butt.

  • Gravatar elgs1980 5 months

    @Kamal Nasser, I'm sorry I think I made a mistake, even with the 3 commands executed, it's the same thing.

  • Gravatar elgs1980 5 months

    Even if I executed the 3 commands, when I do "traceroute $DO_PPTP_SERVER_IP_OR_DOMAIN_NAME", the route goes through the local router, however, traceroute'ing anywhere else goes through the DO PPTP server.

  • Gravatar Kamal Nasser 5 months

    @elgs1980: I think that's intended so that your computer can still connect to the server after the tunnel has been established. Sorry, but I do not have enough experience with PPTP so I'm not sure if that's a feature, a bug, or simply a configuration issue.

  • Gravatar elgs1980 5 months

    Thanks @Kamal Nasser. I tried other StrongVPN's PPTP and L2TP, it's the same, so I think what you said is right.

  • Gravatar epuy27 5 months

    hi admin, i have install and setting my pptp using your method. And i completely sure everything is fine but i have problem to connect my pptp vpn from my end. i have android and computer to test connect the pptp but no success. both my android and computer can't connect the vpn. i have run netstat and here is the result netstat -alpn | grep :1723 tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 861/pptpd that make me sure the my vps running fine and the services also running fine. but why i can't connect from my end? could anyone give me any advice so i can check which part im doing wrong. sorry for being newbie here. kind regard.

  • Gravatar Janko Drakulovski 5 months

    I'm entering my IP address in chap-secrets file, but it can't connect when there is IP instead of *. # Secrets for authentication using CHAP # client server secret IP addresses username1 pptpd password xx.xx.xx.xx username2 pptpd password * I enter my public IP which I get from whatismyip.com and I get error 720 when I try to connect from Windows 8.1 default client. What am I doing wrong?

  • Gravatar Kamal Nasser 5 months

    @Jane: Error 721: The remote computer is not responding. means that your PPTP server is not responding. Are you sure it's your droplet's IP that is in the "Server" field of the PPTP connection's settings?

  • Gravatar Kamal Nasser 5 months

    @epuy27: Do you get any errors when you try to connect to the VPN?

  • Gravatar Janko Drakulovski 5 months

    @Kamal Nasser: I'm 100% sure. Without the IP in chap-secrets, it it working fine. When I enter IP instead of *, the error is 720. jane pptpd password 77.29.xx.xx It starts connecting, Verifying credentials, and it got stuck on Completing the connection for 1 minute maybe, and then Error 720, not 721 like you wrote. Error 720: A connection to the remote computer could not be established You might need to change the network settings for this connection.

  • Gravatar Kamal Nasser 5 months

    @Jane: Hmm, strange. Try adding your IP address back in and check pptp's error logs for errors

    tail -f -10 /var/log/mesages
    or if its an Ubuntu box
    tail -f -10 /var/log/syslog
    .

  • Gravatar Janko Drakulovski 5 months

    Nov 17 23:01:52 server pptpd[13591]: MGR: connections limit (100) reached, extra IP addresses ignored Nov 17 23:01:52 server pptpd[13592]: MGR: Manager process started Nov 17 23:01:52 server pptpd[13592]: MGR: Maximum of 100 connections available Nov 17 23:02:02 server pptpd[13594]: CTRL: Client 77.29.xx.xx control connection started Nov 17 23:02:02 server pptpd[13594]: CTRL: Starting call (launching pppd, opening GRE) Nov 17 23:02:02 server pppd[13595]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded. Nov 17 23:02:02 server pppd[13595]: pppd 2.4.5 started by root, uid 0 Nov 17 23:02:02 server pppd[13595]: Using interface ppp1 Nov 17 23:02:02 server pppd[13595]: Connect: ppp1 /dev/pts/4 Nov 17 23:02:05 server pppd[13595]: peer from calling number 77.29.xx.xx authorized Nov 17 23:02:06 server pppd[13595]: MPPE 128-bit stateless compression enabled Nov 17 23:02:07 server pppd[13595]: Cannot determine ethernet address for proxy ARP Nov 17 23:02:07 server pppd[13595]: local IP address 10.0.0.1 Nov 17 23:02:07 server pppd[13595]: remote IP address 77.29.xx.xx Nov 17 23:04:07 server pptpd[13594]: CTRL: Session timed out, ending call Nov 17 23:04:07 server pppd[13595]: Modem hangup Nov 17 23:04:07 server pppd[13595]: Connect time 2.0 minutes. Nov 17 23:04:07 server pppd[13595]: Sent 1995610796 bytes, received 0 bytes. Nov 17 23:04:07 server pppd[13595]: MPPE disabled Nov 17 23:04:07 server pppd[13595]: Connection terminated. Nov 17 23:04:07 server pppd[13595]: Exit. Nov 17 23:04:07 server pptpd[13594]: CTRL: Client 77.29.xx.xx control connection finished

  • Gravatar Janko Drakulovski 5 months

    @Kamal Nasser: Any idea what might the problem be?

  • Gravatar Jeremy L. Gaddis 4 months

    Folks, please don't use PPTP. It's been broken for over a decade. Spend the time to learn about and implement OpenVPN or IPSec.

  • Gravatar will-v-king 4 months

    for more details, I suggest this article :http://globalcynic.wordpress.com/2013/04/26/pptpd-ubuntu-12-04-vps-fail2ban/ There are more useful suggestions.

  • Gravatar get.umairnasir 4 months

    I need to setup 4 users with 4 fix IP in pptp server, every time when user1 connect to the vpn they always have 127.0.0.2 ip and when user2 connect he always get 127.0.0.3 ip and so on.. But i connect the user1 it get the 1st ip of the pool, and when i connect the second user it also get the 1st ip of the pool.. Help us please

  • Gravatar andrew.gaidukevich 4 months

    I configured it, but I can't open any site, the ping is terrible: macbookpro:~ admin$ ping google.com PING google.com (173.194.43.4): 56 data bytes 64 bytes from 173.194.43.4: icmp_seq=0 ttl=55 time=267.977 ms Request timeout for icmp_seq 1 64 bytes from 173.194.43.4: icmp_seq=1 ttl=55 time=1000.748 ms 64 bytes from 173.194.43.4: icmp_seq=2 ttl=55 time=1002.258 ms --- google.com ping statistics --- 19 packets transmitted, 17 packets received, 10.5% packet loss Internet works well without VPN. Any suggestions? Thanks.

  • Gravatar Kamal Nasser 4 months

    @andrew.gaidukevich: How far from you is the droplet?

    ping yourdroplet'sip

  • Gravatar andrew.gaidukevich 4 months

    @Kamal Nasser macbookpro:~ admin$ ping 162.243.13.205 PING 162.243.13.205 (162.243.13.205): 56 data bytes 64 bytes from 162.243.13.205: icmp_seq=0 ttl=48 time=341.618 ms ... ^C --- 162.243.13.205 ping statistics --- 8 packets transmitted, 8 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 215.254/243.886/341.618/38.395 ms

  • Gravatar Kamal Nasser 4 months

    @andrew.gaidukevich: There were some issues in NYC2 yesterday -- are you still experiencing the same issue?

  • Gravatar sivakorn 4 months

    Hi I have a droplet installed Centos with pptpd I want to make a vpn server that I can connect from my home I must do this localip 10.0.0.1 remoteip 10.0.0.100-200 or real SERVER IP?

  • Gravatar Kamal Nasser 4 months

    @sivakorn: No, keep it as is (10.0.0.1 etc.).

  • Gravatar andrew.gaidukevich 4 months

    @Kamal Nasser the same... should I try another server or try to change some settings? macbookpro:ace_editor2 admin$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes Request timeout for icmp_seq 0 64 bytes from 8.8.8.8: icmp_seq=0 ttl=42 time=1048.424 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=42 time=1049.018 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=42 time=351.788 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=42 time=1050.835 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=42 time=1051.929 ms 64 bytes from 8.8.8.8: icmp_seq=5 ttl=42 time=322.754 ms 64 bytes from 8.8.8.8: icmp_seq=6 ttl=42 time=247.440 ms 64 bytes from 8.8.8.8: icmp_seq=7 ttl=42 time=235.382 ms ^C --- 8.8.8.8 ping statistics --- 8 packets transmitted, 8 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 235.382/669.696/1051.929/381.944 ms

  • Gravatar sivakorn 4 months

    @Kamal Nasser SO I need to follow till step 4 right? It's not working for me I can not setup vpn connection in windows 7 error 800

  • Gravatar Kamal Nasser 4 months

    @andrew.gaidukevich: What latency do you get when you try to ping 8.8.8.8 from your droplet?

  • Gravatar Kamal Nasser 4 months

    @sivakorn: You need to follow all of the steps (1-6).

  • Gravatar andrew.gaidukevich 4 months

    @Kamal Nasser root@appetitesoft:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=43 time=13.9 ms ... --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4004ms rtt min/avg/max/mdev = 13.684/13.781/13.949/0.093 ms

  • Gravatar jschar1 4 months

    I'm in a bind here...things seemed good until the end. when i run pppd call pptpserver...i get this error... pppd 2.4.5 started by root, uid 0 Dec 27 10:41:54 vpn pppd[2063]: Using interface ppp0 Dec 27 10:41:54 vpn pppd[2063]: Connect: ppp0 /dev/pts/3 Dec 27 10:41:54 vpn pptp[2064]: anon log[usage:pptp.c:131]: pptp called with wrong arguments, program not started. Dec 27 10:41:54 vpn pppd[2063]: Modem hangup Dec 27 10:41:54 vpn pppd[2063]: Connection terminated. Dec 27 10:41:54 vpn pppd[2063]: Exit. So it's not creating the ppp0 connection. Not sure what I did wrong. I followed this to a T. any help please i'd super appreciate. Thought this would be a slam dung as I saw the same setup on about 8 different pptp pages.

  • Gravatar Kamal Nasser 4 months

    @andrew.gaidukevich: Hmm that's odd. It might be PPTP that's causing it—that's just a guess, though. Try setting up OpenVPN on a new droplet in the same region, do you still get bad latency?

  • Gravatar Kamal Nasser 4 months

    @jschar1:

    Dec 27 10:41:54 vpn pptp[2064]: anon log[usage:pptp.c:131]: pptp called with wrong arguments, program not started. Dec 27 10:41:54 vpn pppd[2063]: Modem hangup
    Make sure you don't have any syntax errors in the config files

  • Gravatar Sergey Gornostaev 3 months

    It should be added to the firewall rules: iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

  • Gravatar Ming Gao 3 months

    @Kamal Nasser I created a pptp service, I can log in, but it can not display the webpage. $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss $ ping 173.194.127.209 PING 173.194.127.209 (173.194.127.209): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ^C --- 173.194.127.209 ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss $ traceroute 173.194.127.209 traceroute to 173.194.127.209 (173.194.127.209), 64 hops max, 52 byte packets 1 10.0.0.1 (10.0.0.1) 278.887 ms 329.508 ms 307.292 ms 2 * * *

  • Gravatar Kamal Nasser 2 months

    @Ming: Have you followed steps 3 & 4? What's the output of

    sudo iptables-save

  • Gravatar ripley.net 2 months

    For CentOS, the config file should be /etc/ppp/options.pptpd instead of /etc/ppp/pptpd-options, or the name resolution won't work.

  • Gravatar ivan about 1 month

    I've configured Poptop and it is working fine. Clients are assigned different IP addresses which are visible publicly properly, e.g. on www.whatismyip.com. But on the same server, all request from clients are recognized as coming from the original IP addresses. How to make server, where pptdp is installed, see assigned IP addresses instead of original ones? I understand that somehow traffic should be routed out to the Internet and back, but not sure how.

  • Gravatar udmiser about 12 hours

    @Ming Gao Hi,your problem has been solved?I have the same problem.

Leave a Comment

Create an account or login:
Ajax-loader