openwrtv4/package/network/config
Felix Fietkau e2e8cb8347 network: add virtual tunnel interface (VTI) support
This adds support for configuring VTI interfaces within /etc/config/network.
VTI interfaces are used to create IPsec tunnel interfaces. These interfaces
may be used for routing and other purposes.

Example config:
config interface 'vti1'
	option proto 'vti'
	option mtu '1500'
	option tunlink 'wan'
	option peeraddr '192.168.5.16'
	option zone 'VPN'
	option ikey 2
	option okey 2

config interface 'vti1_static'
	option proto 'static'
	option ifname '@vti1'
	option ipaddr '192.168.7.2/24'

The options ikey and okey correspond to the fwmark value of a ipsec policy.
The may be null if you do not want fwmarks.
Also peeraddr may be 0.0.0 if you want all ESP packets go through the
interface.
Example strongswan config:
conn vti
	left=%any
	leftcert=peer2.test.der
	leftid=@peer2.test
	right=192.168.5.16
	rightid=@peer3.test
	leftsubnet=0.0.0.0/0
	rightsubnet=0.0.0.0/0
	mark=2
	auto=route

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 48274
2016-01-17 11:06:02 +00:00
..
firewall firewall: move to git.openwrt.org 2016-01-04 15:13:10 +00:00
gre package/network/config/gre: ipv6 gre kmod package name was wrong 2016-01-03 20:57:06 +00:00
ipip Add a few SPDX tags 2014-11-02 12:20:54 +00:00
ltq-adsl-app lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9 drivers 2015-12-04 17:42:51 +00:00
ltq-vdsl-app ltq-vdsl-app: re-add lowlevel settings 2016-01-01 21:20:24 +00:00
netifd netifd: update to the latest version, adds VTI support and a policy routing fix 2016-01-17 11:05:53 +00:00
qos-scripts qos-scripts: remove faulty fallback of the device variable to eth0 (#20834) 2015-11-24 20:30:06 +00:00
soloscli license info - revert r43155 2014-11-03 09:56:44 +00:00
swconfig swconfig: support sending SWITCH_TYPE_LINK to kernel 2016-01-06 18:32:13 +00:00
vti network: add virtual tunnel interface (VTI) support 2016-01-17 11:06:02 +00:00