Hi,
I have this configuration
WRT54G #1
(lan 192.168.1.1)
/ \
/ \
PC IN LAN PC IN LAN
(192.168.1.4) (192.168.1.5)
I would like to drop the traffic destinated to IP 192.168.1.5 when the source address isn't 192.168.1.4.
How can I set the iptables rules?
I have tried this, but it doesn't work!
iptables -A FORWARD -s ! 192.168.1.4 -d 192.168.1.5 -j DROP
thx!