pptp vpn配置问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
fantry
帖子: 9
注册时间: 2006-05-14 18:55

pptp vpn配置问题

#1

帖子 fantry »

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 !
回复