文章标签 ‘PPTP’
利用Amazon的EC2实例,以整理了一下FreeRadius的安装配置。 1. yum install freeradius freeradius-mysql freeradius-utils 2. local test 2a. vi /etc/raddb/users to uncomment the section of steve Cleartext-Password := “testing” 2b. vi /etc/raddb/clients.conf, change the the ipaddr of client localhost to the local eth0 interface ipaddr = 10.150.186.120 2c. run radius in debug mode usr/local/sbin/radiusd -X 2d. run radtest, “Access-Accept packet” stand for [...]
Amazon EC2安装配置第二篇,PPTP VPN 1. 安装pptpd #wget http://poptop.sourceforge.net/yum/stable/rhel6/i386/pptpd-1.3.4-2.el6.i686.rpm #yum localinstall pptpd-1.3.4-2.el6.i686.rpm 2. 配置pptpd #vi /etc/pptpd.conf localip 192.168.9.1 remoteip 192.168.9.11-30
PPTP VPN自己在几个VPS上装过很多次,但这次在Linode东京节点的VPS安装PPTP却遇到一个奇怪现象。自己的Windows 7可顺利连接上,但iPhone/iPad连接却总是失败。但iPhone/iPad连接BuyVM上VPS的PPTP VPN却是可以的。百思不得其解下,想到是不家里的无线路由器设置引起的。路由器是Baffola WZR-HP-G300NH,自己刷的OpenWRT。Google上搜索了OpenWRT PPTP,得到一些线索。 最后安装kmod-ipt-nathelper-extra包重起路由器后,奇迹出现了,iPhone/iPad可以连上了。 下面是OpenWRT Wiki的说明:
有时需要从外面访问家里的网络,可以在无线路由器上开一个VPN服务器。 1.安裝pptpd: opkg update opkg install pptpd opkg install kmod-mppe /etc/init.d/pptpd enable /etc/init.d/pptpd start
BuyVM.net提供OpenVZ VPS,并且官方网站介绍说“All VPS’s come with the ability to run OpenVPN, PPTP, GRE and SIT tunnels by default ”,意思是可以用来搭建PPTP VPN,据说是OpenVZ的新技术,但目前BurstNET的VPS还不支持搭建PPTP VPN。 下面以BuyVM.net的VPS为例介绍如何在CentOS中搭建PPTP VPN。 1、登陆SSH,检查VPS是否有必要的支持。如果检查结果没有这些支持的话,是无法安装pptp的。 当然Buyvm的用户可以直接跳过。
最近电脑连接PPTP VPN时,出了点怪现象。可以Ping通网站,可以上MSN,可以SSH,但是却打不开网页。无论是用IE还是用其它浏览器。确认VPN的服务端没有问题,因为用其它电脑连接是正常的。
