« -: Sep 06, 2005, 09:20 »
Здравейте, отне ми доста време за да настроя pptp клиента си за връзка към VPN сървър. За жалост до момента без особен успех. Следвайки информацията от handbook-a и други източници прилагам конфигурационния си файл и ppp.log, с надеждата някой да ми помогне.
ppp.conf
VPN:
set authname user
set authkey pass
set timeout 0
set ifaddr 0 0
add 192.168.0.12 HISADDR
alias enable yes
disable ipv6cp
add default HISADDR
Стартирам pptp клиента със следните параметри:
pptp 192.168.0.12 VPN
ppp.log
Sep 6 08:56:53 bsd ppp[619]: Phase: Using interface: tun0
Sep 6 08:56:53 bsd ppp[619]: Phase: deflink: Created in closed state
Sep 6 08:56:53 bsd ppp[619]: Warning: The alias command is deprecated
Sep 6 08:56:53 bsd ppp[619]: Phase: PPP Started (direct mode).
Sep 6 08:56:53 bsd ppp[619]: Phase: bundle: Establish
Sep 6 08:56:53 bsd ppp[619]: Phase: deflink: closed -> opening
Sep 6 08:56:53 bsd ppp[619]: Phase: deflink: Connected!
Sep 6 08:56:53 bsd ppp[619]: Phase: deflink: opening -> carrier
Sep 6 08:56:54 bsd ppp[619]: Phase: deflink: carrier -> lcp
Sep 6 08:56:54 bsd ppp[619]: Phase: bundle: Authenticate
Sep 6 08:56:54 bsd ppp[619]: Phase: deflink: his = CHAP 0x81, mine = none
Sep 6 08:56:54 bsd ppp[619]: Phase: Chap Input: CHALLENGE (16 bytes)
Sep 6 08:56:54 bsd ppp[619]: Phase: Chap Output: RESPONSE (user)
Sep 6 08:56:55 bsd ppp[619]: Phase: Chap Input: SUCCESS (S=F344EB2A200C5FD26E4A36D625670054D945FF67)
Sep 6 08:56:55 bsd ppp[619]: Phase: deflink: lcp -> open
Sep 6 08:56:55 bsd ppp[619]: Phase: bundle: Network
Sep 6 08:56:55 bsd ppp[619]: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Sep 6 08:56:55 bsd ppp[619]: Warning: ff02:5::/32: Change route failed: errno: Network is unreachable
Sep 6 08:56:56 bsd ppp[619]: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Sep 6 08:56:56 bsd ppp[619]: Warning: ff02:5::/32: Change route failed: errno: Network is unreachable
Sep 6 08:56:56 bsd ppp[619]: Phase: Signal 15, terminate.
Sep 6 08:56:56 bsd ppp[619]: Phase: Signal 15, terminate.
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: read (0): Got zero bytes
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: open -> lcp
Sep 6 08:56:56 bsd ppp[619]: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Sep 6 08:56:56 bsd ppp[619]: Warning: ff02:5::/32: Change route failed: errno: Network is unreachable
Sep 6 08:56:56 bsd ppp[619]: Phase: bundle: Terminate
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: Disconnected!
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: Connect time: 3 secs: 406 octets in, 769662 octets out
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: 12 packets in, 1149 packets out
Sep 6 08:56:56 bsd ppp[619]: Phase: total 256689 bytes/sec, peak 203 bytes/sec on Tue Sep 6 08:56:56 2005
Sep 6 08:56:56 bsd ppp[619]: Phase: deflink: lcp -> closed
Sep 6 08:56:56 bsd ppp[619]: Phase: bundle: Dead
Sep 6 08:56:56 bsd ppp[619]: Phase: PPP Terminated (normal).