Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5246

IPtables: Why does this rule work?

$
0
0
Pixelserv is on 192.168.1.252. If other lan devices are in the same subnet, why does the rule below block all the traffic to 192.168.1.252?

Code:
/usr/sbin/iptables -I INPUT -i br0 -p tcp -d 192.168.1.252 -m multiport --dport ! 80,443 -j REJECT --reject-with tcp-reset
Is it because 192.168.1.252 is on the interface br0:adblk?

Viewing all articles
Browse latest Browse all 5246

Trending Articles