Post

Using ZeroTier VPN with Enigma 2 receivers

Are you using two or more E2 receivers on different locations and you want to connect them with the goal of streaming channels from primary location to other locations? ZeroTier might be a solution for you. Please visit their website for first impressions.

This is alternative to OpenVPN which is the most known VPN solution. Problem with OpenVPN is that it is not straight forward and demands some knowledge to set up properly. ZeroTier states on their website: “Most users will find that ZeroTier installs in minutes and “just works.”” As with OpenVPN, ZeroTier also establishes private encrypted virtual network (VPN) between all devices in ZeroTier network. Currently ZeroTier supports Windows, MacOS, Android, iOS, Linux and FreeBSD. Enigma 2 (in my case OpenPLi) is based on linux but you cannot just download ipk file on ZeroTier website and install it. You need to build working ZeroTier client from source or if you are luckly, image already offers ZT via feed. I decided to test this solution with my E2 receivers and other devices that I have on different locations.

ZeroTier for is completely free for normal home use. Actually, you can connect up to 100 devices and you wont have to pay anything! They also offer subscription plans, but you wont need them. ZeroTier full functionality is available for free.

There are two pages on ZT website that are important for you. One is Download page, another is their portal/web control page. First I suggest you sign up and create new ZT network. For more information how to do this, I suggest you check their wiki page. It will help you to understand everything better. If you prefer YT, here is one video you can check:

Next step is to download client for your PC, in my case client for Windows 10. Installs and works fine, it should be the same also in your case.

Now that you created your network and downloaded/installed ZeroTier client, you probably already successfully connected your PC to your ZT network. Check ZT portal if new device was detected and which IP was assigned. You can choose different IP ranges, I suggest you use the one that you are familiar with. I am using 192.168.192.x range which is similar to 192.168.1.x which I usually use. Do not forget that you can set your network to be public or private. If you choose to be private, all new clients in your ZT network will have to be manually confirmed. If you choose to be public, than anyone with your unique network ID can connect to your network without any confirmation from your part.

I wont forget about E2 receivers, don’t worry. Setting up ZeroTier with E2 is quite easy, I will assume that you have basic knowledge about SSH (I suggest Putty) and FTP (I suggest WinSCP). Please visit this thread on OpenPLi forum for basic information, you can also download some ipk files that are posted there. With OpenPLI 7.2 ZeroTier is available to install directly via OpenPLi feed (opkg install zerotier). Below you can also download directly (thanks to Jungle-Team).

Transfer ipk to tmp folder of your receiver and install it. I assume you know how to do all of this, so I wont get into details. After installing, restart enigma and after restart ZT should be already working in the background. There is not GUI, your next step will be using telnet/ssh in order to input one specific command to connect this new ZT client (E2 box) to your ZT network. Command is:

zerotier-cli join <yournetworkID>

If everything OK, “200 join OK” should appear. Please login to ZT portal and check if new device was added to your ZT network. Confirm it (if you have chosen to be “private”) and check which IP was assigned to this new device. With this IP you can access your E2 receiver anywhere you want. Just be sure that device you use to access E2 receiver is also in ZT network.

If you want to leave network, use this command:

zerotier-cli leave <yournetworkID>

What is the main benefit of using ZT with E2 receiver? You can for example stream channels from one to another device in your ZT network WITHOUT using port forwarding in your router and exposing OpenWebif port to the public (this is extreme security risk, you receiver can be easily hijacked). For more information about OpenWebif, please check OpenPLi wiki page.

You can for example have your primary receiver in your house and then stream channels to your other locations or you can share them with your friends, etc. If you use OpenPLi you can use their built-in fallback functionality which means you can add IP of your primary receiver in ZT network to your other E2 receivers and all channels and also EPG (if you select this option) will be synchronized.

For more information about fallback, please visit OpenPLi wiki page. Alternative to fallback remote receiver feature is “remote stream converter” plugin. You can also try this one if you do not use OpenPLi or OpenPLi/OE-A based images.

If you have any questions, do not hesitate to contact me on my email address support “at” satnigmo.com. You can also discuss this article on my forum: http://www.satnigmo.com/forum/index.php?threads/streaming-channels-using-zerotier-vpn.3497/

Leave a comment  

name*

email*

website

Submit comment

Powered by moviekillers.com.com