1.安装依赖包

yum -y install gcc gcc-c++ flex libedit libedit-devel bison openssl openssl-devel qt qt-devel

2.安装cmake

wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gztar zxvf cmake-3.0.0.tar.gz -C /usr/srccd /usr/src/cmake-3.0.0./configuremakemake install

3.安装Shrew Soft ××× Client

wget https://www.shrew.net/download/ike/ike-2.2.1-release.tgztar zxvf ike-2.2.1-release.tgz -C /usr/srccd /usr/src/ikecmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YESmakemake installcp /etc/iked.conf.sample /etc/iked.conf

6.修改系统参数

vi /etc/sysctl.conf#将以下两处改为0net.ipv4.conf.default.rp_filter = 0net.ipv4.conf.all.rp_filter = 0#运行以下命令使修改生效sysctl -p

4.启动

ikedqikea

5.接下来的配置就和windows客户端差不多了