- 下载并解压源码包
- wget https://download.strongswan.org/strongswan-5.7.0.tar.bz2
- tar -xvf strongswan-5.7.0.tar.bz2
- 配置生产Makefile
- ./configure –prefix=/usr –sysconfdir=/etc –enable-openssl –enable-nat-transport –disable-mysql –disable-ldap –disable-static –enable-shared –enable-md4 –enable-eap-mschapv2 –enable-eap-aka –enable-eap-aka-3gpp2 –enable-eap-gtc –enable-eap-identity –enable-eap-md5 –enable-eap-peap –enable-eap-radius –enable-eap-sim –enable-eap-sim-file –enable-eap-simaka-pseudonym –enable-eap-simaka-reauth –enable-eap-simaka-sql –enable-eap-tls –enable-eap-tnc –enable-eap-ttls
- 有可能会需要安装依赖,看你的系统之前是否装过
- yum install libgmp-dev gmp-devel
- 编译并安装
- make
- make install
- 启动 ipsec start(需要提前配置种种config)配置笔记参考其他章节
分类: Strongswan
0 条评论