+ Post New Thread
Results 1 to 12 of 12
Internet Related/Filtering/Firewall Thread, URL Forwarding in Technical; We block YouTube for students in school here, but we want to set it up so that when a pupil ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241

    URL Forwarding

    We block YouTube for students in school here, but we want to set it up so that when a pupil (and a pupil only) enters www . youtube . com it takes them to our fliggo site instead.

    Is this possible? All pupil go through a level of filtering that no other users go through, so would this be the best place to do it? This filtering box is uses squid.

  2. #2

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    you just need to create a dns entry in your dns server that resolves YouTube - Broadcast Yourself. to the IP of the website you want them to go to instead I thnk

  3. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    actually scratch that, thatll do it for everyone.

  4. #4

    vikpaw's Avatar
    Join Date
    Sep 2006
    Location
    Saudi Arabia
    Posts
    5,779
    Thank Post
    714
    Thanked 1,437 Times in 1,190 Posts
    Rep Power
    359
    Can't you use a hosts file on the student machines? Or apply similar setting via policy.

  5. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    Quote Originally Posted by vikpaw View Post
    Can't you use a hosts file on the student machines? Or apply similar setting via policy.
    thats an idea.. logon script to set the hosts file.. log off script to reset it back. Then maybe a machine startup script to reset it just in case they turn it off without logging off.

  6. #6

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Quote Originally Posted by RabbieBurns View Post
    thats an idea.. logon script to set the hosts file.. log off script to reset it back. Then maybe a machine startup script to reset it just in case they turn it off without logging off.
    I'm not too bothered about it if it's going to mean scripts all over the place. The kids will just have to learn that fliggo is the place to find educational videos, and staff will have to remember to tell them.

  7. #7


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,485
    Thank Post
    867
    Thanked 853 Times in 674 Posts
    Rep Power
    197
    What web filtering are you using? That's the place to do this - probably has auth (so you can tell who's who) and can rewrite at URL level.

  8. #8

    vikpaw's Avatar
    Join Date
    Sep 2006
    Location
    Saudi Arabia
    Posts
    5,779
    Thank Post
    714
    Thanked 1,437 Times in 1,190 Posts
    Rep Power
    359
    @rabbie... - prob too much effort to keep changing i was thinking if there are dedicated student machines that's quick and easy.
    @all - Tom has the best idea, do it via filtering using maybe, ... um er Smoothwall..
    @all - have you heard of or tried TrueTube ? saw it at BETT last year. safe vetted, for schools etc.

  9. #9

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    @Vikpaw: We use something called fliggo - it allows staff to find videos on youtube and then send them to our own version of youtube, which is completely managed. That way we can ensure that kids only see appropriate content. It also allows us to organise the content into subject categories etc.

    @Tom: I was thinking this is the most obvious. We are using a Ubuntu box with Squid installed. I stumbled across something called Squirm which can apparantly do this on a Squid box. Just got to find a good Ubuntu install guide.

  10. #10


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,485
    Thank Post
    867
    Thanked 853 Times in 674 Posts
    Rep Power
    197
    @Hightower: would have thought squid could do this all by itself? Not user if it can do it "per group" though.

  11. #11
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    190
    Thank Post
    28
    Thanked 94 Times in 54 Posts
    Rep Power
    32
    You should be able to achieve this with squid alone... take a look at the url_rewrite_program and url_rewrite_access directives

    squid : url_rewrite_program configuration directive
    squid : url_rewrite_access configuration directive

    You'll need a redirector script though (A simple perl script will do)... there's plenty of examples about on the web....

    I've used this in the past to redirect request from non favourable search engines to google.

    Some more info in this thread.... Squid Webpage redirect

    Iain.
    Last edited by Iain; 23rd November 2009 at 11:25 AM.

  12. #12
    ind1ekid's Avatar
    Join Date
    Jul 2008
    Location
    Nottinghamshire
    Posts
    82
    Thank Post
    6
    Thanked 16 Times in 13 Posts
    Rep Power
    15
    You can get squid to serve up flippo instead of youtube very easily using a single deny_info line.

    Code:
    deny_info http://yourflippourl youtube_acl
    Basically, when squid denys the user access based on the acl you specify (create one solely for youtube) in the deny_info line it redirects them to the url given. Really good for custom error pages ive found

    Squid Deny info

  13. Thanks to ind1ekid from:

    Hightower (23rd November 2009)

SHARE:
+ Post New Thread

Similar Threads

  1. DNS forwarding
    By DSapseid in forum Windows
    Replies: 6
    Last Post: 14th September 2009, 10:12 AM
  2. Email forwarding
    By Pashers in forum How do you do....it?
    Replies: 2
    Last Post: 20th May 2009, 03:06 PM
  3. DNS Forwarding
    By Hightower in forum Windows
    Replies: 23
    Last Post: 12th March 2009, 01:47 PM
  4. Exchange forwarding
    By Jobos in forum Windows
    Replies: 11
    Last Post: 5th April 2008, 09:56 PM
  5. ISA IP Forwarding
    By DSapseid in forum Windows
    Replies: 15
    Last Post: 13th July 2007, 01:29 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •