On 01/25/2012 10:58 PM, Suraj Sapkota wrote:
> Prabin,
> 1. Use openDNS parental control. Setup these IP as DNS server for your
> network: 208.67.222.222 and 208.67.220.222
> 2. Using iptables at your gateway, filter out all the request in port
> 53 except the above two ips. 
> 3. After this only the folks with IP can open up the porn sites. Watch
> out for hackers within your network ;)
>
>
> Alternatively you can install dansguardian as suggested by Gaurav.
>
>
> On Wed, Jan 25, 2012 at 8:32 AM, Prabin jha <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Can any body help me, Is there any way to block all porn sites from
>     linux iptables ??
>
>     --
>     FOSS Nepal mailing list: [email protected]
>     <mailto:[email protected]>
>     http://groups.google.com/group/foss-nepal
>     To unsubscribe, e-mail: [email protected]
>     <mailto:foss-nepal%[email protected]>
>
>     Mailing List Guidelines:
>     http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
>     Community website: http://www.fossnepal.org/
>
>     -- 
>     Suraj Sapkota
>     PicoVico.com <http://picovico.com/>
>     ssapkota@{twitter,flickr,gmail}
>
>
> -- 
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: [email protected]
>  
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/
I would suggest a combination of iptables + squid + dansguardian.
OpenDNS, as Suraj suggested is a good way too. You can use iptables or
squid to block specific websites that you know. In addition squid
supports a regex way for filtering websites that shall help a lot.
Dansguardian is a content filter which you can customize (through
configurations) to block out many materials related to pornography and
vandalism.

But all these security measures can be circumvented if a vpn or web
proxy is used.

-- 
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to