35 lines
667 B
Text
35 lines
667 B
Text
config interface 'loopback'
|
|
option device 'lo'
|
|
option proto 'static'
|
|
option ipaddr '127.0.0.1'
|
|
option netmask '255.0.0.0'
|
|
|
|
config device
|
|
option name 'br-lan'
|
|
option type 'bridge'
|
|
list ports 'eth1'
|
|
|
|
# LAN
|
|
config globals 'globals'
|
|
option ula_prefix '${IPV6_SUBNET}/52'
|
|
|
|
config interface 'lan'
|
|
option device 'br-lan'
|
|
option proto 'static'
|
|
option ipaddr '${IPV4_SUBNET}'
|
|
option netmask '255.255.240.0'
|
|
option ip6assign '64'
|
|
|
|
# WAN
|
|
config interface 'wan'
|
|
option device 'eth0'
|
|
option proto 'dhcp'
|
|
|
|
config interface 'wan6'
|
|
option device 'eth0'
|
|
option proto 'dhcpv6'
|
|
|
|
# TAILSCALE
|
|
config interface 'tailscale'
|
|
option proto 'none'
|
|
option device 'tailscale0'
|