summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-14 02:06:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-14 02:06:57 +0100
commit48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2 (patch)
treecc2ba4afc482b091f599d542e2b647ed49411eeb /files
parent7fe1f214d75b28c7b668f95a7299dae545c41e27 (diff)
downloadap01-48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2.tar
ap01-48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2.tar.gz
ap01-48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2.tar.bz2
ap01-48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2.tar.xz
ap01-48f7e2c66d03fd22139c663a8fcc13c0b8e5a5c2.zip
...
Diffstat (limited to 'files')
-rw-r--r--files/files/etc/config/network4
-rw-r--r--files/files/etc/ruleset.nft4
2 files changed, 4 insertions, 4 deletions
diff --git a/files/files/etc/config/network b/files/files/etc/config/network
index a906a71..3573c92 100644
--- a/files/files/etc/config/network
+++ b/files/files/etc/config/network
@@ -16,14 +16,14 @@ config interface 'wifibh'
16 option netmask '255.255.255.0' 16 option netmask '255.255.255.0'
17 option ipv6 '0' 17 option ipv6 '0'
18 18
19config interface 'wifibh' 19config interface 'wifibh01'
20 option proto 'gretap' 20 option proto 'gretap'
21 option ipaddr '10.141.2.2' 21 option ipaddr '10.141.2.2'
22 option peeraddr '10.141.2.1' 22 option peeraddr '10.141.2.1'
23 23
24config device 24config device
25 option type '8021q' 25 option type '8021q'
26 option ifname 'gre4t-wifibh' 26 option ifname 'gre4t-wifibh01'
27 option vid '2' 27 option vid '2'
28 option name 'wbh-lan' 28 option name 'wbh-lan'
29 29
diff --git a/files/files/etc/ruleset.nft b/files/files/etc/ruleset.nft
index f1c8168..422c186 100644
--- a/files/files/etc/ruleset.nft
+++ b/files/files/etc/ruleset.nft
@@ -91,8 +91,8 @@ table inet filter {
91 meta l4proto $icmp_protos counter name icmp-rx accept 91 meta l4proto $icmp_protos counter name icmp-rx accept
92 92
93 93
94 iifname mgmt tcp dport 22 counter name ssh-rx accept 94 iifname br-mgmt tcp dport 22 counter name ssh-rx accept
95 iifname mgmt tcp dport 9100 counter name prometheus-rx accept 95 iifname br-mgmt tcp dport 9100 counter name prometheus-rx accept
96 96
97 97
98 ct state {established, related} counter name established-rx accept 98 ct state {established, related} counter name established-rx accept