I don't have reputation enough to comment on kiteloop's answer (score 28 as of today) or opoloko's answer (score 2 as of today). I was facing the same problem (listening to Pandora on OS X, 10.6.8) and am now listening to Pandora via the Pandora app (which has better sound quality I believe than via browser and certainly uses less CPU (about 3% in activity monitor).
The comment from Maskime to schlingel.me does not lead to a detailed post about Pandora's IP addresses but rather to a photography weblog which does not include that post. Neither does Googling "schlingel + pandora" bring up a current location. It's a dead end.
On the other hand, Opoloko's suggestion for the Pandora app works brilliantly.
- Download and install the Pandora OS X app.
- Just turn off the checkmark from "Send all traffic over VPN connection" in Settings -> Network -> Your VPN -> Advanced.
- Apply changes.
- Connect your VPN.
- Open terminal.
- Run
ifconfig
.
- Look for
ppp
to discover the exact location of the VPN interface whatever the ppp address is.
- Include that string in opoloko's command:
sudo /sbin/route add -host internal-tuner.pandora.com -interface ppp0
Additional Notes: In this case you don't need to cover a range of Pandora IP's just the internal-tuner.pandora.com address. All CDN/etc servers don't need to be covered either just the initial internal-tuner.pandora.com. While I thought one could replace internal-tuner.pandora.com
with pandora.com
this won't work. Neither will a simple wildcard like *.pandora.com
work in route. It returns a bad address warning.
To turn off the Pandora VPN, use opoloko's command with the correct ppp interface number:
sudo /sbin/route delete -host internal-tuner.pandora.com -interface ppp0
Happy listening. Huge thanks to opoloko who offered a simple and usable solution to what is a keen issue for music lovers since Last.FM radio went down. Pandora is the only really good suggestion algorithm left standing and which introduces a listener to new music.