From 1d12121d382942544f5efa36426a871ba20fc5b8 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 3 Jun 2023 01:03:08 +0300 Subject: openwrt: rc.local: fix --- misc/openwrt/etc/rc.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/openwrt/etc/rc.local') diff --git a/misc/openwrt/etc/rc.local b/misc/openwrt/etc/rc.local index 407d1eb..32b1227 100644 --- a/misc/openwrt/etc/rc.local +++ b/misc/openwrt/etc/rc.local @@ -17,7 +17,7 @@ done sleep 0.1 # block internet access for untrusted cameras -iptables -I FORWARD 1 -m set --match-set ipcam src ! -d 192.168.5.0 -j REJECT +iptables -I FORWARD 1 -m set --match-set ipcam src ! -d 192.168.5.0/24 -j REJECT # add some default routing rules ipset add mts-azov 192.168.5.0/24 # everybody -- cgit v1.2.3