有谁在ArchLinux下使用VPN了,或是知道pptp怎样配置?
时间:2005-10-27
来源:互联网
我的/etc/ppp/chap-secrets文件内容如下:
# Secrets for authentication using CHAP
# client server secret IP addresses
"vpntest" 10.31.18.9 vpntest
/etc/ppp/peers/pptp文件如下:
noauth
nobsdcomp
nodeflate
name testvpn
remotename PPTP
defaultroute
replacedefaultroute
pty "pptp 10.31.18.9 --nolaunchpppd"
我拨号的方法方法如下:
# pptp 10.31.18.9 user vpntest
以上内容是根据网上资料照猫画虎,
结果报错:
anon warn[open_inetsock:pptp_callmgr.c:326]: connect: Connection refused
anon fatal[callmgr_main:pptp_callmgr.c:124]: Could not open control connection to 10.31.18.9
anon fatal[open_callmgr:pptp.c:426]: Call manager exited with error 256
anon fatal[main:pptp.c:310]: Child process died
急盼解。
作者: 南蛮.net 发布时间: 2005-10-27
作者: caelfish 发布时间: 2009-09-04
楼主搞定了分享一下
作者: axlrose 发布时间: 2009-09-04
你试试加上类似的语句在你的options中:
require-mppe
require-mppe-128
require-mschap
require-mschap-v2
也许能行吧。
作者: macrosun 发布时间: 2009-09-04
http://forum.ubuntu.org.cn/viewtopic.php?f=73&t=21606
作者: rhfcaesar 发布时间: 2009-09-04
作者: lymanrb 发布时间: 2009-09-04
作者: qiang_liu8183 发布时间: 2009-09-05
作者: princelai 发布时间: 2009-09-06
作者: luyaotang 发布时间: 2009-12-09
Arch上的vpnc直接enable了hybrid authentication,所以无需和Ubuntu一样自己编译了。从Windows或者Cisco官方的Linux VPN client中获取.pcf文件用pcf2vpnc转换一下用就可以了。
我是用rc.d下的脚本启动vpnc的,配置文件是/etc/vpnc/start.conf
IPSec ID Ora-Hybrid-Gen
IPSec gateway xxx.oracle.com
IPSec secret xxxxxxxx
Xauth username username
Application version Cisco Systems VPN Client 4.8.0 (A):Linux
IKE Authmode hybrid
CA-File /etc/vpnc/xxx.cert
仅供参考,vpnc支持Cisco和Nortel的vpn。不过北美的nortel都已经倒闭了吧...
作者: 至尊宝 发布时间: 2009-12-09
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28