From f5681326f3c01e52cbf6cbc625224c1a95f8fe17 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 21 Mar 2023 22:57:19 -0400 Subject: add config for turret (openwrt router) --- hosts/turret/files/etc/config/network | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 hosts/turret/files/etc/config/network (limited to 'hosts/turret/files/etc/config/network') 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' + -- cgit v1.2.3