This is a cheatsheet for quick lookup of networking UCI options, useful for experienced users.
/* THIS PAGE IS MACHINE-GENERATED, THE ACTUAL CONTENT SHOWN IS TAKEN DIRECTLY FROM THE ARTICLES YOU FIND IN THE LINKS BELOW, ANY EDIT SHOULD BE DONE THERE*/
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.1'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config rule
option mark '0xFF'
option in 'lan'
option dest '172.16.0.0/16'
option lookup '100'
config rule6
option in 'vpn'
option dest 'fdca:1234::/64'
option action 'prohibit'
config route 'net172'
option interface 'lan'
option target '172.16.1.0'
option netmask '255.255.255.0'
option gateway '10.1.1.1'
config route6 'default'
option interface 'lan'
option target '2008:a:a:c::/64'
option gateway '2008:a:a:b::2'
config interface 'wan6'
option proto '6in4'
option mtu '1424' # the IPv6 tunnel MTU (optional)
option peeraddr '62.12.34.56' # the IPv4 tunnel endpoint at the tunnel provider
option ip6addr '2001:DB8:2222:EFGH::2/64' # the IPv6 tunnel
option ip6prefix '2001:DB8:1234::/48' # Your routed prefix (required!)
# configuration options below are only valid for HE.net tunnels. ignore them for other tunnel providers.
option tunnelid '123456' # HE.net tunnel id
option username 'username' # HE.net username used to login into tunnelbroker, not the User ID shown after login in.
option password 'password' # HE.net password if there is no updatekey for tunnel
option updatekey 'updatekey' # HE.net updatekey instead of password, default for new tunnels
config interface 'lan'
option proto 'static'
option ip6assign '60'
config interface 'wan6'
option proto '6rd'
option peeraddr '77.174.0.2'
option ip6prefix '2001:838:ad00::'
option ip6prefixlen '40'
option ip4prefixlen '16'
config interface '6pe'
option proto 'l2tp'
option server '<LNS address>'
option username '<PPP username>'
option password '<PPP password>'
option keepalive '6'
option ipv6 '1'
config interface 'wan6'
option device '@6pe'
option proto 'dhcpv6'
config interface 'wan6'
option proto '6to4'
config interface 'lan'
option proto 'static'
option ip6assign '60'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
config interface 'wan'
option proto 'dslite'
option peeraddr '2001:db80::1' # Your ISP's DS-Lite AFTR
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'
config switch_port
option device 'eth0'
option port '3'
option pvid '3'