Posts Tagged ‘filter’

How to Filter the HTTP url with iptables

Hi Again
by typing just following command you will filter what ever you want in your http url ..

iptables -I FORWARD  -p tcp –dport 80 -s 0.0.0.0/0 -m string –string “facebook” –algo kmp -j DROP

for Instance the above command will DROP all packet going to the facebook.com :)

Regards ;)


     Copyrighted Mehdi Behamin , All Rights Reserved
    
Blog has been visited 204729 times