diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-03 01:03:08 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-03 01:03:08 +0300 |
commit | 1d12121d382942544f5efa36426a871ba20fc5b8 (patch) | |
tree | 99942a2b7445e5aef520e7a67a36183a7bd6f09b /misc/openwrt/etc/rc.local | |
parent | 0f0a5fd44867b684bcbafd102b6b769ae61229b4 (diff) |
openwrt: rc.local: fix
Diffstat (limited to 'misc/openwrt/etc/rc.local')
-rw-r--r-- | misc/openwrt/etc/rc.local | 2 |
1 files changed, 1 insertions, 1 deletions
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 |