summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/network/ruleset.nft18
1 files changed, 9 insertions, 9 deletions
diff --git a/hosts/vidhar/network/ruleset.nft b/hosts/vidhar/network/ruleset.nft
index 7b2160d1..f2b1eda0 100644
--- a/hosts/vidhar/network/ruleset.nft
+++ b/hosts/vidhar/network/ruleset.nft
@@ -117,10 +117,10 @@ table inet filter {
117 117
118 118
119 chain forward_icmp_accept { 119 chain forward_icmp_accept {
120 oifname dsl limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-fw drop 120 oifname { dsl, bifrost } limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-fw drop
121 iifname dsl limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-fw drop 121 iifname { dsl, bifrost } limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-fw drop
122 oifname != dsl limit name lim_icmp_local counter name icmp-ratelimit-local-fw drop 122 oifname != { dsl, bifrost } limit name lim_icmp_local counter name icmp-ratelimit-local-fw drop
123 iifname != dsl limit name lim_icmp_local counter name icmp-ratelimit-local-fw drop 123 iifname != { dsl, bifrost } limit name lim_icmp_local counter name icmp-ratelimit-local-fw drop
124 counter name icmp-fw accept 124 counter name icmp-fw accept
125 } 125 }
126 chain forward { 126 chain forward {
@@ -133,7 +133,7 @@ table inet filter {
133 133
134 iifname lo counter name fw-lo accept 134 iifname lo counter name fw-lo accept
135 135
136 oifname {lan, dsl} meta l4proto $icmp_protos jump forward_icmp_accept 136 oifname { lan, dsl, bifrost } meta l4proto $icmp_protos jump forward_icmp_accept
137 137
138 iifname lan oifname { dsl, bifrost } counter name fw-lan accept 138 iifname lan oifname { dsl, bifrost } counter name fw-lan accept
139 iifname dsl oifname { lan, dmz01 } ct state {established, related} counter name fw-dsl accept 139 iifname dsl oifname { lan, dmz01 } ct state {established, related} counter name fw-dsl accept
@@ -158,8 +158,8 @@ table inet filter {
158 iif != lo ip daddr 127.0.0.1/8 counter name invalid-local4-rx reject 158 iif != lo ip daddr 127.0.0.1/8 counter name invalid-local4-rx reject
159 iif != lo ip6 daddr ::1/128 counter name invalid-local6-rx reject 159 iif != lo ip6 daddr ::1/128 counter name invalid-local6-rx reject
160 160
161 iifname dsl meta l4proto $icmp_protos limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-rx drop 161 iifname { bifrost, dsl } meta l4proto $icmp_protos limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-rx drop
162 iifname != dsl meta l4proto $icmp_protos limit name lim_icmp_local counter name icmp-ratelimit-local-rx drop 162 iifname != { bifrost, dsl } meta l4proto $icmp_protos limit name lim_icmp_local counter name icmp-ratelimit-local-rx drop
163 meta l4proto $icmp_protos counter name icmp-rx accept 163 meta l4proto $icmp_protos counter name icmp-rx accept
164 164
165 iifname { lan, mgmt, dsl, yggdrasil, bifrost } tcp dport 22 counter name ssh-rx accept 165 iifname { lan, mgmt, dsl, yggdrasil, bifrost } tcp dport 22 counter name ssh-rx accept
@@ -201,8 +201,8 @@ table inet filter {
201 201
202 oifname lo counter name tx-lo accept 202 oifname lo counter name tx-lo accept
203 203
204 oifname dsl meta l4proto $icmp_protos limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-tx drop 204 oifname { bifrost, dsl } meta l4proto $icmp_protos limit name lim_icmp_dsl counter name icmp-ratelimit-dsl-tx drop
205 oifname != dsl meta l4proto $icmp_protos limit name lim_icmp_local counter name icmp-ratelimit-local-tx drop 205 oifname != { bifrost, dsl } meta l4proto $icmp_protos limit name lim_icmp_local counter name icmp-ratelimit-local-tx drop
206 meta l4proto $icmp_protos counter name icmp-tx accept 206 meta l4proto $icmp_protos counter name icmp-tx accept
207 207
208 208