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 
 How to connect to internet using PPTP Client
Author: hal9000 
Date:   15-12-06 17:56

Hi All!
I'm trying connect to internet but I cant do it
I'm using PPTP Client 1.7 under FreeBSD 6.1.
Below are my configuration and log files of PPTP Client and etc:

ppp.conf:

pptpconnect:
set device "vpn.corbina.net --nolaunchpppd"
set dial
set login
set server /var/run/ppp/loop "" 0177
set reconnect 10 0
enable dns
set authname ******
set authkey ******
set ifaddr 0 0
add default HISADDR
alias enable yes
accept MSCHAPv2
disable mppe

ppp.log:

Nov 20 23:14:12 bsduser ppp[585]: Phase: Using interface: tun0
Nov 20 23:14:12 bsduser ppp[585]: Phase: deflink: Created in closed state
Nov 20 23:14:12 bsduser ppp[585]: Phase: Listening at local socket /var/run/ppp/loop.
Nov 20 23:14:12 bsduser ppp[585]: Warning: The alias command is deprecated
Nov 20 23:14:12 bsduser ppp[585]: Phase: PPP Started (direct mode).
Nov 20 23:14:12 bsduser ppp[585]: Phase: bundle: Establish
Nov 20 23:14:12 bsduser ppp[585]: Phase: deflink: closed -> opening
Nov 20 23:14:12 bsduser ppp[585]: Phase: deflink: Connected!
Nov 20 23:14:12 bsduser ppp[585]: Phase: deflink: opening -> carrier
Nov 20 23:14:13 bsduser ppp[585]: Phase: deflink: carrier -> lcp
Nov 20 23:14:14 bsduser ppp[585]: Phase: bundle: Authenticate
Nov 20 23:14:14 bsduser ppp[585]: Phase: deflink: his = CHAP 0x80, mine = none
Nov 20 23:14:14 bsduser ppp[585]: Phase: Chap Input: CHALLENGE (8 bytes from bras1 )
Nov 20 23:14:14 bsduser ppp[585]: Phase: Chap Output: RESPONSE (******)
Nov 20 23:14:15 bsduser ppp[585]: Phase: Chap Input: SUCCESS
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: lcp -> open
Nov 20 23:14:15 bsduser ppp[585]: Phase: bundle: Network
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Nov 20 23:14:15 bsduser ppp[585]: Phase: Signal 15, terminate.
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: read (0): Got zero bytes
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: open -> lcp
Nov 20 23:14:15 bsduser ppp[585]: Phase: bundle: Terminate
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: Disconnected!
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: Connect time: 3 secs: 358 octets in, 1207287 octets out
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: 8 packets in, 1326 packets out
Nov 20 23:14:15 bsduser ppp[585]: Phase: total 402548 bytes/sec, peak 198 bytes/sec on Mon Nov 20 23:14:15 2006
Nov 20 23:14:15 bsduser ppp[585]: Phase: deflink: lcp -> closed
Nov 20 23:14:15 bsduser ppp[585]: Phase: bundle: Dead
Nov 20 23:14:15 bsduser ppp[585]: Phase: PPP Terminated (normal).

Gateway of my provider's internal network: 10.185.0.x
PPTP Server of my provider: 195.x.x.x (dns name vpn.****.net).

When I intend to connect I'm using: pptp vpn.****.net pptpconnect

Help me plz I tired to find right configuration.

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