This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
是的,这是可能的。首先,您必须在“设置”->“通过 VPN 连接发送所有流量”中取消选中标记。网络->您的 VPN ->先进的。
然后,您可以从终端使用“路由”来添加应通过 VPN 路由的特定主机。
在此示例中,“pandora.com”是应通过 VPN 路由的主机,
ppp0
是 VPN 网络接口的名称(ifconfig
显示了以下列表)网络接口)。Yes, this is possible. First, you have to remove the checkmark from "Send all traffic over VPN connection" in Settings -> Network -> Your VPN -> Advanced.
Then, from the Terminal you can use "route" to add specific hosts that should be routed via your VPN.
In this example, "pandora.com" is the host that should be routed via the VPN and
ppp0
is the name of the VPN network interface (ifconfig
shows you the list of network interfaces).要使其也与 Pandora 应用程序一起使用,您可以使用
,完成后,您可以简单地执行以下操作
To make it work also with the Pandora app, you can use
and when you finish, you can simply do
我没有足够的声誉来评论 kiteloop 的答案(截至今天得分 28)或 opoloko 的答案(截至今天得分 2)。我遇到了同样的问题(在 OS X 10.6.8 上收听 Pandora),现在通过 Pandora 应用程序收听 Pandora(我相信它比通过浏览器具有更好的音质,并且肯定使用更少的 CPU(大约 3% 的活动) Maskime
对 schlingel.me 的评论不会指向有关 Pandora IP 地址的详细帖子,而是指向一个不包含该帖子的摄影博客,谷歌搜索“schlingel + pandora”也不会显示当前位置。 。
另一方面,Opoloko 对 Pandora 应用程序的建议非常有效,
sudo /sbin/route add -host internal-tuner.pandora.com -interface ppp0
附加说明:在这种情况下,您不需要涵盖一系列Pandora IP 只是internal-tuner.pandora.com 地址。不需要覆盖所有 CDN/等服务器,也不需要覆盖最初的internal-tuner.pandora.com。虽然我认为可以用
pandora.com
替换internal-tuner.pandora.com
,但这行不通。像*.pandora.com
这样的简单通配符也不会在路由中工作。它返回错误地址警告。要关闭 Pandora VPN,请使用 opoloko 的命令和正确的 ppp 接口编号:
快乐聆听。非常感谢 opoloko,自 Last.FM 广播关闭以来,他为音乐爱好者提供了一个简单且可用的解决方案来解决这个棘手的问题。 Pandora 是唯一一个真正优秀的建议算法,它向听众介绍了新音乐。
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.
ifconfig
.ppp
to discover the exact location of the VPN interface whatever the ppp address is.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
withpandora.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:
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.