Openwrt 下 L2TP搭建
Openwrt 下 L2TP搭建
1. 配置文件
官网配置:https://wiki.openwrt.org/doc/uci/network
Protocol “l2tp” (PPP over L2TP Pseudowire Tunnel)
The package xl2tpd
must be installed to use this protocol.
Most options are similar to protocol “ppp”.
Name | Type | Required | Default | Description |
---|---|---|---|---|
server
|
string | yes | (none) |
L2TP server to connect to. Acceptable datatypes are hostname or IP address, with optional port separated by colon : . Note that specifying port is only supported recently and should appear in DD release
|
username
|
string | no | (none) | Username for PAP/CHAP authentication |
password
|
string |
yes if username is provided
|
(none) | Password for PAP/CHAP authentication |
ipv6
|
bool | no | 0 | Enable IPv6 on the PPP link (IPv6CP) |
mtu
|
int | no |
pppd default
|
Maximum Transmit/Receive Unit, in bytes |
keepalive
|
string | no | (none) | Number of unanswered echo requests before considering the peer dead. The interval between echo requests is 5 seconds. |
checkup_interval
|
int | no | (none) | Number of seconds to pass before checking if the interface is not up since the last setup attempt and retry(重操作) the connection otherwise. Set it to a value sufficient for a successful L2TP connection for you. It’s mainly for the case that netifd sent the connect request yet xl2tpd failed to complete it without the notice of netifd |
pppd_options
|
string | no | (none) |
Additional options to pass to pppd
|
The name of the physical interface will be “l2tp-<logical interface name>”.
Example:
root@OpenWrt:/# cat /etc/config/network config interface 'vpn'option proto 'l2tp'option server '120.197.116.46'option username 'test'option password 'test'option mtu '1410'option keepalive '60'option demand '30' root@OpenWrt:/#
更新中……
Openwrt 下 L2TP搭建相关推荐
- OpenWrt下使用docker安装icloudpd实现iPhone照片备份私有云盘nas
文章目录 一.背景与需求 二.部署方法 2.1 我的环境 2.2 准备工作 2.2.1 检查docker环境是否运行正常 2.2.2 查询宿主系统用户id和组id 2.2.3 规划挂载目录 2.2.4 ...
- openwrt编译环境搭建
openwrt编译环境搭建 1.虚拟机安装 请参考网络上的资料进行安装. 2.ubuntu安装 请参考网络上的资料进行安装. 3.ubuntu下安装相关的编译环境(若是编译环境没有准备好,在后来的操作 ...
- Ubuntu10下MySQL搭建Amoeba系列(文章索引)
一.前言(Introduction) 使用了Amoeba有一段时间了,发现官方博客:Amoeba使用指南有很多地方都是错误的,在我实战中给到一些错误的指示,所以我想写些在搭建的实战中给大家一点指引.欢 ...
- Ubuntu10下MySQL搭建Amoeba_读写分离
一.背景知识 Amoeba(变形虫)项目,专注 分布式数据库 proxy 开发.座落与Client.DB Server(s)之间.对客户端透明.具有负载均衡.高可用性.sql过滤.读写分离.可路由相关 ...
- MemCache在Windows环境下的搭建及启动
MemCache在Windows环境下的搭建及启动 一.memcache服务器端的安装 1.下载memcached的安装包,memcached_en32or64.zip,下载链接:http://pan ...
- Linux下svn搭建配置流程
Linux下svn搭建配置流程 一. 源文件编译安装.源文件共两个,为: 1. 下载subversion源文件 subversion-1.6.1.tar.gz http://d136 ...
- AIX下RAC搭建 Oracle10G(一)检測系统环境
AIX下RAC搭建系列 环境 节点 节点1 节点2 小机型号 IBM P-series 630 IBM P-series 630 主机名 AIX203 AIX204 交换机 SAN光纤交换机 存储 S ...
- WindowsServer2012 R2 64位中文标准版(IIS8.5)下手动搭建PHP环境详细图文教程(二)安装IIS8.5...
//来源:http://www.imaoye.com/Technology/WindowsServer2012R264IIS85.html 阿里云服务器ECS Windows Server 2012 ...
- Linux下svn搭建配置
Linux下svn搭建配置 1.安装svn客户端 yum install subversion svnserve --version :如果成功 ...
- AIX下RAC搭建 Oracle10G(六)dbca建库
AIX下RAC搭建系列 AIX下RAC搭建 Oracle10G(六)dbca建库 环境 节点 节点1 节点2 小机型号 IBM P-series 630 IBM P-series 630 主机名 AI ...
最新文章
- 腾讯Angel升级:加入图算法,支持十亿节点、千亿边规模!中国首个毕业于Linux AI基金会的开源项目...
- 还在 for 循环里使用 + 拼接字符串?明天不用来上班了!
- 揭阳电网要求计算机二级吗,2018年3月广东省揭阳市计算机等级考试考务通知
- uniapp 判断页面是否是横竖屏,解决微信小程序video组件全屏播放视频遮盖自定义播放控件问题
- 作者:孙忠富(1957-),男,中国农业科学院农业环境与可持续发展研究所研究员。...
- 餐饮为什么很难做到薄利多销?
- 并行程序设计导论_C程序设计导论
- 公司发声明了!禁止所有程序员使用 Lombok !再使用绩效直接打C!
- XtraBackup备份mysql5.1.73
- Paper reading:高分辨率图像分割:From Contexts to Locality: Ultra-high Resolution Image Segmentation ICCV2021
- 黑龙江全教计算机科技有限公司,50米×8往返跑是个技术活,技巧教学很重要
- git 常见用法及遇到的问题
- 电脑桌面的计算机图双击打不开,win10双击电脑图标打不开必须右键打开
- Django查询关键字
- 百度3D地球,高清地图!地形混合!
- 在计算机网络中ftp服务器的用途是,FTP的作用以及传输文件的一般步骤
- ios 代码例子 卷边的翻书效果
- 联想小新pro16和thinkbook16p nx选哪个好
- 在系统里放一只“猴子”,阿里疯了吗?
- 股票证券名词解释汇总