2023-12-06 23:25:22 -07:00
|
|
|
## The template place holders below can be overriden by adding files to
|
|
|
|
## /etc/aredn_include of the format "NET.network.user". NET can be one
|
|
|
|
## of the following: bridge, wan, wifi, lan or dtdlink.
|
|
|
|
|
2023-12-06 11:12:11 -07:00
|
|
|
#### Globals
|
|
|
|
config globals 'globals'
|
2024-08-15 21:28:45 -06:00
|
|
|
option packet_steering '1'
|
2023-12-06 11:12:11 -07:00
|
|
|
|
2013-11-14 23:11:16 -07:00
|
|
|
#### Loopback configuration
|
2024-08-15 21:28:45 -06:00
|
|
|
config interface 'loopback'
|
|
|
|
option device 'lo'
|
|
|
|
option proto 'static'
|
|
|
|
option ipaddr '127.0.0.1'
|
|
|
|
option netmask '255.0.0.0'
|
2013-11-14 23:11:16 -07:00
|
|
|
|
|
|
|
#### WIFI configuration
|
2023-01-15 00:07:22 -07:00
|
|
|
<wifi_network_config>
|
2022-12-22 13:22:49 -07:00
|
|
|
|
2024-08-15 21:28:45 -06:00
|
|
|
config interface 'wifi_mon'
|
|
|
|
option proto 'none'
|
2013-11-14 23:11:16 -07:00
|
|
|
|
2023-01-15 00:07:22 -07:00
|
|
|
### Bridge configuration
|
|
|
|
<bridge_network_config>
|
2022-12-22 13:22:49 -07:00
|
|
|
|
2023-01-15 00:07:22 -07:00
|
|
|
#### LAN configuration
|
|
|
|
<lan_network_config>
|
2014-04-18 09:53:54 -06:00
|
|
|
|
2023-01-15 00:07:22 -07:00
|
|
|
#### WAN configuration
|
|
|
|
<wan_network_config>
|
|
|
|
|
|
|
|
#### DtD configuration
|
|
|
|
<dtdlink_network_config>
|
2015-04-05 22:06:39 -06:00
|
|
|
|
2023-01-15 00:07:22 -07:00
|
|
|
### Switch configuration
|
2015-04-05 22:06:39 -06:00
|
|
|
include /etc/aredn_include/swconfig
|
2022-03-17 19:57:48 -06:00
|
|
|
|
2022-08-26 08:15:20 -06:00
|
|
|
### Static routes
|
|
|
|
include /etc/aredn_include/static_routes
|
|
|
|
|
2024-01-30 14:25:37 -07:00
|
|
|
### Extra vlans
|
|
|
|
include /etc/aredn_include/vlans
|
|
|
|
|
2022-10-03 15:11:07 -06:00
|
|
|
### Extra links
|
|
|
|
include /etc/config.mesh/xlink
|
|
|
|
|
2022-03-17 19:57:48 -06:00
|
|
|
### Tunnels devices
|
2023-12-12 21:01:23 -07:00
|
|
|
<tun_devices_config>
|
2023-12-06 12:39:23 -07:00
|
|
|
|
|
|
|
### Wireguard
|
|
|
|
<wireguard_network_config>
|