From 87f07933dd9c23b4a7b84154b5d34ada8f3844ff Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 25 May 2025 12:24:04 +0530 Subject: kay/router: drop inetfilter chain --- os/kay/modules/router.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/os/kay/modules/router.nix b/os/kay/modules/router.nix index 2e01789..bb8cd3b 100644 --- a/os/kay/modules/router.nix +++ b/os/kay/modules/router.nix @@ -46,20 +46,11 @@ in { iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN \ -o ${wanInterface} \ -j TCPMSS --clamp-mss-to-pmtu - - iptables -N inetfilter - iptables -A inetfilter -s 192.168.43.124/32 -m mac --mac-source 08:02:3c:d4:d9:f2 -j ACCEPT - iptables -A inetfilter -s 192.168.43.119/32 -m mac --mac-source a8:93:4a:50:c8:b3 -j ACCEPT - iptables -A inetfilter -j DROP - iptables -I FORWARD -i lan -o ppp0 -j inetfilter ''; extraStopCommands = '' iptables -t mangle -D FORWARD -p tcp --tcp-flags SYN,RST SYN \ -o ${wanInterface} \ -j TCPMSS --clamp-mss-to-pmtu - - iptables -w -t filter -F inetfilter - iptables -w -t filter -X inetfilter ''; }; }; -- cgit v1.2.3