summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-03-12 16:58:37 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-03-12 16:58:37 -0500
commita86a4267ed2b1a7b4b8773c5fc06b792e2407988 (patch)
treee7f483861775e86493277836d9bc555e2209d907 /config
parentd7d60747504cd0a8b4595d4f2702166d72b13c82 (diff)
log local dropped packets
Diffstat (limited to 'config')
-rw-r--r--config/router.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/router.nix b/config/router.nix
index 073dada..c6e2194 100644
--- a/config/router.nix
+++ b/config/router.nix
@@ -91,11 +91,12 @@ in
# proto udp dport (5353 1900) ACCEPT;
# proto tcp dport (8008 8009) ACCEPT;
- # chain logdrop {
- # LOG log-level warning log-prefix "dropped-lan ";
- # DROP;
- # }
- # jump logdrop;
+ chain logdrop {
+ LOG log-level warning log-prefix "dropped-lan ";
+ DROP;
+ }
+
+ interface $DEV_LAN jump logdrop;
}
}