Watch "US bassed only" video (works with MTV video plug) (1 Viewer)

userjan

MP Donator
  • Premium Supporter
  • March 14, 2008
    193
    26
    USA, Greeneville, TN
    Home Country
    Netherlands Netherlands
    A real nice MTV video plugin is made by Dukus, but MTV turned it into a US based video streaming, so it didnt work anymore for people outside the US.

    I found some solutions for it, but i wanted to have this automated, took me a day or two to figure out, but got it working trough the Tor network now.

    The proxy is only used for URL's you configure without any user action needed, you can configurate wich sites should be pushed trough the proxy, the rest will be left untouched.

    Keep in mind, using Tor means youre pushing your data unencrypted trough someones else computer, if that person got wrong intentions it can sniff passwords and private chat out, don't use it to reach your primairy email acount etc, keep your personal data and yourself safe.
    (ones again, the proxy will only be used for the url's you list, so your normal browsing will bypass the proxy)

    #Install the software

    Download the "tor bundle" package: https://www.torproject.org/download.html.en
    (Stable v0.2.0.32 is the one i used)

    Start installation, on choose components you must select first 3 (Vidalia,Tor,Privoxy)
    Torbutton is a firefox addon, so if you dont use firefox or dont want it to mess with firefox, deselect it
    Finish installation / Run installed components now.

    The Vidalia screen will show up
    Deselect "show this window on startup" this will keep it hidden in the taskbar next time your system starts.

    Now "exit" and open Vidalia again, shuting down windows will close Vidalia the hard way, making it loose this setting if you didnt close it the proper way ones.

    Browse trough the program a bit to get a feel of it, nothing need to be changed here, click "hide" to send it to the taskbar.


    #Configuration Internet Explorer

    We have to set the Internet Explorer to use a proxy (tor), we do this trough a ".pac" file.

    The nice thing of this is, you can put in the file for wich sites you want to run the proxy (Tor) so it is only pussing data trough the proxy on the sites you need it and leaves your normal browsing untouched.

    Create a .pac file
    --------------------------------------------------------------------------------------
    Code for MTV videos only (and test site whatismyipaddress.com)
    --------------------------------------------------------------------------------------
    function FindProxyForURL(url, host)

    {

    if (shExpMatch(host, "*mtv.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*mtvmusic.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*media.mtvnservices.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*whatismyipaddress.com*"))

    return "SOCKS 127.0.0.1:9050";

    else

    return "DIRECT";

    }

    --------------------------------------------------------------------------------------
    Code for:
    MTV, Hulu, Sling, Rhapsody, Pluggedin, Pandora, CBS, FOX, ABC, NBC ,Netflix
    (and test site whatismyipaddress.com)
    --------------------------------------------------------------------------------------
    function FindProxyForURL(url, host)

    {

    if (shExpMatch(host, "*.pandora.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*mtv.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*mtvmusic.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*hulu.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*sling.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*media.mtvnservices.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*rhapsody.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*pluggedin.com.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*movenetworks.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*abc.go.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*cbs.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*fox.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*nbc.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*netflix.com*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*whatismyipaddress.com*"))

    return "SOCKS 127.0.0.1:9050";

    else

    return "DIRECT";

    }

    --------------------------------------------------------------------------------------

    Copy one of these codes into Notepad, and save as "tor.pac" on a easy to find location (make sure you select "all files" otherwise it saves as a .txt still)

    Next open Internet Explorer and go to Tools/Internet Options/Connections/LAN Settings

    Only select "Use Automatic Configuration script" and direct it to the location of the tor.pac file you just made ( like: "file://C:\tor.pac") and press ok


    # Configuration Tor

    We have to tell Tor to end the connection with a US based peer.
    --------------------------------------------------------------------------------------
    Code for Tor, end with US based peer.
    --------------------------------------------------------------------------------------
    StrictExitNodes 1
    ExitNodes desync,whistlersmother,lefkada,bettyboop,croeso,TorLuwakOrg,nixnix,inap1,redpineapple,cronic

    --------------------------------------------------------------------------------------

    Go to START/All Programs/Vidalia Bundle/Tor/Torrc

    Copy the above code underneath the code in the Torrc file and pres save.

    The exitnodes listed in the code are hubs in the Tor network, this can change over time, you can always add/remove hubs by editing the Torrc file.
    When you open Vidalia and select "View the Network" you can see a list of the hubs by country.


    REBOOT WINDOWS


    #See if it runs

    I've added the site "whatismyipaddress.com" to use the proxy
    Go to google and search for "myip" you will get various sites that will tell you your ip, if everything works as it should, all sites should show your original IP exept for whatismyipaddress.com, that should show a US based IP.

    If it doesnt work, you might have to delete your cookies or block those site from adding cookies, also disable the firewall for a moment to see if thats cousing the problem.

    If you start using Tor at a regulair basis consider to share some bandwich and create a hub, the more hubs the Tor network gets the faster it can run.

    Next i would like to find a way to select "exitnodes" by url, so this could also make the bbc player available outside the Uk etc etc.... if somebody finds something on that please follow up on that....

    Greetz Jan
     

    userjan

    MP Donator
  • Premium Supporter
  • March 14, 2008
    193
    26
    USA, Greeneville, TN
    Home Country
    Netherlands Netherlands
    Just tested it, and this method also works for the BBCi player, you can follow the instructions above, only the url's in the tor.pac file and the exitnodes have to be changed.

    Create a .pac file
    --------------------------------------------------------------------------------------
    Code for BBCi Player (and test site whatismyipaddress.com)
    --------------------------------------------------------------------------------------
    function FindProxyForURL(url, host)

    {

    if (shExpMatch(host, "*http://www.bbc.co.uk/iplayer/*"))

    return "SOCKS 127.0.0.1:9050";

    else if (shExpMatch(host, "*whatismyipaddress.com*"))

    return "SOCKS 127.0.0.1:9050";

    else

    return "DIRECT";

    }

    --------------------------------------------------------------------------------------


    We have to tell Tor to end the connection with a GB based peer.
    --------------------------------------------------------------------------------------
    Code for Tor, end with GB based peer.
    --------------------------------------------------------------------------------------
    StrictExitNodes 1
    ExitNodes bellerophontes,bizarre,pya23,ephemer2,gigatux,oinniun,Arsemaggots,Mallory,dementia

    --------------------------------------------------------------------------------------

    The pitty is still that you only can choose to mimic one country with this and not select a different country for each url, bien playing with double installations/proxys etc but couldnt get it working smooth.

    But if you just want to mimic one country this works fine....
     

    Users who are viewing this thread

    Top Bottom