|
我有一个VPN帐号,支持pptp,但好像不支持openvpn
我安装了pptpclient后,按照网上的教程配置好,但连接总不成功,高人看一下哪里出问题?
提示信息:
[/etc/ppp]$ sudo pon vpn debug dump logfd 2 nodetach
密码:
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.pptp)
refuse-pap # (from /etc/ppp/options.pptp)
refuse-chap # (from /etc/ppp/options.pptp)
refuse-mschap # (from /etc/ppp/options.pptp)
refuse-eap # (from /etc/ppp/options.pptp)
name test # (from /etc/ppp/peers/vpn)
remotename vpn # (from /etc/ppp/peers/vpn)
# (from /etc/ppp/options.pptp)
pty pptp ca02.veryfastvpn.com --nolaunchpppd # (from /etc/ppp/peers/vpn)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
ipparam vpn # (from /etc/ppp/peers/vpn)
proxyarp # (from /etc/ppp/options)
usepeerdns # (from /etc/ppp/peers/vpn)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
require-mppe-40 # (from /etc/ppp/peers/vpn)
# (from /etc/ppp/peers/vpn)
noipx # (from /etc/ppp/options)
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
anon warn[open_inetsock:pptp_callmgr.c:329]: connect: No route to host
anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 74.82.202.123
anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
Script pptp ca02.veryfastvpn.com --nolaunchpppd finished (pid 4048), status = 0x1
Modem hangup
Connection terminated.
配置文件:
cat chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
# added by pptpsetup for vpn
ca02.veryfastvpn.com\test vpn "test" *
cat options.pptp
###############################################################################
# $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection. See "man pppd".
#
# You are expected to change this file to suit your system. As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################
# Lock the port
lock
# Authentication
# We don't need the tunnel server to authenticate itself
noauth
# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate
# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)
# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
require-mppe-128
# }}}
# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
cat vpn
# written by pptpsetup
pty "pptp ca02.veryfastvpn.com --nolaunchpppd"
lock
noauth
#nobsdcomp
#nodeflate
name test
remotename vpn
#usepeerdns
ipparam vpn
require-mppe-128
#require-mppe-40
#refuse-eap
file /etc/ppp/options.pptp
其中提示信息中的:
Connect: ppp0 <--> /dev/pts/3
这一行有点问题
因为我的
ls /dev/pts
只有4个文件
ls /dev/pts -l
总用量 0
crw--w---- 1 test tty 136, 0 9月 8 19:21 0
crw--w---- 1 test tty 136, 1 9月 8 19:08 1
crw--w---- 1 test tty 136, 2 9月 8 21:15 2
c--------- 1 root root 5, 2 9月 9 2010 ptmx
我的系统完全没有/dev/pts/3这个文件
不知这个文件是pptp创建的,还是pptp需要的?
请高人看一下我的哪里出问题了
谢谢 |
|