root@fantry:~/Desktop/pptp-linux-1.4.0# cat /etc/ppp/peers/ppp_nmlab
remotename ppp_nmlab
linkname ppp_nmlab
ipparam ppp_nmlab
pty "pptp 10.214.49.150 --nolaunchpppd"
name vpn
noauth
file /etc/ppp/options.pptp
root@fantry:~/Desktop/pptp-linux-1.4.0# cat /etc/ppp/options.pptp
lock
noauth
nobsdcomp
nodeflate
root@fantry:~/Desktop/pptp-linux-1.4.0# cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
vpn ppp_nmlab npv *
root@fantry:~/Desktop/pptp-linux-1.4.0# pppd call ppp_nmlab logfd 1 updetach
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
LCP: timeout sending Config-Requests
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
tcflush failed: Bad file descriptor
root@fantry:~/Desktop/pptp-linux-1.4.0# vi /var/log/daemon.log
Jun 5 15:04:23 localhost pptp[9972]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 5 'Echo-Request'
Jun 5 15:05:23 localhost pptp[9972]: anon log[pptp_send_ctrl_packet:pptp_ctrl.c:599]: write error: Broken pipe
Jun 5 15:05:23 localhost pptp[9972]: anon log[call_callback:pptp_callmgr.c:77] Closing connection
Jun 5 15:05:23 localhost pptp[9972]: anon log[pptp_conn_close:pptp_ctrl.c:425] Closing PPTP connection
Jun 5 15:05:23 localhost pptp[9972]: anon log[pptp_write_some:pptp_ctrl.c:497] write error: Bad file descriptor
Jun 5 15:08:50 localhost pptp[10112]: anon log[main:pptp.c:237] The synchronous pptp option is NOT activated
Jun 5 15:08:50 localhost pptp[10116] anon log[ctrlp_rep:pptp_ctrl.c:243] Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 5 15:08:50 localhost pptp[10116]: anon log[ctrlp_disp:pptp_ctrl.c:714]: Received Start Control Connection Reply
Jun 5 15:08:50 localhost pptp[10116] anon log[ctrlp_disp:pptp_ctrl.c:748]: Client connection established.
Jun 5 15:08:51 localhost pptp[10116] anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 5 15:08:51 localhost pptp[10116]: anon log[ctrlp_disp:pptp_ctrl.c:834]: Received Outgoing Call Reply.
Jun 5 15:08:51 localhost pptp[10116] anon log[ctrlp_disp:pptp_ctrl.c:873]: Outgoing call established (call ID 0, peer's call ID 9472).
Jun 5 15:09:21 localhost pptp[10135] anon log[main:pptp.c:237] The synchronous pptp option is NOT activated
Jun 5 15:09:21 localhost pptp[10116]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 5 15:10:21 localhost pptp[10116]: anon log[pptp_send_ctrl_packet:pptp_ctrl.c:599]: write error: Broken pipe
Jun 5 15:10:21 localhost pptp[10116]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
what's possible reason cause this ,i really crawl at it.
thx !
pptp vpn配置问题
Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
前往
- 公告/注意事项
- ↳ 新闻和通知
- ↳ 软件推荐
- 系统安装
- ↳ 教学和常见问答
- ↳ 系统安装和升级
- ↳ 启动和引导
- ↳ 网卡无线拨号
- ↳ 硬件与内核
- ↳ 笔记本及便携设备
- ↳ Ubuntu衍生版
- ↳ 其他类Unix OS发行版
- ↳ Debian发行版
- 配置美化
- ↳ 中文显示和输入法
- ↳ 个人配置文件存放点
- ↳ 软件文档翻译
- ↳ 窗口管理器及美化
- ↳ 桌面展示
- 软件使用
- ↳ 办公、图像、机械电子设计等
- ↳ Vim和Emacs
- ↳ 开源模板库
- ↳ 互联网相关软件
- ↳ 影音多媒体
- ↳ 游戏和模拟器
- ↳ 虚拟机和虚拟化
- ↳ Wine及其分支
- ↳ 其它类软件
- 服务器管理
- ↳ 服务器运维
- ↳ 云计算和容器(K8S/KVM/Docker/WSL等)
- ↳ Ubuntu VPS
- 程序设计与开发
- ↳ Shell脚本
- ↳ 软件/网站开发
- ↳ 内核及嵌入式开发
- ↳ Ubuntu编译和打包
- ↳ 开源小工具
- ↳ 挑战任务
- 感想与交流
- ↳ 深度PK版
- ↳ Ubuntu故事和感慨
- ↳ 同城交流
- ↳ 校园社团
- ↳ 港澳台校区
- ↳ 国外校区
- 站务区
- ↳ 论坛管理
- ↳ Ubuntu中文网上商店