免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5100 | 回复: 4
打印 上一主题 下一主题

[vpn] pptp linux 做client,不能连接上的问题 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2006-09-08 10:50 |只看该作者
server
vi /etc/ppp/ppp.conf

  1. pptp:
  2.         set timeout 0
  3.         set log Phase Chat LCP IPCP CCP TUN Command Connect
  4.         load loop
  5.         enable proxy
  6.         accept dns
  7.         enable MSChapV2
  8.         enable mppe
  9.         disable pap
  10.         disable chap
  11.         disable mschap
  12.         set mppe * stateless
  13.         set dns 202.101.172.35
  14.         set ifaddr 192.168.20.203 192.168.90.250-192.168.20.252 255.255.255.255
复制代码

vi /usr/local/etc/pptpd.conf

  1. speed 115200
  2. pidfile /var/run/pptpd.pid

  3. debug
  4. logwtmp
  5. nobsdcomp
  6. proxyarp
  7. refuse-pap
  8. refuse-chap
  9. refuse-mschap
  10. require-mschap-v2
  11. require-mppe-128
  12. lock
  13. name pptp
  14. auth

  15. localip 192.168.20.203
  16. remoteip 192.168.90.250-252
复制代码

论坛徽章:
0
2 [报告]
发表于 2006-09-08 10:51 |只看该作者
modprobe ppp-compress-18 && echo ok

ok

论坛徽章:
0
3 [报告]
发表于 2006-09-08 11:02 |只看该作者
server上的ppp.log

  1. [root@upload ~]# Sep  7 03:29:59 freebsd ppp[20888]: Phase: Using interface: tun0
  2. Sep  7 03:29:59 freebsd ppp[20888]: Phase: deflink: Created in closed state
  3. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: load loop
  4. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Warning: loop: Configuration label not found
  5. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Warning: load: Failed 1
  6. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: enable proxy
  7. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: accept dns
  8. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: enable MSChapV2
  9. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: enable mppe
  10. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: disable pap
  11. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: disable chap
  12. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: disable mschap
  13. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: set mppe * stateless
  14. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: set dns 202.101.172.35
  15. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Command: pptp: set ifaddr 192.168.20.203 192.168.90.250-192.168.20.252 255.255.255.255
  16. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Warning: 64.168.150.162: Cannot determine ethernet address for proxy ARP
  17. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: Selected IP address 64.168.150.162
  18. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: PPP Started (direct mode).
  19. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: bundle: Establish
  20. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: closed -> opening
  21. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: Connected!
  22. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: opening -> carrier
  23. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: carrier -> lcp
  24. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: FSM: Using "deflink" as a transport
  25. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: State change Initial --> Closed
  26. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: State change Closed --> Stopped
  27. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
  28. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACCMAP[6] 0x00000000
  29. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MAGICNUM[6] 0x6d8c1168
  30. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  PROTOCOMP[2]
  31. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACFCOMP[2]
  32. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
  33. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACFCOMP[2]
  34. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  PROTOCOMP[2]
  35. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACCMAP[6] 0x00000000
  36. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MRU[4] 1500
  37. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MAGICNUM[6] 0xe07d4bc0
  38. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
  39. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
  40. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACCMAP[6] 0x00000000
  41. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MAGICNUM[6] 0x6d8c1168
  42. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  PROTOCOMP[2]
  43. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACFCOMP[2]
  44. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: LayerStart
  45. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
  46. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
  47. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACFCOMP[2]
  48. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  PROTOCOMP[2]
  49. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  ACCMAP[6] 0x00000000
  50. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MRU[4] 1500
  51. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  MAGICNUM[6] 0xe07d4bc0
  52. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
  53. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: State change Ack-Sent --> Opened
  54. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: LayerUp
  55. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: bundle: Authenticate
  56. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: his = none, mine = CHAP 0x81
  57. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: Chap Output: CHALLENGE
  58. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: Chap Input: RESPONSE (49 bytes from mysnopy)
  59. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: Chap Output: SUCCESS
  60. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Warning: 64.168.150.162: Cannot determine ethernet address for proxy ARP
  61. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: FSM: Using "deflink" as a transport
  62. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: State change Initial --> Closed
  63. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: LayerStart.
  64. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
  65. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  DEFLATE[4] win 15
  66. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  PRED1[2]
  67. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x010000e0 (128/56/40 bits, stateless)
  68. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: State change Closed --> Req-Sent
  69. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: lcp -> open
  70. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: bundle: Network
  71. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: FSM: Using "deflink" as a transport
  72. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: State change Initial --> Closed
  73. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: LayerStart.
  74. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
  75. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.203
  76. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  77. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: State change Closed --> Req-Sent
  78. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: RecvConfigReq(1) state = Req-Sent
  79. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  80. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigAck(1) state = Req-Sent
  81. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  82. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: State change Req-Sent --> Ack-Sent
  83. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: RecvConfigRej(1) state = Ack-Sent
  84. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  DEFLATE[4] win 15
  85. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  PRED1[2]
  86. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigReq(2) state = Ack-Sent
  87. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x010000e0 (128/56/40 bits, stateless)
  88. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: RecvTerminateAck(1) state = Req-Sent
  89. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened
  90. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
  91. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
  92. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: RecvConfigNak(2) state = Ack-Sent
  93. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  94. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigReq(3) state = Ack-Sent
  95. Sep  7 03:29:59 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  96. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
  97. Sep  7 03:29:59 freebsd ppp[20888]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
  98. Sep  7 03:29:59 freebsd ppp[20888]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
  99. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
  100. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  101. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 0.0.0.0
  102. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: SendConfigNak(1) state = Req-Sent
  103. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.251
  104. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: RecvConfigReq(2) state = Req-Sent
  105. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  106. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.251
  107. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: SendConfigAck(2) state = Req-Sent
  108. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  109. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.251
  110. Sep  7 03:29:59 freebsd ppp[20888]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
  111. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP: deflink: RecvConfigReq(2) state = Ack-Sent
  112. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  113. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.251
  114. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP: deflink: SendConfigAck(2) state = Ack-Sent
  115. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  116. Sep  7 03:30:01 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.251
  117. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
  118. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.203
  119. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  120. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
  121. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP:  IPADDR[6] 192.168.20.203
  122. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
  123. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
  124. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP: deflink: LayerUp.
  125. Sep  7 03:30:02 freebsd ppp[20888]: tun0: IPCP: myaddr 192.168.20.203 hisaddr = 192.168.20.251
  126. Sep  7 03:30:02 freebsd ppp[20888]: tun0: Phase: deflink: Not transmitting... waiting for CCP
  127. Sep  7 03:30:02 freebsd ppp[20888]: tun0: Phase: deflink: Not transmitting... waiting for CCP
  128. Sep  7 03:30:02 freebsd ppp[20888]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
  129. Sep  7 03:30:02 freebsd ppp[20888]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
  130. Sep  7 03:30:02 freebsd ppp[20888]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
  131. Sep  7 03:30:02 freebsd ppp[20888]: tun0: Phase: deflink: Not transmitting... waiting for CCP
  132. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigReq(3) state = Ack-Sent
  133. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  134. Sep  7 03:30:02 freebsd ppp[20888]: tun0: Phase: deflink: Not transmitting... waiting for CCP
  135. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: RecvConfigReq(2) state = Ack-Sent
  136. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  137. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: SendConfigAck(2) state = Ack-Sent
  138. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  139. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: RecvConfigAck(3) state = Ack-Sent
  140. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP:  MPPE[6] value 0x01000040 (128 bits, stateless)
  141. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: State change Ack-Sent --> Opened
  142. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: LayerUp.
  143. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: MPPE: Input channel initiated
  144. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: MPPE: Output channel initiated
  145. Sep  7 03:30:02 freebsd ppp[20888]: tun0: CCP: deflink: Out = MPPE[18], In = MPPE[18]
  146. Sep  7 03:30:02 freebsd ppp[20888]: tun0: LCP: Reducing MTU from 1500 to 1498 (CCP requirement)
  147. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: RecvTerminateReq(6) state = Opened
  148. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: LayerDown
  149. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: SendTerminateAck(6) state = Opened
  150. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: State change Opened --> Stopping
  151. Sep  7 03:30:04 freebsd ppp[20888]: tun0: CCP: deflink: LayerDown.
  152. Sep  7 03:30:04 freebsd ppp[20888]: tun0: CCP: deflink: State change Opened --> Starting
  153. Sep  7 03:30:04 freebsd ppp[20888]: tun0: CCP: deflink: LayerFinish.
  154. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: State change Stopping --> Closing
  155. Sep  7 03:30:04 freebsd ppp[20888]: tun0: CCP: deflink: State change Starting --> Initial
  156. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: open -> lcp
  157. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: deflink: LayerDown: 192.168.20.203
  158. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: deflink: State change Opened --> Starting
  159. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: deflink: LayerFinish.
  160. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: Connect time: 5 secs: 0 octets in, 0 octets out
  161. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: 0 packets in, 0 packets out
  162. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Thu Sep  7 03:29:59 2006
  163. Sep  7 03:30:04 freebsd ppp[20888]: tun0: IPCP: deflink: State change Starting --> Initial
  164. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: bundle: Terminate
  165. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: read (0): Got zero bytes
  166. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: LayerFinish
  167. Sep  7 03:30:04 freebsd ppp[20888]: tun0: LCP: deflink: State change Closing --> Initial
  168. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: Disconnected!
  169. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: Connect time: 5 secs: 625 octets in, 449 octets out
  170. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: 15 packets in, 19 packets out
  171. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase:  total 214 bytes/sec, peak 381 bytes/sec on Thu Sep  7 03:30:00 2006
  172. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: deflink: lcp -> closed
  173. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: bundle: Dead
  174. Sep  7 03:30:04 freebsd ppp[20888]: tun0: Phase: PPP Terminated (normal).
复制代码

论坛徽章:
0
4 [报告]
发表于 2006-09-08 11:22 |只看该作者
另一台正常连接的LOG

  1. pon connect debug dump logfd 2 nodetach
  2. pppd options in effect:
  3. debug           # (from command line)
  4. nodetach                # (from command line)
  5. logfd 2         # (from command line)
  6. dump            # (from command line)
  7. noauth          # (from /etc/ppp/options.pptp)
  8. refuse-chap             # (from /etc/ppp/options.pptp)
  9. refuse-mschap           # (from /etc/ppp/options.pptp)
  10. refuse-eap              # (from /etc/ppp/options.pptp)
  11. name mysnopy            # (from /etc/ppp/peers/connect)
  12. remotename PPTP         # (from /etc/ppp/peers/connect)
  13.                 # (from /etc/ppp/options.pptp)
  14. pty pptp 60.190.211.23 --nolaunchpppd           # (from /etc/ppp/peers/connect)
  15. ipparam connect         # (from /etc/ppp/peers/connect)
  16. nobsdcomp               # (from /etc/ppp/options.pptp)
  17. nodeflate               # (from /etc/ppp/options.pptp)
  18. require-mppe-128                # (from /etc/ppp/options.pptp)
  19. using channel 5
  20. Using interface ppp0
  21. Connect: ppp0 <--> /dev/pts/2
  22. sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x894dea1> <pcomp> <accomp>]
  23. rcvd [LCP ConfReq id=0x1 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x1ab84745> <auth chap MS-v2>]
  24. sent [LCP ConfAck id=0x1 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x1ab84745> <auth chap MS-v2>]
  25. rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x894dea1> <pcomp> <accomp>]
  26. rcvd [CHAP Challenge id=0x1 <e853443277add8334896d0aa58c7cb46>, name = ""]
  27. sent [CHAP Response id=0x1 <89635d050896744922b0d1c3778d98430000000000000000b01c50bbc673f9ad41c28af76e80f4133f0233a97db50dec00>, name = "mysnopy"]
  28. rcvd [CHAP Success id=0x1 "S=1AA792CC428B2025AC274C5D77A5CCA55614B4CD"]
  29. sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
  30. rcvd [CCP ConfReq id=0x1 <deflate 15> <predictor 1> <mppe +H +M +S +L -D -C>]
  31. sent [CCP ConfRej id=0x1 <deflate 15> <predictor 1>]
  32. rcvd [IPCP ConfReq id=0x1 <addr 192.168.20.203> <compress VJ 0f 01>]
  33. sent [IPCP TermAck id=0x1]
  34. rcvd [IPV6CP ConfReq id=0x1 <addr fe80::020c:29ff:fe26:46e2>]
  35. Unsupported protocol 0x8057 received
  36. sent [LCP ProtRej id=0x2 80 57 01 01 00 0e 01 0a 02 0c 29 ff fe 26 46 e2]
  37. rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
  38. rcvd [CCP ConfReq id=0x2 <mppe +H +M +S +L -D -C>]
  39. sent [CCP ConfNak id=0x2 <mppe +H -M +S -L -D -C>]
  40. rcvd [IPV6CP TermReq id=0x1]
  41. Unsupported protocol 0x8057 received
  42. sent [LCP ProtRej id=0x3 80 57 05 01 00 04]
  43. rcvd [CCP ConfReq id=0x3 <mppe +H -M +S -L -D -C>]
  44. sent [CCP ConfAck id=0x3 <mppe +H -M +S -L -D -C>]
  45. MPPE 128-bit stateless compression enabled
  46. sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
  47. rcvd [IPCP ConfNak id=0x1 <addr 192.168.20.251>]
  48. sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  49. rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  50. sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  51. rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  52. sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  53. rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.20.251>]
  54. rcvd [IPCP ConfReq id=0x2 <addr 192.168.20.203> <compress VJ 0f 01>]
  55. sent [IPCP ConfAck id=0x2 <addr 192.168.20.203> <compress VJ 0f 01>]
  56. local  IP address 192.168.20.251
  57. remote IP address 192.168.20.203
  58. Script /etc/ppp/ip-up started (pid 15612)
  59. rcvd [IPV6CP TermReq id=0x1]
  60. Unsupported protocol 0x8057 received
  61. sent [LCP ProtRej id=0x4 80 57 05 01 00 04]
  62. Script /etc/ppp/ip-up finished (pid 15612), status = 0x0
  63. rcvd [IPV6CP TermReq id=0x1]
  64. Unsupported protocol 0x8057 received
  65. sent [LCP ProtRej id=0x5 80 57 05 01 00 04]
  66. rcvd [IPV6CP TermReq id=0x1]
  67. Unsupported protocol 0x8057 received
  68. sent [LCP ProtRej id=0x6 80 57 05 01 00 04]
  69. rcvd [IPV6CP TermReq id=0x1]
  70. Unsupported protocol 0x8057 received
  71. sent [LCP ProtRej id=0x7 80 57 05 01 00 04]
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP