Posted: Tue Sep 07, 2021 17:50 Post subject: Block a IP in local network
Hello
I have some IP cams and a NVR, and I want to record the video only at night, but the schedule configuration doesn't work on NVR, so how I can block a port to block inbound traffic to NVR?
Tried many configurations and the block does not work
iptables -I FORWARD -d nvr.ip -p tcp --dport 554 -j DROP
iptables -I FORWARD -s cam.ip -p tcp --dport 554 -j DROP
The NVR is on router lan port and the router is connected to another router with repeater bridge
Firmware: DD-WRT v3.0-r38253 std (01/10/19)
Thank you! _________________ In use, community ISP:
1 tplink WR842ND; 2 WR741N; 3 WR740N : with DD-WRT
1 mymax WR934-BK "original" firmware
1 d-link dsl-2740e with Totolink ND300
2 Sagem F@ST2704 with OpenWrt
1 wavlink ND300
1 wrt54g
waiting:
1 wrt54g
airgrid m5 bullet