I have installed PPTPD on my CentOS server and try to connect to it from my Mac and my Android smartphone. Both failed. This is the log on my Mac (from ppp client):
Mon Jun 22 22:11:58 2015 : publish_entry SCDSet() failed: Success!
Mon Jun 22 22:11:58 2015 : publish_entry SCDSet() failed: Success!
Mon Jun 22 22:11:58 2015 : pptp_get_router_address
Mon Jun 22 22:11:58 2015 : pptp_get_router_address 10.0.0.1 from dict 1
Mon Jun 22 22:11:58 2015 : PPTP connecting to server '...' (xxx.xx.xx.xxx)...
Mon Jun 22 22:11:58 2015 : PPTP connection established.
Mon Jun 22 22:11:58 2015 : PPTP set port-mapping for en0, interface: 4, protocol: 0, privatePort: 0
Mon Jun 22 22:11:58 2015 : Using interface ppp0
Mon Jun 22 22:11:58 2015 : Connect: ppp0 <--> socket[34:17]
Mon Jun 22 22:11:58 2015 : PPTP error when reading socket : Connection reset by peer
Mon Jun 22 22:11:58 2015 : PPTP error when reading header : read -1, expected 12 bytes
Mon Jun 22 22:11:58 2015 : PPTP hangup
Mon Jun 22 22:11:58 2015 : Connection terminated.
Mon Jun 22 22:11:58 2015 : PPTP clearing port-mapping for en0
Mon Jun 22 22:11:58 2015 : PPTP disconnecting...
Mon Jun 22 22:11:58 2015 : PPTP disconnected
On the server, my /etc/pptpd.conf
looks like this:
option /etc/ppp/options.pptpd
localip 192.168.0.1
remoteip 192.168.0.2-200
listen 000.00.000.00 # Server IP
/etc/ppp/options.pptpd
have this contents:
ms-dns 8.8.8.8
ms-dns 4.2.2.2
lock
name pptpd
require-mschap-v2
require-mppe-128
And finally, /etc/ppp/chap-secrets
contains one user:
mySecretUser * mySecretPassword *
I try to connect with username mySecretUser
and password mySecretPassword
of course.
remoteip 192.168.0.240-250
. What do you mean with 'local DHCP server'? This is a server system.