Question:
How can I block Adult website useing Linux plz tell me the command in breaf.?
Kazi H
2006-07-06 01:09:08 UTC
How can I block Adult website useing Linux plz tell me the command in breaf.?
Six answers:
Nelson G
2006-07-08 10:38:10 UTC
I have been using a combination of Squidguard and Dansguardian for about 7 years to block offensive content (see link in the sources). It works better than anything else I have seen in Windows and it is a lot easier to install than it sounds. Depending on your distribution, there may already be an RPM or a package that will make it pretty easy. I have used this setup in elementary schools and libraries. Dansguardian lets you filter based on the actual content on the page like offensive words.

If you get more ambitious, you can even set up a transparent proxy server so that every computer in a network gets filtered.
draciron
2006-07-06 08:15:31 UTC
IPtables -A OUTPUT -s 10.1.1.25 -j DROP



Assumes you are running IPTables as your firewall. The IP addy is the addy of the website you wish to block outgoing traffic too. You can use

IPtables -A INPUT -s 10.1.1.25 -j DROP

to block incoming traffic from that website (note incoming does not include traffic initiated from inside the firewall such as a browser visiting a website)
sk s
2006-07-06 08:37:25 UTC
go internet option and block Adult website

just give a password
konstantineknife
2006-07-06 08:22:48 UTC
iptables -A OUTPUT -d -j REJECT

OR

for router

iptables -A FORWARD -d -j REJECT
chunky monkey
2006-07-06 08:15:28 UTC
you need to edit your host file to something like this:



deny *sex*

deny *adult*

deny *xxx*

deny *porn*

etc...
the a.m
2006-07-06 08:33:21 UTC
the answers thaose other people gave you are too complecated i've tried it too please tell me when you find out how to do it. IN LAYMANS TERMS PLEASE!!!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...