[pptp-server] Problems connecting to PPTP VPN server (still not resolved...)

Jeremy Higgs jhiggs at iprsystems.com
Thu Jan 10 05:39:33 CST 2002


Hi everyone!

I've been trying as of late to still connect to a PPTP VPN server running
PoPToP on a Debian system, but it just doesn't seem to be working...

Upon doing "pptp cata.mine.nu" on the client machine, I get the following on
the server in /var/log/daemon.log:

Jan 10 22:28:52 bluey pptpd[26826]: CTRL: Client 144.132.140.185 control
connection started
Jan 10 22:28:53 bluey pptpd[26826]: CTRL: Starting call (launching pppd,
opening GRE)
Jan 10 22:28:53 bluey modprobe: modprobe: Invalid line 82 in
/etc/modules.conf ^I/lib/modules/2.2.20/
Jan 10 22:28:55 bluey pptpd[26826]: GRE: Discarding duplicate packet
Jan 10 22:28:58 bluey pptpd[26826]: GRE: read(fd=5,buffer=10014e54,len=8196)
from PTY failed: status = -1 error = Input/output error
Jan 10 22:28:58 bluey pptpd[26826]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
Jan 10 22:28:58 bluey pptpd[26826]: CTRL: Client 144.132.140.185 control
connection finished
Jan 10 22:28:58 bluey pptpd[26826]: CTRL: Couldn't write packet to client.
Jan 10 22:28:58 bluey pptpd[26826]: CTRL: Couldn't write packet to client.

And this is /var/log/messages:

Jan 10 22:28:53 bluey pppd[26827]: pppd 2.4.1 started by root, uid 0
Jan 10 22:28:53 bluey pppd[26827]: Using interface ppp1
Jan 10 22:28:53 bluey pppd[26827]: Connect: ppp1 <--> /dev/pts/3
Jan 10 22:28:58 bluey pppd[26827]: Connection terminated.
Jan 10 22:28:58 bluey pppd[26827]: Exit.

The client seems to quit, however...

This is the /etc/pptpd.conf file:

cata:~# cat /etc/pptpd.conf
############################################################################
####
#
# Sample PoPToP configuration file
#
# for PoPToP version 0.9.12
#
############################################################################
####

# TAG: speed
#
#       Specifies the speed for the PPP daemon to talk at.
#
speed 115200

# TAG: option
#
#       Specifies the location of the PPP options file.
#       By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/pptpd-options

# TAG: debug
#
#       Turns on (more) debugging to syslog
#
#debug

# TAG: localip
# TAG: remoteip
#
#       Specifies the local and remote IP address ranges.
#
#       You can specify single IP addresses seperated by commas or you can
#       specify ranges, or both. For example:
#
#               192.168.0.234,192.168.0.245-249,192.168.0.254
#
#       IMPORTANT RESTRICTIONS:
#
#       1. No spaces are permitted between commas or within addresses.
#
#       2. If you give more IP addresses than MAX_CONNECTIONS, it will
#          start at the beginning of the list and go until it gets
#          MAX_CONNECTIONS IPs. Others will be ignored.
#
#       3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
#          you must type 234-238 if you mean this.
#
#       4. If you give a single localIP, that's ok - all local IPs will
#          be set to the given one. You MUST still give at least one remote
#          IP for each simultaneous client.
#
#localip 192.168.0.234-238,192.168.0.245
#remoteip 192.168.1.234-238,192.168.1.245
#localip 10.0.1.1
#remoteip 10.0.1.2-100
#localip 203.17.40.97
#remoteip 203.17.40.109,203.17.40.106
localip 192.168.1.1-100
remoteip 192.168.1.101-200

And the /etc/ppp/pptpd-options file:

cata:~# less /etc/ppp/pptpd-options
## SAMPLE ONLY
## CHANGE TO SUIT YOUR SYSTEM

## turn pppd syslog debugging on
#debug

## change 'servername' to whatever you specify as your server name in
chap-secre
ts
name bluey
## change the domainname to your local domain
domain cata.mine.nu

## these are reasonable defaults for WinXXXX clients
## for the security related settings
auth
require-chap
#require-chapms
#require-chapms-v2
+chap
#+chapms
#+chapms-v2
#mppe-40
#mppe-128
#mppe-stateless
#require-mppe
#require-mppe-stateless

## Fill in your addresses
#ms-dns 10.0.0.1
#ms-wins 10.0.0.1

## Fill in your netmask
netmask 255.255.255.0

## some defaults
nodefaultroute
proxyarp
lock

Can anyone help me?

Thanks...!




More information about the pptp-server mailing list