Author Topic: How do I go about blocking websites  (Read 646 times)

Offline muppetman462

  • New Friend
  • *
  • Posts: 3
How do I go about blocking websites
« on: September 29, 2012, 04:46:54 PM »
Greetings all,
I recently installed PClinuxOS on a laptop that my step-daughter is now using.  She is 14, and there's websites that my wife and I would like to block.  I've tried the OpenDNS route, but I don't believe I have it set up correctly because she can go to the websites that we do not want her to (facebook is the main one).

So, how do I go about setting up the laptop to block sites?
Thanks

Offline OldGuy

  • Hero Member
  • *****
  • Posts: 660
  • "All that is not given, is lost." Hasari Pal
Re: How do I go about blocking websites
« Reply #1 on: September 29, 2012, 04:51:29 PM »
I don't have that problem, but I know that we have "drakguard" in the repositories.  Perhaps someone who has use that will answer and assist in solving your problem.  Until then just handcuff her till she's 18, or the preferred age 99 where she can see and surf wherever she wishes. (giggle).

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2117
Re: How do I go about blocking websites
« Reply #2 on: September 29, 2012, 05:02:05 PM »
Drakguard installs Dansguardian and some other packages.
You can find info about dansguardian here: http://dansguardian.org/?page=documentation

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Online muungwana

  • Hero Member
  • *****
  • Posts: 6240
Re: How do I go about blocking websites
« Reply #3 on: September 29, 2012, 07:14:21 PM »

this reminds me of the time when my mom took the cable that ran from the vcr to tv to stop us watching tv.

When she wasnt home, we would take the antenna cable and plug it straight to the tv,bypassing the vcr. By taking the cable from the vcr to the tv, all she did was stopping us from using the vcr.

if she is sufficiently informed,or persistent enough. She will be able to bypass all the measures you will take.She could,for example, use a live cd and that will bypass everything you installed on the computer.She could go online through her friend's computer across the street in some sort of a proxy server setup and that will most likely bypass everything you set up at the router level.

You are trying to solve a social problem using technical means. Those means are available and will be presented here but they can go so far in trying to solve the underlying social problem.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline muppetman462

  • New Friend
  • *
  • Posts: 3
Re: How do I go about blocking websites
« Reply #4 on: September 29, 2012, 07:19:17 PM »

this reminds me of the time when my mom took the cable that ran from the vcr to tv to stop us watching tv.

When she wasnt home, we would take the antenna cable and plug it straight to the tv,bypassing the vcr. By taking the cable from the vcr to the tv, all she did was stopping us from using the vcr.

if she is sufficiently informed,or persistent enough. She will be able to bypass all the measures you will take.She could,for example, use a live cd and that will bypass everything you installed on the computer.She could go online through her friend's computer across the street in some sort of a proxy server setup and that will most likely bypass everything you set up at the router level.

You are trying to solve a social problem using technical means. Those means are available and will be presented here but they can go so far in trying to solve the underlying social problem.

Well, of course she could do those things, but she's not that up and up on computers....also, I have younger children that use the laptop also, and I don't want them to go to someplace they don't need to be/see...

I'm suprised OpenDNS is not working...

Online muungwana

  • Hero Member
  • *****
  • Posts: 6240
Re: How do I go about blocking websites
« Reply #5 on: September 29, 2012, 07:38:26 PM »

if you try to block "facebook.com" for example through DNS, start pcc( pclinuxos control center ), then go to "network and internet",then go to "hosts definitions".

while there, click "add", then enter "127.0.0.1" in the "ip address field" and "facebook.com" in the "host name field",click "ok" and click "ok" again to go back to "pcc" main page.

facebook.com should now be inaccessible.The browser should just hang trying to resolve it "facebook.com".
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1115
Re: How do I go about blocking websites
« Reply #6 on: September 29, 2012, 07:39:33 PM »
Have a look at prolatte

For OpenDNS, I use these settings:
208.67.222.123
208.67.220.123

