I was talking to a great friend of mine about music and Internet radio, and he brought up Pandora's name in the conversation. Do you remember the good old days where you could just access Pandora's site and listen to interesting music? Unfortunately, those days are over and Pandora has limit its access to US residents only.
I decided to invest some time and find a way to bypass it. The solution I came up was to use my DreamHost shell account (since the server is located in the US) to act as a proxy between my PC and Pandora's server. This was pretty simple to do, by the way.
I'm currently on Ubuntu Linux, but this could be set up on Windows as well (with the help of Putty).
Go to your command line and execute the following:
$ ssh -N -v -D 8080 account@in_some_other_server.net
This will create a ssh tunnel between your PC and the remote server, using port 8080 to do it. I used DreamHost as a server for a quick test. Don't close the terminal or you'll loose the connection.
The next step is to configure the proxy settings in your_favorite_browser. Since I use Firefox a lot, click on: Edit > Preferences , then Advanced (tab) > Network (tab) > Settings. Mark the box "Manual proxy configuration" and in the SOCKS Host field type in: 127.0.0.1
and in the port field, type: 8080
Now, go to Pandora's website and check it out. Keep in mind that this mean that every single tab you'll open inside Firefox will use the proxy connection to browse the Internet, and you probably want to use your regular connection to do your other stuffs, don't you?
Since Firefox is not capable of handling a individual proxy configurations for each of your tabs, I suggest using 2 Firefox windows instead: this allows you to have one window dedicated for Pandora and the other one for your regular browsing. How to do this? The answer is to set up two different Firefox profiles: this is very easy to do, and there are documents all over the place to assist you with this.
Anyway, I created 2 Firefox shortcuts to run each profile. I find them to be self-explanatory:
1) firefox -P "default"
2) firefox-3.5 -P "pandora" -no-remote
Needless to say that the second is the one that has the proxy configured on.
Nenhum comentário:
Postar um comentário