1
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.
Neither of them is the case.
iptables -L
does not show any rules and to ensure that it is empty I issuediptables -F
. I am trying it on the same computer too. – PaulDaviesC – 2013-08-09T11:43:38.357@PaulDC I wonder if there is some kind of proxy configured so the traffic is not going directly to the site in question. My next step would be to fire up tcpdump and try and browse the site and see where the traffic is going. – davidgo – 2013-08-09T19:55:48.807