公司的开发服务器使用VPN连接,在Windows下面直接使用ppoe就可以了,但是在Liunx下面并不一样.这里将我的配置过程记录一下.
由于我所使用的环境是Fedora,所涉及到的软件这里全部采用yum方式安装.
首先需要保证系统上安装pptp的相关软件:
#yum install NetworkManager-pptp
这样你就可以在Gnome Network Manager里面去添加VPN连接了,注意选择PPTP:

下面进行连接配置:

在Apply之前,点击Advanced,勾选Use Point-to-Point encryption(MPPE),然后OK

到这里,你可以尝试下选择NetworkManager里面的VPN Connection,如果连接成功的话,那么恭喜了;如果失败的话,没关系,我们继续:
很有可能你的VPN连接默认会使用EAP来做认证,但在NetworkManager不能 disable EAP的认证,需要使用gconf-edit才行,在你的终端中输入gconf-editor.
#gconf-editor
然后选择system->networking->connetions,找到子项有vpn连接的数字,在右边新建key,内容如下:

最后,连接到你的vpn服务器吧.
由于我所使用的环境是Fedora,所涉及到的软件这里全部采用yum方式安装.
首先需要保证系统上安装pptp的相关软件:
#yum install NetworkManager-pptp
这样你就可以在Gnome Network Manager里面去添加VPN连接了,注意选择PPTP:

下面进行连接配置:
- Connection Name:随便填写,方便自己即可
- Gateway: vpn连接的ip或者域名
- User Name:用户名
- Password:连接的密码

在Apply之前,点击Advanced,勾选Use Point-to-Point encryption(MPPE),然后OK

到这里,你可以尝试下选择NetworkManager里面的VPN Connection,如果连接成功的话,那么恭喜了;如果失败的话,没关系,我们继续:
很有可能你的VPN连接默认会使用EAP来做认证,但在NetworkManager不能 disable EAP的认证,需要使用gconf-edit才行,在你的终端中输入gconf-editor.
#gconf-editor
然后选择system->networking->connetions,找到子项有vpn连接的数字,在右边新建key,内容如下:

最后,连接到你的vpn服务器吧.
No comments:
Post a Comment