[pptp-server] Problems logging into PopTop

Andy Ennamorato ajennamo at uncc.edu
Mon Jan 15 21:01:46 CST 2001


Poptop gurus,

I recently setup PopTop 1.1.2 on a Linux RedHat 6.2, Kernel 2.2.14 machine.
I have ppp 2.3.11 and use an
ADSL connection to access the Internet. The Linux box acts as a
firewall/router for a Win98 machine sitting behind it,
but I "opened" the firewall to test the VPN/PopTop connection.

When I try to connect from the Win98 machine from behind the firewall
(going out, then coming back in using the
Linux box's external IP address), the Win98 client will say "Username and
password verified...", writes approximately
300 bytes, then disconnects. If I try again, after that, it doesn't even
make the connection.

I believe that I just don't have the right setup with the chap-secrets and
the /etc/ppp/options files. When I look at the logs
(pptp.log and /var/log/messages), I noticed this error:
>Jan 15 18:22:54 yoyodyne pppd[1215]: Peer is not authorized to use remote
address 192.168.1.70
>Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP TermReq id=0x3
"Unauthorized remote IP address"]

I've searched through the archive and through some of the old messages I've
seen go by on the list, but couldn't
quite find an answer.

Here's a copy of my options file (/etc/ppp/options - is it advisable to use
a options.pptp type file instead?):

lock
debug

Here's the /etc/pptpd.conf file:

speed 115200
debug
localip 192.168.1.80-89
remoteip 192.168.1.70-79

Here's the chap-secrets file:

# Secrets for authentication using CHAP
# client        server  secret                   IP addresses
guest   *       XXXXX   *
andy    *       XXXX    *
"anjoju"        *       "XXXXX"

The last line in the chap-secrets file is for the ADSL connection. Does
PopTop use " "'s around the username/secret, or is it fine
with just spaces and tabs to delimit the fields?

Finally, here are portions of the /var/log and /var/log/pptpd.log files,
relevent to the error I'm getting. I've tried following the
RedHat-PoPToP.txt file and using the FAQ on http://poptop.lineo.com, but
still no luck. Could someone post their chap-secrets/pptpd.conf files, I'm
sure I'm missing something stupid.

Thanks in advance,

Andy Ennamorato
ajennamo at uncc.edu

pptpd.log:

