Portaller

a Few weeks ago, fans of American online radio and video services in trouble: the service Tunlr, which allowed to circumvent discrimination based on IP address, ordered to live long. On the reasons stated dull, saying that to earn money we are not interested, and to maintain quality at the proper level — burdensome. The problem is clear to pass through your server such traffic is very expensive.

Under the cut read more about the alternative

the Majority of American media services diskriminerad users of geographic access, which outside the U.S. is limited. The reason is the agreements between services and copyright holders, the service may transmit your content only in a certain area (similar restrictions have of our services — for example, Yandex.Music).


Personally, I few months ago really hooked on Pandora — online radio that generates a track list on the principle of “like what you like”. It is important to say that selection of tracks is not “in a forehead” (by tag, genre, and so on) as it does Last.fm, namely that of music similarity. The result — choose service music rarely is forcing me to intervene and change the composition.

I listen to Pandora almost everywhere: at work, at home and in different places and with different devices. And if in the first case it was simple enough to install some plugin like Hola Better Internet in the second, it was not enough — two iPhone, iPad, Apple TV. It was easier once to change the DNS settings on the router. In 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 what parts you can assemble something similar for personal use.

From these bits we raised a similar service for all those who also could not live without Pandora and Spotify. The project with the speaking name — Portaller. The technical “meat” there is not a lot you can meet in a couple paragraphs:

Hosting. Everything is hosted in the United States, in the Digital Ocean. Yet on a basic VPS for $5/month that includes 512mb, 1 cpu, 20gb ssd and 1Tb of traffic. The possibility to upgrade up to 16gb, 8 cpu, 160gb ssd, and 6Tb of traffic for one car.

Server. Ubuntu 12.04 LTS, bind c + sniproxy. In fact it is a dns proxy which can be assigned to any device as the primary dns server when requesting the “usual” sites, they will be resolved through Google DNS (8.8.8.8/8.8.4.4) and all “blocked” resources will return the IP address of our server and then the content will stream through it.

Approximately so it looks in the picture:


Unlocked services. As already mentioned, two of them, namely Pandora and Spotify. The abandonment of video services was absolutely deliberate: the other order, the noise of traffic and other costs of maintaining the project.

How and what to configure:
Windows
Mac OSX
Router

Nuances.
the
    the
  • Following devices with a high probability while will not work: Netflix on Chromecast, PlayStation, XBox, Nexus 7 FHD, LG smart TV
  • the
  • In the network Beeline address of the VPN server resolvida through the internal DNS and not through an external resolvida. It seems that he is static and never changes, but if ever he will change host not found and no connection reconnects.
  • be Sure to specify the secondary DNS server. For example, 8.8.8.8 (Google) or try accessing 77.88.8.8 (Yandex)

Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

March Habrameeting in Kiev

PostgreSQL load testing using JMeter, Yandex.Tank and Overload

Monitoring PostgreSQL with Zabbix