📜 ⬆️ ⬇️

Portaller

A few weeks ago, fans of American online radio and video services had a misfortune: the wonderful Tunlr service, which allowed them to bypass IP-based discrimination, ordered them to live a long time. The reasons are said to be dull: they say, it’s not interesting for us to earn money, and it is burdensome to maintain the quality at the proper level. The problem is clear - to transfer such volumes of traffic through your servers is very expensive.

Under the cat more about the alternative

Most US media services discriminate users geographically - access to them outside the United States is limited. The reason is in contracts between services and copyright holders, according to which the service can broadcast its content only in a certain territory (our services have similar limitations, for example, Yandex.Music).

')
Personally, a few months ago I was very hooked on Pandora - an online radio that forms a track list on the principle of “like what you like”. Here it is important to say that the selection of tracks does not occur “in the forehead” (by tag, genre, etc.) as it is done by Last.fm, but precisely by musical similarity. The result - music picked up by the service extremely rarely forces me to interfere and change the composition.

I listen to Pandora almost everywhere: at work and at home - in general, in different places and from different devices. And if in the first case it was enough just to install some plug-in like Hola Better Internet , then in the second it was not enough - two iPhones, iPads, Apple TVs. It was easier once to change the DNS settings on the router. At that moment I became friends with Tunlr.

In general, the service is no more, but before closing the guys described the concept of the service and told from what parts you can collect something similar for personal use.

Of these pieces, we raised a similar service for all those who also could not live without Pandora and Spotify. The project with the talking title - Portaller . There is not so much technical “meat”; you can keep within a couple of paragraphs:

Hosting . Everything is hosted in the States in the Digital Ocean . So far - on the base VPS for $ 5 / month, including 512mb, 1 cpu, 20gb ssd and 1Tb traffic. Upgrade options - up to 16gb, 8 cpu, 160gb ssd and 6Tb traffic per machine.

Server Ubuntu 12.04 LTS, c bind + sniproxy. In essence, this is a dns proxy, which can be registered on any device as the main dns server - if you request “normal” sites, they will be resolved via Google DNS (8.8.8.8/8.8.4.4), and all “blocked” resources will return as IP the address of our server will continue to stream their content through it.

It looks like this in the picture:


Unlocked services. As already mentioned, there are two of them: Pandora and Spotify. The refusal of video services was absolutely conscious: a different order of traffic throughput, other expenses for supporting the project.

How and what to configure:
Windows
Mac OSX
Router

Nuances

Source: https://habr.com/ru/post/215889/


All Articles