-
-
[原创]IPSec-tools(for android)服务器的搭建
-
发表于: 2018-2-27 11:01 3292
-
一. IPSec-Tools简介....................................................................................................... 1
二.网络环境构筑............................................................................................................. 1
1.环境及软件包........................................................................................................... 1
2. 环境搭建.................................................................................................................. 2
三. 服务器软件安装......................................................................................................... 2
1.下载IPSec-tools以及安装准备工作.......................................................................... 2
2.编译安装ipsec-tools................................................................................................. 4
2. 安装xl2tpd............................................................................................................... 4
四. 配置为L2tp/PSK服务器............................................................................................ 4
1. 配置文件/etc/setkey.conf.......................................................................................... 4
2. 配置文件/etc/racoon/racoon.conf............................................................................. 5
3. 配置/etc/racoon/psk.txt............................................................................................. 5
4. 配置/etc/ppp/chap-secrets......................................................................................... 6
5. 配置/etc/ppp/options.xl2tpd...................................................................................... 6
6. 配置/etc/xl2tpd/xl2tpd.conf...................................................................................... 6
7. 测试......................................................................................................................... 7
五. 配置为L2tp/RSA服务器............................................................................................ 7
1. 配置文件/etc/setkey.conf.......................................................................................... 7
2. 配置文件/etc/racoon/racoon.conf............................................................................. 7
3. 拷贝证书.................................................................................................................. 8
4. 配置/etc/ppp/chap-secrets......................................................................................... 8
5. 配置/etc/ppp/options.xl2tpd...................................................................................... 9
6. 配置/etc/xl2tpd/xl2tpd.conf...................................................................................... 9
7. 配置转发表(可选).............................................................................................. 10
8. 测试....................................................................................................................... 10
附录................................................................................................................................ 0
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)