3

I'm on an IT team in my company and I would like to block youtube to users. I don't want to just deny access to the whole youtube domain, but only to replace the .flv/.mp4 request with the one that I want. That way, if someone tries to watch youtube videos on the network, He'll get a video of why using our expensive bandwidth for pleasure is a no-no.

I thought about using a packet manipulation program and just replace the video ID with something that I want, but I didn't manage to do it right.

3
  • Heh. That's actually kinda clever.
    – ceejayoz
    Apr 5, 2012 at 15:41
  • What firewall are you using?
    – Wesley
    Apr 5, 2012 at 15:52
  • I'm using TMG Forefront 2010 Server.
    – iTayb
    Apr 5, 2012 at 15:59

1 Answer 1

2

I think your best bet is to use a transparent proxy to intercept and redirect requests to your video. It's not for the average Joe but being on an IT team I have faith you can make it work with the existing howtos and tutorials. I did, and I'm just a hobbyist admin/programmer :).

I accomplished it with Squid and iptables.

Edit: What I did was test out this upside down internet setup[0]. Once I'd familiarized myself with that process I tweaked the scripts to accomplish what it was I wanted to accomplish. I think for your purposes all you would need to modify is the redirection script. Hope that helps.

[0] http://www.ex-parrot.com/~pete/upside-down-ternet.html

2
  • Can you add more details. Some links to existing howtos you mentioned. You say you did something with squid, please add some details.
    – Zoredache
    Apr 5, 2012 at 16:45
  • Expanded to include the link that I used to get up and running. Apr 5, 2012 at 16:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .