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 ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 VPN client (pptp) problems...
Author: Dmitry 
Date:   24-03-04 05:43

My FBSD box (5.2-BETA) rebooted right after I tried to use pptp log file is not very descriptive (see below excerpt from log). Is it ipv6 extension which makes it go nuts?

Mar 23 21:47:42 gateway ppp[35371]: Phase: Using interface: tun0
Mar 23 21:47:42 gateway ppp[35371]: Phase: deflink: Created in closed state
Mar 23 21:47:42 gateway ppp[35371]: Warning: The alias command is deprecated
Mar 23 21:47:42 gateway ppp[35371]: Phase: PPP Started (direct mode).
Mar 23 21:47:42 gateway ppp[35371]: Phase: bundle: Establish
Mar 23 21:47:42 gateway ppp[35371]: Phase: deflink: closed -> opening
Mar 23 21:47:42 gateway ppp[35371]: Phase: deflink: Connected!
Mar 23 21:47:42 gateway ppp[35371]: Phase: deflink: opening -> carrier
Mar 23 21:47:43 gateway ppp[35371]: Phase: deflink: carrier -> lcp
Mar 23 21:47:44 gateway ppp[35371]: Phase: bundle: Authenticate
Mar 23 21:47:44 gateway ppp[35371]: Phase: deflink: his = CHAP 0x81, mine = none

Mar 23 21:47:44 gateway ppp[35371]: Phase: Chap Input: CHALLENGE (16 bytes from
131.232.99.254)
Mar 23 21:47:44 gateway ppp[35371]: Phase: Chap Output: RESPONSE (my_name)
Mar 23 21:47:44 gateway ppp[35371]: Phase: Chap Input: SUCCESS (S=01976803BF5B61
7AC5EC87073689A09D92E0F6EF)
Mar 23 21:47:44 gateway ppp[35371]: Phase: deflink: lcp -> open
Mar 23 21:47:44 gateway ppp[35371]: Phase: bundle: Network
Mar 23 21:47:44 gateway ppp[35371]: Phase: deflink: IPV6CP protocol reject close
s IPV6CP !
Mar 23 21:47:44 gateway ppp[35371]: Phase: deflink: IPV6CP protocol reject close
s IPV6CP !
Mar 23 21:47:44 gateway ppp[35371]: Warning: Unexpected MPPE options 0x00000060
Mar 23 21:47:44 gateway ppp[35371]: Warning: MPPEOutput: Cannot initialise - une
xpected options
Mar 23 21:47:44 gateway ppp[35371]: Error: deflink: MPPE (out) initialisation fa
ilure
Mar 23 21:47:44 gateway ppp[35371]: Phase: deflink: open -> lcp
Mar 23 21:47:44 gateway ppp[35371]: Phase: bundle: Terminate
Mar 23 21:47:44 gateway ppp[35371]: Phase: Signal 15, terminate.
Mar 23 21:47:47 gateway ppp[35371]: Phase: deflink: Disconnected!
Mar 23 21:47:47 gateway ppp[35371]: Phase: deflink: Connect time: 5 secs: 514 oc
tets in, 401 octets out
Mar 23 21:47:47 gateway ppp[35371]: Phase: deflink: 14 packets in, 16 packets ou
t
Mar 23 21:47:47 gateway ppp[35371]: Phase: total 183 bytes/sec, peak 293 bytes/
sec on Tue Mar 23 21:47:44 2004
Mar 23 21:47:47 gateway ppp[35371]: Phase: deflink: lcp -> closed
Mar 23 21:47:47 gateway ppp[35371]: Phase: bundle: Dead
Mar 23 21:47:47 gateway ppp[35371]: Phase: PPP Terminated (normal).

Reply To This Message
 
 Re: VPN client (pptp) problems...
Author: Tuishimi 
Date:   16-12-05 06:08

I am having the same problem trying to VPN to our microsoft network. Not sure if it is an MPPE issue or IPV6??? I am clueless.

Does ANYONE have any idea?? Help!

Reply To This Message
 
 Re: VPN client (pptp) problems...
Author: Tuishimi 
Date:   16-12-05 16:21

More info from me. I am thinking something is wrong with my config based on the error. Perhaps my add line? I don't know. ANY help would be greatly appreciated!!!

Here is my config file for pptp:

CCC:
set authname xxxxxxxx\\xxxxxxxx
set authkey xxxxxxxxxxxxxxxx
set timeout 0
set ifaddr 0 0
add 10.1.0.0/16 HISADDR
alias enable yes

