Skip to content

Commit f9a6066

Browse files
committed
feat(router): isolate subnets on firewall
1 parent 467ed6d commit f9a6066

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nix/machines/router/modules/firewall.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
type filter hook input priority filter; policy accept;
2020
}
2121
chain FORWARD {
22-
type filter hook forward priority filter; policy accept;
22+
type filter hook forward priority filter; policy drop;
2323
ct state related,established accept
2424
iifname "mgmt0" oifname "wan0" accept
2525
iifname "trst0" oifname "wan0" accept
2626
iifname "untrst0" oifname "wan0" accept
27+
ip daddr 10.99.0.0/16 iifname "trst0" accept
2728
}
2829
chain OUTPUT {
2930
type filter hook output priority filter; policy accept;

0 commit comments

Comments
 (0)