[pptp-server] pptp linux 2 linux connection

Claudiu Farcas clau at litm.sorostm.ro
Wed Jul 12 12:42:23 CDT 2000


  I have troubles setting up a VPN tunnel between a PoPPToP server
(pptpd-1.0.0) and a pptp-client, both running under linux. The server is
configured with 
----------
debug
localip 192.168.0.1-20
remoteip 192.168.1.1-20
----------
and the client is started with: 
pptp MYSERVER name LOGIN remotename PASS debug
The error messages are comming from the pppd:
----------
Jul 10 21:15:53 voyager pppd[7338]: Connect: ppp0 <--> /dev/pts/0
Jul 10 21:15:53 voyager pppd[7338]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xeb796808>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x3acad5b2> <accomp>]
Jul 10 21:15:56 voyager pppd[7338]: sent [LCP ConfRej id=0x1 <auth pap> <accomp>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x3acad5b2>]
Jul 10 21:15:56 voyager pppd[7338]: sent [LCP ConfAck id=0x2 <asyncmap  0x0> <magic 0x3acad5b2>]
Jul 10 21:15:56 voyager pppd[7338]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xeb796808>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xeb796808>]
Jul 10 21:15:56 voyager pppd[7338]: sent [LCP EchoReq id=0x0 magic=0xeb796808]
Jul 10 21:15:56 voyager pppd[7338]: sent [IPCP ConfReq id=0x1 <addr 192.168.0.1>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [IPCP ConfReq id=0x1 <addr CLIENT_ADDR>]
Jul 10 21:15:56 voyager pppd[7338]: sent [IPCP ConfNak id=0x1 <addr 192.168.2.1>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [LCP EchoRep id=0x0 magic=0x3acad5b2]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [IPCP ConfAck id=0x1 <addr 192.168.0.1>]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [IPCP ConfReq id=0x2 <addr 192.168.2.1>]
Jul 10 21:15:56 voyager pppd[7338]: sent [IPCP ConfAck id=0x2 <addr 192.168.2.1>]
Jul 10 21:15:56 voyager pppd[7338]: Peer is not authorized to use remote address 192.168.2.1
Jul 10 21:15:56 voyager pppd[7338]: sent [IPCP TermReq id=0x2  "Unauthorized remote IP address"]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [IPCP TermAck id=0x2]
Jul 10 21:15:56 voyager pppd[7338]: sent [LCP TermReq id=0x2 "No network protocols running"]
Jul 10 21:15:56 voyager pppd[7338]: rcvd [LCP TermAck id=0x2]
Jul 10 21:15:56 voyager pppd[7338]: Connection terminated.
Jul 10 21:15:56 voyager pppd[7338]: Connect time 0.1 minutes.
Jul 10 21:15:56 voyager pppd[7338]: Sent 211 bytes, received 224 bytes.
Jul 10 21:15:56 voyager pppd[7338]: Exit.
-------------
I have removed the compression negotiation phase and the auth for testing.
The error is the same: Peer is not authorized to use remote address x.y.z.t.
  Does anybody have any idea what's wrong here? There is no problem with
auth or compression or lcp, or gre tunnel just the ip negotiation is
wrong. I have also tryed at the client side to pass the ipcp-accept-local
and ipcp-accept-remote options but the problem is the same.
  

Thanks for help,
Claudiu Farcas




More information about the pptp-server mailing list