当前位置: 技术问答>linux和unix
用linux做网关,内网无法同时访问VPN,如何解决?
来源: 互联网 发布时间:2015-11-24
本文导语: 用linux做网关连接INTERNET,设置了IPTABLES,内网只有一个人可以访问VPN,其它的内网用户无法登录VPN,如何解决? | 你的VPN是什么验证的呀?我做的VPN不通过加密为什么不行的呀?你用了哪些软...
用linux做网关连接INTERNET,设置了IPTABLES,内网只有一个人可以访问VPN,其它的内网用户无法登录VPN,如何解决?
|
你的VPN是什么验证的呀?我做的VPN不通过加密为什么不行的呀?你用了哪些软件?我的出现这个问题
May 8 21:13:13 localhost pptpd[6295]: CTRL: Starting call (launching pppd, opening GRE)
May 8 21:13:13 localhost pppd[6296]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 8 21:13:13 localhost pppd[6296]: pppd 2.4.3 started by root, uid 0
May 8 21:13:13 localhost pppd[6296]: Using interface ppp0
May 8 21:13:13 localhost pppd[6296]: Connect: ppp0 /dev/pts/1
May 8 21:13:17 localhost pptpd[6295]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
May 8 21:13:17 localhost kernel: PPP Deflate Compression module registered
May 8 21:13:17 localhost pppd[6296]: MPPE required but peer negotiation failed
May 8 21:13:17 localhost pppd[6296]: Connection terminated.
May 8 21:13:17 localhost pppd[6296]: Connect time 0.1 minutes.
May 8 21:13:17 localhost pppd[6296]: Sent 22 bytes, received 44 bytes.
May 8 21:13:17 localhost pppd[6296]: Exit.
May 8 21:13:17 localhost pptpd[6295]: GRE: read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 8 21:13:17 localhost pptpd[6295]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 8 21:13:17 localhost pptpd[6295]: CTRL: Client 222.200.109.174 control connection finished
可是我明明在配置那里禁止了MPPE的,而且我在客户端连接的时候也没要求MPPE,为什么还会出现这个提示呢?
还有你的IPTABLES是怎么配置的呢?有没有设置伪IP转发和IP伪装?
May 8 21:13:13 localhost pptpd[6295]: CTRL: Starting call (launching pppd, opening GRE)
May 8 21:13:13 localhost pppd[6296]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 8 21:13:13 localhost pppd[6296]: pppd 2.4.3 started by root, uid 0
May 8 21:13:13 localhost pppd[6296]: Using interface ppp0
May 8 21:13:13 localhost pppd[6296]: Connect: ppp0 /dev/pts/1
May 8 21:13:17 localhost pptpd[6295]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
May 8 21:13:17 localhost kernel: PPP Deflate Compression module registered
May 8 21:13:17 localhost pppd[6296]: MPPE required but peer negotiation failed
May 8 21:13:17 localhost pppd[6296]: Connection terminated.
May 8 21:13:17 localhost pppd[6296]: Connect time 0.1 minutes.
May 8 21:13:17 localhost pppd[6296]: Sent 22 bytes, received 44 bytes.
May 8 21:13:17 localhost pppd[6296]: Exit.
May 8 21:13:17 localhost pptpd[6295]: GRE: read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 8 21:13:17 localhost pptpd[6295]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 8 21:13:17 localhost pptpd[6295]: CTRL: Client 222.200.109.174 control connection finished
可是我明明在配置那里禁止了MPPE的,而且我在客户端连接的时候也没要求MPPE,为什么还会出现这个提示呢?
还有你的IPTABLES是怎么配置的呢?有没有设置伪IP转发和IP伪装?