Openwrt 下 L2TP搭建
来源:互联网 发布:网络推广方式的优缺点 编辑:程序博客网 时间:2024/05/07 20:06
Openwrt 下 L2TP搭建
1. 配置文件
官网配置:https://wiki.openwrt.org/doc/uci/networkProtocol “l2tp” (PPP over L2TP Pseudowire Tunnel)
The package xl2tpd
must be installed to use this protocol.
Most options are similar to protocol “ppp”.
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/networkconfig 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:/#
更新中……
1 0
- Openwrt 下 L2TP搭建
- Ubuntn下搭建L2TP
- Debian 7 下搭建 IPSEC + L2TP VPN 服务器
- 树莓派搭建L2TP/IPSec
- centos6 pptp l2tp搭建
- L2TP VPN服务器搭建
- ubuntu12.04下搭建Openwrt编译环境
- ContOS下编译搭建openwrt环境
- openwrt中基于L2TP的VPN测试
- Ubuntu下安装l2tp
- [L2TP VPN]Win2003搭建常见问题
- 搭建L2TP over IPSec VPN
- CVM ubuntux641604 搭建L2TP VPN
- centos7 L2TP/ipsec vpn搭建
- centos7 L2TP/ipsec vpn搭建
- Centos6.5搭建L2TP VPN
- ubuntu下OpenWrt 开发环境搭建及 mw4530r编译
- OpenWRT 下搭建OpenVPN server 的一些问题
- Gym
- JAVA知识之多线程(四):线程池
- python第12天:循环语句详解
- facebook faiss的安装测试
- 蓝桥杯 核桃的数量
- Openwrt 下 L2TP搭建
- mysql免安装版使用教程
- [ 人工智能]模式识别、机器学习、数据挖掘当中的各种距离总结
- 搭建git服务器
- smpp模拟器安装
- sql server的20个系统变量
- 锁
- Logistic 回归
- 链表逆序最少空间实现