用RedHat6 (64bit)架設vpn,無法正常連入 - Linux
By Eden
at 2013-02-06T05:32
at 2013-02-06T05:32
Table of Contents
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
你只接受mschapv2與mppe128
很湊巧的是windows預設值就是沒開這兩種
※ 引述《phs5222 (艾小克)》之銘言:
: 各位前輩大家好
: 最近小弟在使用RedHat6 (64bit)架設vpn的時候,碰到一個問題
: 參考了很多網路上的文章,用了一整天還是不知道該怎麼樣來解決...
: 想請教一下各位前輩關於這個部份,應該要來怎麼解決呢....
: 在勞煩各位前輩 幫忙解惑了
: 在架設的部份
: 系統版本:Red Hat Enterprise Linux Server release 6.2
: 小弟所使用的軟體版本是
: ppp-2.4.5-5.el6.x86_64
: pptpd-1.3.4-2.el6.x86_64.rpm
: 架設的文件是參考網路上安裝的文件進行安裝
: 在安裝的過程之中,沒有出現特別的Error的訊息
: 可是用Ubuntu或 windows 就是連不上
: 後來我去查了一下/var/log/messages
: (為了先前有鄉民前輩提供除錯的方法,所以在/etc/ppp/options 有另外再加上 debug 和 dump)
: 可是還是不知道問題出在哪...Orz
: 系統紀錄的訊息如下
: =========================================================================
: pptpd[3408]: MGR: Maximum of 100 connections reduced to 41, not enough
: IP addresses given
: pptpd[3410]: MGR: Manager process started
: pptpd[3410]: MGR: Maximum of 41 connections available
: pptpd[3413]: CTRL: Client 114.34.10.22 control connection started
: pptpd[3413]: CTRL: Starting call (launching pppd, opening GRE)
: pppd[3415]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
: pppd[3415]: pptpd-logwtmp: $Version$
: pppd[3415]: pppd options in effect:
: pppd[3415]: debug#011#011# (from /etc/ppp/options)
: pppd[3415]: nologfd#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: dump#011#011# (from /etc/ppp/options)
: pppd[3415]: plugin /usr/lib64/pptpd/pptpd-logwtmp.so#011#011#
: (from command line)
: pppd[3415]: require-mschap-v2#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-pap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-chap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-mschap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: name pptpd#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: pptpd-original-ip 114.34.10.22#011#011# (from command line)
: pppd[3415]: 115200#011#011# (from command line)
: pppd[3415]: lock#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: local#011#011# (from command line)
: pppd[3415]: novj#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: novjccomp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: ipparam 114.34.10.22#011#011# (from command line)
: pppd[3415]: ms-dns xxx # [don't know how to print value]#011#011#
: (from /etc/ppp/options.pptpd)
: pppd[3415]: proxyarp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: 192.168.2.1:192.168.2.10#011#011# (from command line)
: pppd[3415]: nobsdcomp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: require-mppe-128#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: pppd 2.4.5 started by root, uid 0
: pppd[3415]: Using interface ppp0
: pppd[3415]: Connect: ppp0 <--> /dev/pts/1
: pppd[3415]: Modem hangup
: pppd[3415]: Connection terminated.
: kernel: libfcoe_device_notification: NETDEV_UNREGISTER ppp0
: pppd[3415]: Exit.
: pptpd[3413]: CTRL: Client 114.34.10.22 control connection finished
: =========================================================================
: 但是實在是不知道問題是出在哪
: 相關的設定文件如下:
: /etc/ppp/options.pptpd
: ===================================
: name pptpd
: refuse-pap
: refuse-chap
: refuse-mschap
: require-mschap-v2
: require-mppe-128
: proxyarp
: lock
: nobsdcomp
: novj
: novjccomp
: nologfd
: ms-dns 168.95.1.1
: ms-dns 8.8.8.8
: ====================================
: /etc/pptpd.conf
: ====================================
: option /etc/ppp/options.pptpd
: logwtmp
: localip 192.168.2.1
: remoteip 192.168.2.10-50
: ====================================
: /etc/sysctl.conf
: net.ipv4.ip_forward = 0 改成 net.ipv4.ip_forward = 1
--
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
你只接受mschapv2與mppe128
很湊巧的是windows預設值就是沒開這兩種
※ 引述《phs5222 (艾小克)》之銘言:
: 各位前輩大家好
: 最近小弟在使用RedHat6 (64bit)架設vpn的時候,碰到一個問題
: 參考了很多網路上的文章,用了一整天還是不知道該怎麼樣來解決...
: 想請教一下各位前輩關於這個部份,應該要來怎麼解決呢....
: 在勞煩各位前輩 幫忙解惑了
: 在架設的部份
: 系統版本:Red Hat Enterprise Linux Server release 6.2
: 小弟所使用的軟體版本是
: ppp-2.4.5-5.el6.x86_64
: pptpd-1.3.4-2.el6.x86_64.rpm
: 架設的文件是參考網路上安裝的文件進行安裝
: 在安裝的過程之中,沒有出現特別的Error的訊息
: 可是用Ubuntu或 windows 就是連不上
: 後來我去查了一下/var/log/messages
: (為了先前有鄉民前輩提供除錯的方法,所以在/etc/ppp/options 有另外再加上 debug 和 dump)
: 可是還是不知道問題出在哪...Orz
: 系統紀錄的訊息如下
: =========================================================================
: pptpd[3408]: MGR: Maximum of 100 connections reduced to 41, not enough
: IP addresses given
: pptpd[3410]: MGR: Manager process started
: pptpd[3410]: MGR: Maximum of 41 connections available
: pptpd[3413]: CTRL: Client 114.34.10.22 control connection started
: pptpd[3413]: CTRL: Starting call (launching pppd, opening GRE)
: pppd[3415]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
: pppd[3415]: pptpd-logwtmp: $Version$
: pppd[3415]: pppd options in effect:
: pppd[3415]: debug#011#011# (from /etc/ppp/options)
: pppd[3415]: nologfd#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: dump#011#011# (from /etc/ppp/options)
: pppd[3415]: plugin /usr/lib64/pptpd/pptpd-logwtmp.so#011#011#
: (from command line)
: pppd[3415]: require-mschap-v2#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-pap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-chap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: refuse-mschap#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: name pptpd#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: pptpd-original-ip 114.34.10.22#011#011# (from command line)
: pppd[3415]: 115200#011#011# (from command line)
: pppd[3415]: lock#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: local#011#011# (from command line)
: pppd[3415]: novj#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: novjccomp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: ipparam 114.34.10.22#011#011# (from command line)
: pppd[3415]: ms-dns xxx # [don't know how to print value]#011#011#
: (from /etc/ppp/options.pptpd)
: pppd[3415]: proxyarp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: 192.168.2.1:192.168.2.10#011#011# (from command line)
: pppd[3415]: nobsdcomp#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: require-mppe-128#011#011# (from /etc/ppp/options.pptpd)
: pppd[3415]: pppd 2.4.5 started by root, uid 0
: pppd[3415]: Using interface ppp0
: pppd[3415]: Connect: ppp0 <--> /dev/pts/1
: pppd[3415]: Modem hangup
: pppd[3415]: Connection terminated.
: kernel: libfcoe_device_notification: NETDEV_UNREGISTER ppp0
: pppd[3415]: Exit.
: pptpd[3413]: CTRL: Client 114.34.10.22 control connection finished
: =========================================================================
: 但是實在是不知道問題是出在哪
: 相關的設定文件如下:
: /etc/ppp/options.pptpd
: ===================================
: name pptpd
: refuse-pap
: refuse-chap
: refuse-mschap
: require-mschap-v2
: require-mppe-128
: proxyarp
: lock
: nobsdcomp
: novj
: novjccomp
: nologfd
: ms-dns 168.95.1.1
: ms-dns 8.8.8.8
: ====================================
: /etc/pptpd.conf
: ====================================
: option /etc/ppp/options.pptpd
: logwtmp
: localip 192.168.2.1
: remoteip 192.168.2.10-50
: ====================================
: /etc/sysctl.conf
: net.ipv4.ip_forward = 0 改成 net.ipv4.ip_forward = 1
--
Tags:
Linux
All Comments
Related Posts
用RedHat6 (64bit)架設vpn,無法正常連入
By Rachel
at 2013-02-05T13:56
at 2013-02-05T13:56
ubuntu 12.10 youtube不能看
By Kelly
at 2013-02-05T03:47
at 2013-02-05T03:47
Ubuntu 12.04工具列的icon怎麼移動?
By Kama
at 2013-02-05T03:05
at 2013-02-05T03:05
開啟終端機出現一行文字
By Lily
at 2013-02-04T20:28
at 2013-02-04T20:28
開啟終端機出現一行文字
By Annie
at 2013-02-04T19:35
at 2013-02-04T19:35