Jim
« Last Edit: September 29, 2012, 07:41:37 PM by jimwilk »
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991

Offline muppetman462

  • New Friend
  • *
  • Posts: 3
Re: How do I go about blocking websites
« Reply #7 on: September 29, 2012, 07:42:58 PM »
Have a look at prolatte

For OpenDNS, I use these settings:
208.67.222.123
208.67.220.123

Jim

I believe that's what I have set up also....but it's not working.  I have the DNS setting for the network.  I'll check out prolatte

Thanks

Offline CaptainSarcastic

  • Sr. Member
  • ****
  • Posts: 328
Re: How do I go about blocking websites
« Reply #8 on: September 29, 2012, 10:06:34 PM »
I assume you are using a router.  Check the settings on that - many have filtering ability built in.  You could probably set up the blacklist on the router, although that would affect everyone using it, not just the kid you want to do the blocking on.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: How do I go about blocking websites
« Reply #9 on: September 29, 2012, 10:40:33 PM »
Simply add them to your /etc/hosts file

Code: [Select]

127.0.0.1 localhost.localdomain localhost
127.0.0.1 [url=http://www.facebook.com]www.facebook.com[/url]
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 [url=http://www.static.ak.fbcdn.net]www.static.ak.fbcdn.net[/url]
127.0.0.1 login.facebook.com
127.0.0.1 [url=http://www.login.facebook.com]www.login.facebook.com[/url]
127.0.0.1 fbcdn.net
127.0.0.1 [url=http://www.fbcdn.net]www.fbcdn.net[/url]
127.0.0.1 fbcdn.com
127.0.0.1 [url=http://www.fbcdn.com]www.fbcdn.com[/url]
127.0.0.1 static.ak.connect.facebook.com
127.0.0.1 [url=http://www.static.ak.connect.facebook.com]www.static.ak.connect.facebook.com[/url]
127.0.0.1 ad.doubleclick.net





Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: How do I go about blocking websites
« Reply #10 on: September 30, 2012, 12:39:19 AM »
My parents did their best to hide me from "the real world" and I was totally devastated when reality forced me to face it... unprepared.  
« Last Edit: October 01, 2012, 09:28:11 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: How do I go about blocking websites
« Reply #11 on: September 30, 2012, 02:29:11 AM »
I got bad news for you.
You are not dealing with your daughter.........you are dealing with the whole classroom.
See / hear it every day here.

Sorry mate ! I have been there as well , but before the computer age .
It's not the computer which is the problem.
It's the age.

The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15304
  • ┌∩┐(◕_◕)┌∩┐
Re: How do I go about blocking websites
« Reply #12 on: September 30, 2012, 04:25:55 AM »
Just a thought - there's a possibility that one (or more) of the following the desktop / the network / the computer  may need restarting before the settings come into play when using the advice mentioned in the previous posts
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: How do I go about blocking websites
« Reply #13 on: September 30, 2012, 06:11:11 AM »
The simplest method I found was getting a good router with comprehensive connection management built in.

Connections can be limited by time, MAC address or IP address of the connected computer.

Sites can be blocked based on content or IP address.

The router is a once off cost up front but it does all that is required and is not so easily bypassed by any device connecting to the network or a user without the router password.

This is an example of a web content filter set up in a router ...



On that particular router there is also another page for  URL content filters

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: How do I go about blocking websites
« Reply #14 on: September 30, 2012, 07:38:43 AM »
Quote
The simplest method I found was getting a good router with comprehensive connection management built in.

Connections can be limited by time, MAC address or IP address of the connected computer.

Sites can be blocked based on content or IP address.

The router is a once off cost up front but it does all that is required and is not so easily bypassed by any device connecting to the network or a user without the router password.

This is an example of a web content filter set up in a router ...

Just18, thanks for this post.
I think it's better to get rid of my 7 year old ? modem ? and get a decent router.
I have 3 comps and 2 are used by kids (students actually )  sometime.

Does anyone has some recommendation of brandname.?
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )