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 ]
Article Feedback - Creating a VPN using PPTP
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 pptp client problems
Author: Beeborat 
Date:   30-11-03 06:59

ppp.conf:

vpn:
set authname AUTHNAME
set authkey PASSWORD
set timeout 0
set ifaddr 0 0
add 10.1.1.1/24 HISADDR
alias enable yes

pptp 10.1.1.1 vpn

ppp.log:

Nov 30 14:57:30 ppp[1116]: Warning: Label vpn rejected -direct connection: /etc/ppp/ppp.conf : File not found
Nov 30 14:57:53 ppp[1122]: Phase: Using interface: tun0
Nov 30 14:57:53 ppp[1122]: Phase: deflink: Created in closed state
Nov 30 14:57:53 ppp[1122]: Warning: The alias command is deprecated
Nov 30 14:57:53 ppp[1122]: Phase: PPP Started (direct mode).
Nov 30 14:57:53 ppp[1122]: Phase: bundle: Establish
Nov 30 14:57:53 ppp[1122]: Phase: deflink: closed -> opening
Nov 30 14:57:53 ppp[1122]: Phase: deflink: Connected!
Nov 30 14:57:53 ppp[1122]: Phase: deflink: opening -> carrier
Nov 30 14:57:54 ppp[1122]: Phase: deflink: carrier -> lcp
Nov 30 14:57:55 ppp[1122]: Phase: bundle: Authenticate
Nov 30 14:57:55 ppp[1122]: Phase: deflink: his = CHAP 0x05, mine = none
Nov 30 14:57:55 ppp[1122]: Phase: Chap Input: CHALLENGE (16 bytes)
Nov 30 14:57:55 ppp[1122]: Phase: Chap Output: RESPONSE (krezapostol)
Nov 30 14:57:55 ppp[1122]: Phase: Chap Input: SUCCESS (Welcome!!)
Nov 30 14:57:55 ppp[1122]: Phase: deflink: lcp -> open
Nov 30 14:57:55 ppp[1122]: Phase: bundle: Network
Nov 30 14:57:55 ppp[1122]: Error: rt_Set: Cannot add a route with gateway 0.0.0.0
Nov 30 14:57:55 ppp[1122]: Phase: Signal 15, terminate.
Nov 30 14:57:55 ppp[1122]: Phase: deflink: read (0): Got zero bytes
Nov 30 14:57:55 ppp[1122]: Phase: deflink: open -> lcp
Nov 30 14:57:55 ppp[1122]: Phase: bundle: Terminate
Nov 30 14:57:55 ppp[1122]: Phase: deflink: Disconnected!
Nov 30 14:57:55 ppp[1122]: Phase: deflink: Connect time: 2 secs: 896 octets in, 625 octets out
Nov 30 14:57:55 ppp[1122]: Phase: deflink: 10 packets in, 18 packets out
Nov 30 14:57:55 ppp[1122]: Phase: total 760 bytes/sec, peak 0 bytes/sec on Sun Nov 30 14:57:53 2003
Nov 30 14:57:55 ppp[1122]: Phase: deflink: lcp -> closed
Nov 30 14:57:55 ppp[1122]: Phase: bundle: Dead
Nov 30 14:57:55 ppp[1122]: Phase: PPP Terminated (normal).

Reply To This Message
 
 Re: pptp client problems
Author: Dan 
Date:   30-11-03 13:52

Beeborat wrote:

> ppp.conf:
>
> vpn:
> set authname AUTHNAME
> set authkey PASSWORD

I changed your post so it includes a fake authname and authkey setting, just in case those were your real values.

> set timeout 0
> set ifaddr 0 0
> add 10.1.1.1/24 HISADDR
> alias enable yes
>
> pptp 10.1.1.1 vpn
>
> ppp.log:
>
> Nov 30 14:57:30 ppp[1116]: Warning: Label vpn rejected -direct
> connection: /etc/ppp/ppp.conf : File not found

I think that you should solve this problem first. I don't have any suggestions.

> Nov 30 14:57:53 ppp[1122]: Phase: Using interface: tun0
> Nov 30 14:57:53 ppp[1122]: Phase: deflink: Created in closed
> state
> Nov 30 14:57:53 ppp[1122]: Warning: The alias command is
> deprecated

Looks like alias is deprecated. Read the man page. Perhaps the replacements is nat.

> Nov 30 14:57:53 ppp[1122]: Phase: PPP Started (direct mode).
> Nov 30 14:57:53 ppp[1122]: Phase: bundle: Establish
> Nov 30 14:57:53 ppp[1122]: Phase: deflink: closed -> opening
> Nov 30 14:57:53 ppp[1122]: Phase: deflink: Connected!
> Nov 30 14:57:53 ppp[1122]: Phase: deflink: opening -> carrier
>
> Nov 30 14:57:54 ppp[1122]: Phase: deflink: carrier -> lcp
> Nov 30 14:57:55 ppp[1122]: Phase: bundle: Authenticate
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: his = CHAP 0x05,
> mine = none
> Nov 30 14:57:55 ppp[1122]: Phase: Chap Input: CHALLENGE (16
> bytes)
> Nov 30 14:57:55 ppp[1122]: Phase: Chap Output: RESPONSE
> (krezapostol)
> Nov 30 14:57:55 ppp[1122]: Phase: Chap Input: SUCCESS
> (Welcome!!)
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: lcp -> open
> Nov 30 14:57:55 ppp[1122]: Phase: bundle: Network
> Nov 30 14:57:55 ppp[1122]: Error: rt_Set: Cannot add a route
> with gateway 0.0.0.0

That's interesting too.

> Nov 30 14:57:55 ppp[1122]: Phase: Signal 15, terminate.
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: read (0): Got zero
> bytes
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: open -> lcp
> Nov 30 14:57:55 ppp[1122]: Phase: bundle: Terminate
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: Disconnected!
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: Connect time: 2
> secs: 896 octets in, 625 octets out
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: 10 packets in, 18
> packets out
> Nov 30 14:57:55 ppp[1122]: Phase: total 760 bytes/sec, peak 0
> bytes/sec on Sun Nov 30 14:57:53 2003
> Nov 30 14:57:55 ppp[1122]: Phase: deflink: lcp -> closed
> Nov 30 14:57:55 ppp[1122]: Phase: bundle: Dead
> Nov 30 14:57:55 ppp[1122]: Phase: PPP Terminated (normal).

I don't use pptp often enough to know what's going on.

--
Webmaster

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