公司要求将北京的网络和广州的网络连起来,,最简单的解决办法就是vpn,,ros在这方面挺强的,,所以就了测试,, 发现还不错! 北京作pptp server 要两个IP,一个上网,一个vpn用, 219.142.66.1xx 219.142.66.1xx 广州作pptp client 59.142.192.1xx 设置PPTP server PPP-PROFILE新建vpn-pptp 启用pptp server ,PPTP server的位置看下图 添加pptp in 新建一个用户: 这样,PPTP SERVER算完成了,接下来设置广州的PPT...
by tonecan2008 - Linux文档专区 - 2009-12-31 19:24:08 阅读(873) 回复(0)
公司要求将北京的网络和广州的网络连起来,,最简单的解决办法就是vpn,,ros在这方面挺强的,,所以就了测试,, 发现还不错! 北京作pptp server 要两个IP,一个上网,一个vpn用, 219.142.66.1xx 219.142.66.1xx 广州作pptp client 59.142.192.1xx 设置PPTP server PPP-PROFILE新建vpn-pptp 启用pptp server ,PPTP server的位置看下图 添加pptp in 新建一个用户: 这样,PPTP SERVER算完成了,接下来设置广州...
(转) 网吧1 192.168.1.0/24 网关192.168.1.254 PPTP-IP 10.0.0.1 (总店) 网吧2 192.168.2.0/24 网关192.168.2.254 PPTP-IP 10.0.0.2 (分店2) 网吧3 192.168.3.0/24 网关192.168.3.254 PPTP-IP 10.0.0.3 (分店3) 网吧1设置(总店) 1、添加PPTP用户 添加网吧2的连接用户和密码 ppp secret> add name=bar1 service=pptp password=12345 local-address=10.0.0.1 remote-address=10.0.0.2 添加网吧3的连接用户和密码 pp...
https://github.com/TwP/miscellanea/blob/master/cisco-vpn/vpn[code]#!/usr/bin/ruby # # Provides a convenient wrapper around the Cisco vpnclient application. # # This script will automate the login process, put the vpnclient into # background mode, and send keep-alive pings to an internal server. The # latter is important for when the vpn firewall is configured to terminte # connections after a cert...
公司用的是cisco vpn ,并且提供了一个打包好的客户端,可是是在windows下使用的 最近一直用ubuntu,想把这个也挪到linux下用 google了一下,有for linux的client,于是下载之。解压缩并编译,结果出错了 make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/usr/src/vpnclient modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic' CC [M] /usr/src/vpnclient/linuxcniapi.o...
作者: weleoon 出自: http://www.linuxdiyf.com 公司用的是cisco vpn ,并且提供了一个打包好的客户端,可是是在windows下使用的. 最近一直用ubuntu,想把这个也挪到linux下用 有for linux的client,于是下载之。解压缩并编译,结果出错了 make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/usr/src/vpnclient modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic' CC [M] /usr/src/vpnclient/...
具体方法如下: 1. 把下面一行加到/etc/apt/source.list deb http://quozl.netrek.org/pptp/pptpconfig ./ 别忘记了后面的./,然后 sudo apt-get update sudo apt-get install pptpconfig 会根据依赖关系安装大概10个包左右 2 run pptpconfig as root, and a window should appear enter the server, domain, username and password into the Server tab 3 if you decided in Installation step 1 above that you would ...
vpn测试,感谢i_amok --szx200704 ------------------------------------------ SERVER端: 1.你所需要的软件 支持MPPE的操作系统内核. pppd ppp拨号服务器 pptpd 在pppd拨号的基础上增加pptpd的支持 2。确定你的内核是否支持mppe CODE: [Copy to clipboard] modprobe ppp-compress-18 && echo ok 如果显示ok,那么恭喜,你的内核已经具备了mppe支持。 3。安装pppd #yum -y install pppd* ...
Enviroment: vpnclient-linux-x86_64-4.7.00.0640-k9.tar.gz Fedora Core: 2.6.11-1.1369_FC4 when i use 'vpnclient connect', there is an error: vpnclient: error while loading shared libraries: /opt/cisco-vpnclient/lib/libvpnapi.so: cannot restore segment prot after reloc: Permission denied how to resolve it?
Enviroment: vpnclient-linux-x86_64-4.7.00.0640-k9.tar.gz Fedora Core: 2.6.11-1.1369_FC4 when i use 'vpnclient connect', there is an error: vpnclient: error while loading shared libraries: /opt/cisco-vpnclient/lib/libvpnapi.so: cannot restore segment prot after reloc: Permission denied how to resolve it?