I am trying to block a specific IP address from being accessed using the browser on my system. I added a simple rule as below
iptables -A OUTPUT -d <IP> -j DROP
The site gets blocked in the command line,i.e ping ,nmap etc.. But when I try to access the IP using the browser it is getting connected. I don't have any extra rules on my iptables. May I know what is wrong with this? I am running Ubuntu 12.04.