How To Use Surfshark OpenVPN in Enigma2 STB Using VPN Manager
How To Use Surfshark OpenVPN in Enigma2 STB Using VPN Manager
Surfshark have Android and Windows easy-to-use-apps for VPN, even with IKEv2
encryption, which only reduces your full internet connection speed by about 10%!
Enigma2 uses OpenVPN - for now. We do have a rather good plugin for it, though,
which will allow you to change a VPN server/country in a matter of seconds and it
will work stably!
Older E2 based machines might not have the firepower necessary, so if you
experience difficulties with it – this is probably the reason…. You might need a more
capable E2 machine i.e. newer HW which can support this. We are talking about
a powerful Broadcom dual core processor (1.5GHz or higher) and sufficient RAM
(say, Zgemma H7 or Edision OS MIO 4K Plus) or HiSilicone quad core processor
(also 1.5 GHz or higher - Zgemma H9 series, like Combo and Twin) etc.
I am using PurE2 version of Enigma2 in those STBs. Btw, STB = Set Top Box.
Nowadays they are not just Satellite but also Cable and Terrestrial, as well as IPTV
boxes, we also use them for playback on local network, from USB sticks, external or
internal (SATA) HDDs/SSDs etc. They are mightily capable AIO multi-media centres!
Preparation
Pay attention when you sign up with Surfshark and note the following: "Surfshark
provides you with separate login and password for OpenVPN (manual) connection."
"Those are the credentials, different from the ones that you use to log in to our
website or the app.”
To find them, login and then choose VPN (the top left corner) > click on Manual
setup > click on “Credentials” (look in the in the middle of the page, at the top, I
covered mine, of course, with black squares…)…
So, one does not use one’s usual, normal credentials, which one normally uses with
Windows or Android Surfshark apps (one’s email and password of one’s choice).
With other VPN providers they are the same but not so with Surfshark!
With Surfshark, for OpenVPN encryption, which is used in Enigma2, one uses the
credentials (i.e. username and password) one is given by Surfshark (see above!)!
It is worth noticing that one can change those regularly (“Generate new credentials”).
-Primary and Secondary DNS (Nameserver 1 & 2), which one sets up like so:
Press OK to SAVE!
Then, additionally, in the previous menu (Network > Device Setup > choose your
interface [LAN= eth0 or WLAN = wlan0]) > Nameserver settings > add these:
1.1.1.1
1.0.0.1 > Save and go back to it, then press yellow button to add another
8.8.8.8 > Save and as above...
8.8.4.4 > Save
MENU > Plugins > green button > Extensions > find the plugin (currently v.
1.1.4) > press OK > go back to main Menu to restart E2.
2) When PurE2 restarts one must use FileZilla Client app (freeware) on one’s
computer in order to connect with one’s STB (“to FTP into the STB”).
One must start FZC and enter one’s STB, in order to create a folder on a USB
stick/SSD/mSD card which is connected to your STB (or one can even make it
in one’s “flash” but only if you have to) and name it whatever you want, say
openvpn, so it would be here, for instance: media/usb/openvpn
This is what FileZilla Client operation looks like while using PurE2:
On the right side one navigates to where one wants to create a folder for one’s
Surfshark files, then right click on the folder > Make a new folder > give it a name >
Enter button on your keyboard. Then, drag & drop the Surfshark’s .ovpn files from
your PC to your STB into that folder.
But first…
3) Create subfolders in that “openvpn” folder and name them accordingly, say:
London, Berlin, Manchester, Sao, Frankfurt, NYC etc.: /media/usb/openvpn/London
(or whatever you want to have as an option, create as many as you need).
4) Choose .udp.ovpn files given to you by your Surfshark VPN provider and move
them to your newly created folders, one for each server/city into its specific folder.
Alternatively, one can simply make the openvpn folder on one’s PC, prepare it
fully, with all the sub-folders, each containing an .ovpn file > and then transfer
(“FTP”) the whole lot to the STB by “drag & drop” to your /media/usb folder (see my
screenshot above, as to what it should look like).
One can get them/download the .ovpn files here > look at the bottom right corner:
MENU > Plugins > VPN Manager > MENU > change the following settings:
-Save directory config > find/navigate to the main openvpn folder (where your folders
with .ovpn files are) by pressing OK and going up and down and pressing the OK
button - until you find where you put it, then press the SAVE button (it should be
something like this: /media/usb/openvpn/ - see the screenshot I put below)
If Surfshark username and password for manual setup are too difficult to do via
RCU, then use FZC to FTP to your box and go to:
In lines 61 and 62 copy and paste your username and password where you see
XXXXXXXXXXXXXXXXXXXX below:
config.vpnmanager.username = ConfigText(default="XXXXXXXXXXXXXXXXXXXX",
fixed_size=False)
config.vpnmanager.password = ConfigText(default="XXXXXXXXXXXXXXXXXXXX",
fixed_size=False)
It looks like this, editing the .py file, using FZC (on the right) and Notepad++ (left):
File > Save and exit. Confirm the change, if asked. Close FZC. Restart E2.
6) Open VPN Manager by pressing MENU on your RCU > Plugins > VPN Manager
and note your normal IP address, internet provider, speed etc.
Now, choose which server you want to be on and press OK button on your RCU.
If you wait a bit, after connecting to a VPN server, you will be able to see your new
and OpenVPN encrypted IP address, speed etc.
Alternatively, in PurE2 go to MENU > pManager > Network > General network info >
see if you are on a VPN... (in Surfshark you have to have 10.x.x.x address, amongst
others...)
Also, check your speed using MENU > FNC PurE2 plugins > Speedtest-FNC > OK,
then OK again...
gorski
http://www.hd-digital-satcrew.com/forum/index.php?page=Index