diff options
| author | seth <[email protected]> | 2023-03-21 22:57:19 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-21 22:57:19 -0400 |
| commit | f5681326f3c01e52cbf6cbc625224c1a95f8fe17 (patch) | |
| tree | 5045cd9178eb789a6549118585828a350353d5a0 /hosts/turret/files/etc/config/network | |
| parent | a97b232e631242e8fa951c8c862270dc6a57f5cd (diff) | |
add config for turret (openwrt router)
Diffstat (limited to 'hosts/turret/files/etc/config/network')
| -rw-r--r-- | hosts/turret/files/etc/config/network | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/hosts/turret/files/etc/config/network b/hosts/turret/files/etc/config/network new file mode 100644 index 0000000..c71cf98 --- /dev/null +++ b/hosts/turret/files/etc/config/network @@ -0,0 +1,29 @@ + +config interface 'loopback' + option device 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config globals 'globals' + option packet_steering '1' + option ula_prefix 'fd26:3166:dece::/48' + +config device + option name 'br-lan' + option type 'bridge' + list ports 'lan2' + list ports 'lan3' + list ports 'lan4' + +config interface 'lan' + option device 'br-lan' + option proto 'static' + option ipaddr '192.168.1.1' + option netmask '255.255.255.0' + option ip6assign '60' + +config interface 'wan' + option device 'lan1' + option proto 'dhcp' + |
