I have the following rule to log traffic (for wake on LAN purposes)
which does work for traffic from WAN that gets to my local network (through opened ports) but doesn't work for local only traffic.
Why is that? I've tried with `INPUT` chain as well but I've got the same results.
Is that because the traffic goes through internal switch and we cannot control this with `iptables`?
Code:
iptables -I FORWARD -d 192.168.1.X -p tcp --dport 7000:8332 -m state --state NEW -j LOG --log-prefix "[2WAKE] XX:XX:XX:XX:XX:XX"
which does work for traffic from WAN that gets to my local network (through opened ports) but doesn't work for local only traffic.
Why is that? I've tried with `INPUT` chain as well but I've got the same results.
Is that because the traffic goes through internal switch and we cannot control this with `iptables`?