===== 151213 更新yum安装方法 =====
第二层隧道协议L2TP(Layer 2 Tunneling Protocol)是一种工业标准的Internet隧道协议,它使用UDP的1701端口进行通信。L2TP本身并没有任何加密,但是我们可以使用IPSec对L2TP包进行加密。L2TP VPN比PPTP VPN搭建复杂一些。
=== 151213 add begin===
yum安装openswan、ppp、xl2tpd方法:
1、添加epel源
2、执行:
yum install openswan ppp xl2tpd
3、配置参考编译安装的一样
=== 151213 add end===
一、安装IPsec,Openswan是Linux系统上IPsec的一个实现。
官网:http://www.openswan.org/
1、安装必备软件:
yum install make gcc gmp-devel bison flex lsof
make,gcc我们都知道是干什么用的了。
gmp-devel: Development tools for the GNU MP arbitrary precision library.
bison: A GNU general-purpose parser generator.
flex: A tool for creating scanners (text pattern recognizers).
看上去好像都和编译器有关? 继续阅读CentOS Linux VPS安装IPSec+L2TP VPN →