General discussion


block internet access in konqueror

By lopezr ·
how can i block internet access to a particular site? I am using mandrake8.2 & 9.0. The browser I'm using are konqueror and mozilla. For example i want to block, need it badly. tnx.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

by Penguin Netwerx In reply to block internet access in ...

Add a firewall rule that blocks anything going out (or returning) on port 80 to Yahoo's IP address (

Something like:

iptables -I 500 -p tcp -s -i eth0 -drop

Consult the manpage for iptables for more info on defining rules if you aren't already using iptables. (Sorry I couldn't provide a better rule, but I'm not that familiar with iptables, since I use ipfw/bpf on BSD)

Collapse -

by -Q-240248 In reply to block internet access in ...

I would block the name "" instead of the addresss since it may change with multiple servers/Akamai.

Rule would look more like:
iptables -A OUTPUT -p TCP -s 0/0 -d -j DROP

But not exactly as is above. Need to specify port 80

Course, you need to be versed in using IPTABLES, such as using the iptables scritp to save the ruleset: IPTABLE SAVE

Back to Linux Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums