I have 3 ip ranges on my network, I blocked Facebook access with the command line:
iptables -I FORWARD -m string --algo bm --string "facebook.com" -j DROP
I would like to make an exception to the network range "192.168.0.x"
How can I do that?
Thanks in advance!