The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 pptp client problem
Author: Aaron Wright 
Date:   08-05-02 19:55

I'm having a problem connecting to a VPN server. Below is the contents of my /var/log/ppp.log file. I'm pretty sure all the settings in my ppp.conf file are correct, which is also included. Can anyone direct me to what the problem might be? If it's a problem with the server, can you maybe tell me what could be done to fix it? I'll suggest that to the admin, since he knows nothing about BSD or making the pptp server compatible to BSD.

#pptp ip-addy GSW

ppp.conf:
GSW:
set authname vpn-user
set authkey vpn-user-password
set timeout 0
set ifaddr 0 0
add 10.12.1.252/24 HISADDR
alias enable yes

ppp.log:
May 8 11:41:45 SUN ppp[9143]: Phase: Using interface: tun0
May 8 11:41:45 SUN ppp[9143]: Phase: deflink: Created in closed state
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: set device /dev/cuaa1
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: set speed 115200
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: set timeout 180
May 8 11:41:45 SUN ppp[9143]: tun0: Command: default: enable dns
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: set authname vpn023
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: set authkey ********
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: set timeout 0
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: set ifaddr 0 0
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: add 10.12.1.252/24 HISADDR
May 8 11:41:45 SUN ppp[9143]: tun0: Command: GSW: alias enable yes
May 8 11:41:45 SUN ppp[9143]: tun0: Warning: The alias command is deprecated
May 8 11:41:45 SUN ppp[9143]: tun0: Phase: PPP Started (direct mode).
May 8 11:41:45 SUN ppp[9143]: tun0: Phase: bundle: Establish
May 8 11:41:45 SUN ppp[9143]: tun0: Phase: deflink: closed -> opening
May 8 11:41:45 SUN ppp[9143]: tun0: Phase: deflink: Connected!
May 8 11:41:45 SUN ppp[9143]: tun0: Phase: deflink: opening -> carrier
May 8 11:41:46 SUN ppp[9143]: tun0: Phase: deflink: carrier -> lcp
May 8 11:41:46 SUN ppp[9143]: tun0: LCP: FSM: Using "deflink" as a transport
May 8 11:41:46 SUN ppp[9143]: tun0: LCP: deflink: State change Initial --> Closed
May 8 11:41:46 SUN ppp[9143]: tun0: LCP: deflink: State change Closed --> Stopped
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: deflink: LayerStart
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: ACFCOMP[2]
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: PROTOCOMP[2]
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: ACCMAP[6] 0x00000000
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: MRU[4] 1500
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: MAGICNUM[6] 0x3dc85b26
May 8 11:41:47 SUN ppp[9143]: tun0: LCP: deflink: State change Stopped --> Req-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACFCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: PROTOCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACCMAP[6] 0x00000000
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MRU[4] 1500
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MAGICNUM[6] 0x3dc85b26
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MRU[4] 338
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MAGICNUM[6] 0xdb765022
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: PROTOCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACFCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MRU[4] 338
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MAGICNUM[6] 0xdb765022
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: PROTOCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACFCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: Sending ident magic 3dc85b26 text user-ppp 2.3.3 (built Feb 17 2002)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACCMAP[6] 0x00000000
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: ACFCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: PROTOCOMP[2]
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MRU[4] 1500
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: MAGICNUM[6] 0x3dc85b26
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: RecvCodeRej(2) state = Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: State change Ack-Sent --> Opened
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: LayerUp
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: Sending ident magic 3dc85b26 text user-ppp 2.3.3 (built Feb 17 2002)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendIdent(1) state = Opened
May 8 11:41:50 SUN ppp[9143]: tun0: Phase: bundle: Authenticate
May 8 11:41:50 SUN ppp[9143]: tun0: Phase: deflink: his = CHAP 0x81, mine = none
May 8 11:41:50 SUN ppp[9143]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from watchguard)
May 8 11:41:50 SUN ppp[9143]: tun0: Phase: Chap Output: RESPONSE (vpn023)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: RecvCodeRej(3) state = Opened
May 8 11:41:50 SUN ppp[9143]: tun0: Phase: Chap Input: SUCCESS (S=25dd32c6dbd3184ffd158ee4a03cfa7d63792ab5)
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: LayerDown
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: SendTerminateReq(3) state = Opened
May 8 11:41:50 SUN ppp[9143]: tun0: LCP: deflink: State change Opened --> Closing
May 8 11:41:50 SUN ppp[9143]: tun0: Warning: CHAP81: AuthenticatorResponse: (S=25DD32C6DBD3184FFD158EE4A03CFA7D63792AB5) != ans: (S
May 8 11:41:50 SUN ppp[9143]: tun0: IPCP: deflink: Error: Unexpected IPCP in phase Authenticate (ignored)
May 8 11:41:51 SUN ppp[9143]: tun0: CCP: deflink: Error: Unexpected CCP in phase Authenticate (ignored)
May 8 11:41:51 SUN ppp[9143]: tun0: LCP: deflink: RecvTerminateAck(3) state = Closing
May 8 11:41:51 SUN ppp[9143]: tun0: LCP: deflink: LayerFinish
May 8 11:41:51 SUN ppp[9143]: tun0: LCP: deflink: State change Closing --> Closed
May 8 11:41:51 SUN ppp[9143]: tun0: LCP: deflink: State change Closed --> Initial
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: deflink: Disconnected!
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: deflink: Connect time: 6 secs: 402 octets in, 398 octets out
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: deflink: : 10 packets in, 8 packets out
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: total 133 bytes/sec, peak 150 bytes/sec on Wed May 8 11:41:51 2002
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: deflink: lcp -> closed
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: bundle: Dead
May 8 11:41:51 SUN ppp[9143]: tun0: Phase: PPP Terminated (normal).

Reply To This Message
 
 Re: pptp client problem
Author: naim 
Date:   13-05-02 07:18

Today I got configure that both job, vpn server with win2k and vpn client with FreeBSD. also noted Im using PPPoE instead of PPTP on win2k. just suggest your vpn server admin to install pppoe protocol named raspppoe, this s/w not microsoft proprietary. for freebsd client all you need just edit /etc/ppp.conf (refer to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html)

this maybe give u clue if you need running vpn client with freebsd anyway.

Reply To This Message
 
 Re: pptp client problem
Author: Cybil 
Date:   23-07-02 13:39

Hello,
your ppp seems to do not support CHAP81 which correspond to mschapv2.
so you can't authenticate...
try recompiling ppp, it worked for me

Cybil

Reply To This Message
 
 L2TP Client for win98 win95
Author: Ronen 
Date:   27-07-02 13:53

Hi,

I have a pc with win98 and would like to know if there is a free l2tp client to install on my PC so I can connect to the LNS in our business network.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org