You are not logged in.

#1 2009-12-22 02:58:25

miguimon
Member
From: Sydney
Registered: 2008-02-28
Posts: 37
Website

Help setting up PPTP VPN server

Hey guys,

I'm setting up a pptp vpn server but I haven't been very successful and after hours of googling for an answer I don't know what else to do so a bit of help would be very welcome.


/etc/pptpd.conf

option    /etc/ppp/pptpd-options
noipparam
logwtmp
localip    192.168.10.50
remoteip 192.168.10.51-61

/etc/ppp/pptpd/options

name compus
auth
require-mschap
require-mschap-v2
require-mppe
require-mppe-128
nomppe-stateful
ms-dns 192.168.10.1
netmask 255.255.255.0
nodefaultroute
proxyarp
lock

/etc/ppp/chap-secrets

myuser        compus    password    *

/var/log/daemon.log

Dec 22 10:04:10 proliant pptpd[10968]: CTRL: Client 123.243.x.xx control connection started
Dec 22 10:04:11 proliant pptpd[10968]: CTRL: Starting call (launching pppd, opening GRE)
Dec 22 10:04:11 proliant pptpd[10968]: GRE: read(fd=10,buffer=610c60,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Dec 22 10:04:11 proliant pptpd[10968]: CTRL: PTY read or GRE write failed (pty,gre)=(10,11)
Dec 22 10:04:11 proliant pptpd[10968]: CTRL: Reaping child PPP[10969]
Dec 22 10:04:11 proliant pptpd[10968]: CTRL: Client 123.243.x.xx control connection finished

Thanks a lot.

Offline

#2 2010-04-05 07:15:13

qdiesel
Member
Registered: 2008-05-19
Posts: 61

Re: Help setting up PPTP VPN server

same here, looking forward for an answer

Offline

#3 2010-04-05 20:21:10

NSB-fr
Member
Registered: 2010-01-23
Posts: 45

Re: Help setting up PPTP VPN server

Hi there,

I may be wrong but it looks like GRE packet get lost on their way to your your server. I would check the following points:
- if your VPN server behind a router, check if GRE packet are correctly redirected to your VPN server
- have you configured the firewall of the VPN server to allow incoming GRE packet ?

Edit: Did not see the first post was that old...

Last edited by NSB-fr (2010-04-05 20:22:46)


Carpe Diem

Offline

#4 2011-11-15 18:18:06

r3v0ss
Member
Registered: 2011-11-15
Posts: 5

Re: Help setting up PPTP VPN server

had the same issue for some time, until I came across this (Dutch) site which states that you should put the password between quotes, so try

myuser        compus    'password'    *

instead of

myuser        compus    password    *

in your /etc/ppp/chap-secrets. Works fine with me now.

Last edited by r3v0ss (2011-11-15 18:19:07)

Offline

#5 2011-11-15 19:34:05

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Help setting up PPTP VPN server

All right then, the OP is almost two years old now so let's put this one to its deserved rest.

Closing.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB