文章标签 ‘L2TP’

利用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 [...]

2012年1月19日22:46 | 3 条评论

在iPhone/iPad上遇到一个奇怪现象,L2TP/IPSec的VPN,Windows 7连接好好的。但在iPhone/iPad上却有一个奇怪现象。第一次连接很下正常,但如果断开VPN连接,再次连接时却怎么可连接不成功,后台log中有如下信息: Nov 25 00:17:58 srv xl2tpd[3447]: control_finish: Peer requested tunnel 18 twice, ignoring second one. Nov 25 00:17:58 srv xl2tpd[3447]: Maximum retries exceeded for tunnel 6477.  Closing. 解决方法如下:

2011年11月25日20:45 | 没有评论
标签: , , ,

入手了iPhone 4后,发现中国联通的3G封了PPTP的VPN访问。但L2TP还是可以用的。于是自己在VPS的CentOS(5.5)上安装个L2TP/IPSec服务。 在网上找了些文章,安装过程中遇到些问题,最终还是配置好。主是要注意的不能用CentOS 5自身带的OpenSwan(Federa 14中的OpenSwan是可以的),需要从更新版本的源码自己编译安装,XL2TP可是从EPEL中安装,当然也可通过源码安装。

2011年1月29日00:33 | 2 条评论
标签: , , ,