And here is the log output:

Dec 15 22:47:29 zugzug ppp[73499]: Phase: Using interface: tun0
Dec 15 22:47:29 zugzug ppp[73499]: Phase: deflink: Created in closed state
Dec 15 22:47:29 zugzug ppp[73499]: Warning: The alias command is deprecated
Dec 15 22:47:29 zugzug ppp[73499]: Phase: PPP Started (direct mode).
Dec 15 22:47:29 zugzug ppp[73499]: Phase: bundle: Establish
Dec 15 22:47:29 zugzug ppp[73499]: Phase: deflink: closed -> opening
Dec 15 22:47:29 zugzug ppp[73499]: Phase: deflink: Connected!
Dec 15 22:47:29 zugzug ppp[73499]: Phase: deflink: opening -> carrier
Dec 15 22:47:30 zugzug ppp[73499]: Phase: deflink: carrier -> lcp
Dec 15 22:47:33 zugzug ppp[73499]: Phase: bundle: Authenticate
Dec 15 22:47:33 zugzug ppp[73499]: Phase: deflink: his = CHAP 0x81, mine = none
Dec 15 22:47:33 zugzug ppp[73499]: Phase: Chap Input: CHALLENGE (16 bytes from XXXXXXXX
Dec 15 22:47:33 zugzug ppp[73499]: Phase: Chap Output: RESPONSE (xxxxxxxx\xxxxxxxx)
Dec 15 22:47:33 zugzug ppp[73499]: Phase: Chap Input: SUCCESS (S=E6025DC3998581D2185F4C236B3F54DCC1980BAB)
Dec 15 22:47:33 zugzug ppp[73499]: Phase: deflink: lcp -> open
Dec 15 22:47:33 zugzug ppp[73499]: Phase: bundle: Network
Dec 15 22:47:33 zugzug ppp[73499]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 15 22:47:33 zugzug ppp[73499]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 15 22:47:34 zugzug ppp[73499]: Warning: ff02:4::/32: Change route failed: errno: Network is unreachable
Dec 15 22:47:34 zugzug ppp[73499]: Warning: ff02:4::/32: Change route failed: errno: Network is unreachable
Dec 15 22:47:36 zugzug ppp[73499]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 15 22:47:39 zugzug ppp[73499]: Phase: Caught signal 2, abort connection(s)
Dec 15 22:47:39 zugzug ppp[73499]: Phase: deflink: open -> lcp
Dec 15 22:47:39 zugzug ppp[73499]: Warning: ff02:4::/32: Change route failed: errno: Network is unreachable
Dec 15 22:47:39 zugzug ppp[73499]: Phase: bundle: Terminate
Dec 15 22:47:39 zugzug ppp[73499]: Phase: deflink: Disconnected!
Dec 15 22:47:39 zugzug ppp[73499]: Phase: deflink: Connect time: 10 secs: 634 octets in, 584 octets out
Dec 15 22:47:39 zugzug ppp[73499]: Phase: deflink: 16 packets in, 17 packets out
Dec 15 22:47:39 zugzug ppp[73499]: Phase: total 121 bytes/sec, peak 233 bytes/sec on Thu Dec 15 22:47:34 2005
Dec 15 22:47:39 zugzug ppp[73499]: Phase: deflink: lcp -> closed
Dec 15 22:47:39 zugzug ppp[73499]: Phase: bundle: Dead
Dec 15 22:47:39 zugzug ppp[73499]: Phase: Signal 15, terminate.
Dec 15 22:47:39 zugzug ppp[73499]: Phase: PPP Terminated (normal).

Reply To This Message
 
 Re: VPN client (pptp) problems...
Author: Tuishimi 
Date:   19-12-05 03:43

So, I managed to dig deeper and was able to disable the IPV6 in PPTP. But it still does not work. :( Help? Anyone?

Reply To This Message
 
 Re: VPN client (pptp) problems...
Author: Tuishimi 
Date:   19-12-05 03:46

Here is a more direct question:

Should the "add" in the configuration file match the external IP address of my VPN server, or the internal one?

My sys admin gave me an IP address to tunnel to (which works for Mac OS X and Linux, btw, using PPTPConfig) but once inside, if I ping the server by name, I get an internal network address.

So, as an example, externally I connect to 1.2.3.4 while internally the value is more like 10.1.1.1 (not really, but something like that).

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