Jan 15 18:22:51 yoyodyne pppd[1215]: pppd 2.3.11 started by root, uid 0
Jan 15 18:22:51 yoyodyne pppd[1215]: Using interface ppp1
Jan 15 18:22:51 yoyodyne pppd[1215]: Connect: ppp1 <--> /dev/pts/1
Jan 15 18:22:51 yoyodyne pppd[1215]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x817e168c> <pcomp> <accomp>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x817e168c> <pcomp> <accomp>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [LCP ConfReq id=0x1 <magic
0x9718b93> <pcomp> <accomp>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [LCP ConfAck id=0x1 <magic
0x9718b93> <pcomp> <accomp>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x817e168c> <pcomp> <accomp>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP ConfReq id=0x1 <addr
192.168.1.80> <compress VJ 0f 01>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [IPCP ConfReq id=0x1 <addr
0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins
0.0.0.0>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP ConfRej id=0x1 <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [CCP ConfReq id=0x1 < 12 06 01 00
00 01> < 11 05 00 01 04>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [CCP ConfRej id=0x1 < 12 06 01 00
00 01> < 11 05 00 01 04>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP ConfReq id=0x2 <addr
192.168.1.80>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [CCP ConfRej id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [CCP ConfReq id=0x2]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [IPCP ConfReq id=0x2 <addr
0.0.0.0>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP ConfNak id=0x2 <addr
192.168.1.70>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [CCP ConfReq id=0x2]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [CCP ConfAck id=0x2]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [IPCP ConfAck id=0x2 <addr
192.168.1.80>]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [CCP ConfAck id=0x2]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [IPCP ConfReq id=0x3 <addr
192.168.1.70>]
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP ConfAck id=0x3 <addr
192.168.1.70>]
Jan 15 18:22:54 yoyodyne pppd[1215]: Peer is not authorized to use remote
address 192.168.1.70
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [IPCP TermReq id=0x3
"Unauthorized remote IP address"]
Jan 15 18:22:54 yoyodyne pppd[1215]: rcvd [CCP TermReq id=0x3]
Jan 15 18:22:54 yoyodyne pppd[1215]: CCP terminated by peer
Jan 15 18:22:54 yoyodyne pppd[1215]: sent [CCP TermAck id=0x3]
Jan 15 18:22:54 yoyodyne pppd[1215]: Compression disabled by peer.
Jan 15 18:22:57 yoyodyne pppd[1215]: sent [IPCP TermReq id=0x4
"Unauthorized remote IP address"]
Jan 15 18:23:00 yoyodyne pppd[1215]: sent [LCP TermReq id=0x2 "No network
protocols running"]
Jan 15 18:23:00 yoyodyne pppd[1215]: rcvd [IPCP TermAck id=0x4]
Jan 15 18:23:00 yoyodyne pppd[1215]: rcvd [LCP TermAck id=0x2]
Jan 15 18:23:00 yoyodyne pppd[1215]: Connection terminated.
Jan 15 18:23:00 yoyodyne pppd[1215]: Connect time 0.1 minutes.
Jan 15 18:23:00 yoyodyne pppd[1215]: Sent 389 bytes, received 347 bytes.
Jan 15 18:23:00 yoyodyne pppd[1215]: Exit.

/var/log/messages:

Jan 15 18:21:22 yoyodyne pptpd[1212]: MGR: Manager process started
Jan 15 18:22:51 yoyodyne pptpd[1214]: CTRL: Client 192.168.0.2 control
connection started
Jan 15 18:22:51 yoyodyne pptpd[1214]: CTRL: Starting call (launching pppd,
opening GRE)
Jan 15 18:22:51 yoyodyne pppd[1215]: pppd 2.3.11 started by root, uid 0
Jan 15 18:22:51 yoyodyne kernel: registered device ppp1
Jan 15 18:22:51 yoyodyne pppd[1215]: Using interface ppp1
Jan 15 18:22:51 yoyodyne pppd[1215]: Connect: ppp1 <--> /dev/pts/1
Jan 15 18:22:51 yoyodyne pptpd[1214]: Buffering out-of-order packet; got 1
after 4294967295
Jan 15 18:22:54 yoyodyne pptpd[1214]: Packet reorder timeout waiting for 0
Jan 15 18:22:54 yoyodyne pptpd[1214]: Buffering out-of-order packet; got 2
after 0
Jan 15 18:22:54 yoyodyne kernel: PPP BSD Compression module registered
Jan 15 18:22:54 yoyodyne kernel: PPP Deflate Compression module registered
Jan 15 18:22:54 yoyodyne pppd[1215]: Peer is not authorized to use remote
address 192.168.1.70
Jan 15 18:22:54 yoyodyne pppd[1215]: CCP terminated by peer
Jan 15 18:22:54 yoyodyne pppd[1215]: Compression disabled by peer.
Jan 15 18:22:57 yoyodyne pptpd[1214]: Buffering out-of-order packet; got 14
after 12
Jan 15 18:23:00 yoyodyne pptpd[1214]: Packet reorder timeout waiting for 13
Jan 15 18:23:00 yoyodyne pptpd[1214]: Buffering out-of-order packet; got 15
after 13
Jan 15 18:23:00 yoyodyne pppd[1215]: Connection terminated.
Jan 15 18:23:00 yoyodyne pppd[1215]: Connect time 0.1 minutes.
Jan 15 18:23:00 yoyodyne pppd[1215]: Sent 389 bytes, received 347 bytes.
Jan 15 18:23:00 yoyodyne pppd[1215]: Exit.
Jan 15 18:23:00 yoyodyne pptpd[1214]: Error reading from pppd: Input/output
error
Jan 15 18:23:00 yoyodyne pptpd[1214]: CTRL: GRE read or PTY write failed
(gre,pty)=(5,4)
Jan 15 18:23:00 yoyodyne pptpd[1214]: CTRL: Client 192.168.0.2 control
connection finished




More information about the pptp-server mailing list