试题与答案

【说明】Linux环境下L2TP的配置过程如下: ①从http://www.12t

题型:问答题

题目:

【说明】Linux环境下L2TP的配置过程如下:
①从http://www.12tpd.org/download.html上下载12tpd-0.69.tar.gz软件包。
②将12tpd-0.69.tar.gz拷到你所希望的安装目录下(比如:/tmp/目录)。
③解压安装包:
tar-xvzf l2tpd-0.69.tar.gz/*此时会生成一个l2tpd-0.69文件包*/
④编译:
make/*当前目录是/tmp/l2tpd-0.69*/
执行完此命令后,将会在在/tmp/l2tpd-0.69下生成可执行文件l2tpd。
⑤创建L2TPD的配置文件:
mkdir/etc/l2tp
cp/tmp/l2tpd-0.69/l2tpd.conf.sample/etc/l2tp/l2tpd.conf
cp/tmp/l2tpd-0.69/l2tp-secrets.sample/etc/l2tp/l2tp-secrets
cp/etc/ppp/options/etc/ppp/options.l2tp
其中/etc/l2tp/l2tpd.conf配置文件的内容如下:
[global]
port=1701 auth file=/etc/ppp/chap-secrets
[lns vpnserver]
exclusive = yes
ip range=192.168.254.202-192.168.254.210
lac=0.0.0.0-255.255.255.255
local ip=192.168.10.1
length bit=yes
require chap = yes
require authentication = yes
name = vpnserver
PPP debug = yes
pppoptfile = /ete/ppp/options.l2tp
1. 【问题1】 用户账号的配置文件采用什么验证方法

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0405/dfd84d1be56f86ae81f7a707ae9133eb.html

下面是错误答案,用来干扰机器的。

参考答案:对

试题推荐
微信公众账号搜索答案