Change to, for instance, PurE2, m8...
[Plugin] VPN Manager
-
- VPN Manager
- W@Rp
- Thread is marked as Resolved.
-
-
OK, let me try...
1) Install the plugin manually, as per usual and restart E2...
2) Create a folder on a USB stick/SSD/mSD card and name it whatever you want, say openvpn, so it would be here: /media/usb/openvpn
3) Create subfolders in that 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 VPN provider and move them to your newly created folders, one for each server/city into its specific folder
5) Now, go to MENU > Plugins > VPN Manager > MENU > change the following settings:
-Save directory config > find the main openvpn folder and press SAVE button (say, /media/usb/openvpn/)
-OpenVPN autostart > yes
-VPN username > (Surfshark is specific here, you need to put in the ones they gave you for manual settings)
-VPN password > (as above)
If Surfshark username and password are too difficult to do via RCU, then use FileZilla Client to FTP to your box and go to:
/usr/lib/enigma2/python/Plugins/Extensions/VpnManager
Right click on plugin.py and choose View/Edit (use Notepad++ for editing).
Find lines 53 and 54 and copy and paste your username and password where you see XXXXXXXXXXXXXXX below:
Codeconfig.vpnmanager.username = ConfigText(default="XXXXXXXXXXXXXXXXXXXXX", fixed_size=False) config.vpnmanager.password = ConfigText(default="XXXXXXXXXXXXXXXXXXXX", fixed_size=False)
Save and exit. Confirm the change, if asked. Close FZC. Restart E2.
6) Open 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...
Voila!:cool1:
I followed your guide step by step but when I press ok to choose the vpn server to use I have this error
[eDVBPESReader] ERROR reading PES (fd=59): Value too large for defined data type
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
File "/usr/lib/enigma2/python/Plugins/Extensions/VpnManager/plugin.py", line 258, in keyOK
new_conf_write = open(new_config, "a")
IOError: [Errno 2] No such file or directory: '/etc/openvpn/italia.conf'
dm8000 and OPENPLI 7.2 :crying:
-
I don't have your box and I use a different E2...
I would not use OpenPLi, in other words but do as you please...
Try this and tell: http://www.pur-e2.club/OU/images/index.php?dir=6.3/dreambox/
Help re. how to set up PurE2 is in PurE2 section of this great forum...
Also, you can use other good teams' images, like ViX, ATV etc.
Good luck!
-
In the new version the file to edit is here: /usr/lib/enigma2/python/Plugins/Extensions/VpnManager (use FileZilla Client to connect with your STB).
Now, open file called plugin.py in Notepad++ and edit lines no. 61 and 62 by using your username/password like so, where you see XxXx:
Codeconfig.vpnmanager.username = ConfigText(default="xXxxxxXXxxxxxxXXxxxXXXXx", fixed_size=False) config.vpnmanager.password = ConfigText(default="xXxxxxXXxxxxxxXXxxxXXXXx", fixed_size=False)
Save when done, confirm, then close the editor, then FileZilla Client and restart E2... ;)
-
This is what it looks like...
-
VPN Manager Plugin
This plugin should make it possible for you to switch between different VPN connections.
Also, you get several information that will be determined on your IP.
If there is an existing VPN connection, the ping will also be indicated.
Also in the plugin is already an update-resolv-conf with it, so the DNS server of the VPN provider are used.
In order to use the plugin properly, you must note the following.
Creating the configs
- create a folder for this / media / hdd / OpenVPN you can choose this folder name freely.
- for each config that you want to use create another folder / media / hdd / OpenVPN / Amsterdam Amsterdam can be replaced by everything.
In this folder then come the files you get from your VPN provider.
You do not have to rename or customize them if it's an xxxx.conf or xxxx.ovpn.
Set up plugin
- OpenVPN must be stopped before the first start of the plugin
- First, you assign the new created folder in the plugin menu
- Now you have to enter your access data from your VPN provider
- Optionally, you can also set certain DNS server if a VPN connection exists.
But only for users who know what they are doing
OE2.0
OE2.5/OE.2.6 und DreamOS 64
Thanks murxer
why always after restart the receiver openvpn folder automatically removed how to fix this isuue
-
-
Where are you copying your openvpn config files folder to it is not tmp is it. look at tutorial
/media/hdd/openvpn/cz like that is this wrong ?
-
Where are you copying your openvpn config files folder to it is not tmp is it. look at tutorial
/media/hdd/openvpn/cz like that is this wrong ?
Have you only one lot of configs i,e, cz . if not try setting /media/hdd/openvpn and all config in one folder to no. make sure you press ok to save it.
-
Where are you copying your openvpn config files folder to it is not tmp is it. look at tutorial
/media/hdd/openvpn/cz like that is this wrong ?
Have you only one lot of configs i,e, cz . if not try setting /media/hdd/openvpn and all config in one folder to no. make sure you press ok to save it.
yes i iknow tthat we have to press save and ok login ok but whe we reboot the created folder disappeared and note i did this method in almost all images same result i get how to fix
-
Follow the tutorial.
-
Big thanks to gorski for the tutorial its took me three days to get my head round how to do it ( I guess its simple when you know how lol ) Im using winscribe just to test. The tv is stopping but I think thats just down to VPN being turd I actually forgot that I had it and nearly bought another one but cheers pal it really helped
-
My pleasure! :)
If rec is "stopping" depends on its firepower: processor and RAM...So, newer STBs with multi-core processors can easily dedicate one core to just OpenVPN encryption and all would be well...
I think for us here SurfShark is best because it allows for unlimited devices and it works in Windows, Android, Enigma2 and so on, plus it is not expensive at all!
-
Its the actual live stream that's stopping , I stopped using winscribe on my laptop because it was unreliable it kept disconnecting I only used it to learn how to set up the config files etc I will have a look at surf shark later 👍
It's setup on a zgemma h2h I have acquired a few lately from family members for some reason .
-
Good but not very strong by today's standards, that box.
Buy H7 and forget about many "issues" other machines might have...
I described what and how to do with SurfShark in every detail necessary, so have fun...
-
@ all struggling with setting up OpenVPN ("manual setup") in E2
Unless I am terribly mistaken, there is a small difference between Surfshark and the rest of them, when it comes to OpenVPN "manual" setup....
So, the difference between Surfshark OpenVPN (= manual setup for Enigma2) and the rest of VPN providers is just one file, where they keep one of the encryption keys. Surfshark have them both in .ovpn file, while others split them in two ("cert" and ".ovpn" file, while "auth" file, if memory serves, is for username/password). The principle is the same.
So, for other VPN providers who do not know how/don't bother to put both OpenVPN keys in one file (ovpn), you just need to add that extra file with the the other OpenVPN key.
Your username and password should go to the VPN Manager py file, as described in detail by me (you can even do it using your remote controller).
Good luck!
P.S. I urge you not to put the .ovpn files on a Hard Disk Drive (HDD), which has moving parts - but on USB stick or SSD or mSD, perhaps even the flash (I wouldn't - so when I have to reinstall - everything is ready for me on my USB stick, so that saves time, too).
P.P.S. If you have older, weaker machines with 400 - 750MHz processors - this might not work very well (or at all), since OpenVPN encryption might need more firepower, like newer STBs with quad core 1.5GHz processor and enough RAM....
-
Just trying to add username and password how you have described in the tut, but line 61 and 62 look nothing like what you have written, did try and paste your lines in but then the plug in won't open
-
Which version of the plugin are you using? Which text editor?
Either way, go up and down the plugin.py and find username and password lines...
In the previous version it was around 50th line, in the version 1.1.4 it was around 60th - it is obvious for anyone to see....
-
Thanks for the guide gorski but i'm still having problems.
The box is blue screening now when i press ok on the folder in vpn manager.
Using an old zgemma 2s on OpenATV, not sure if its the box, the image or my fault
10:10:58.839 ( )Components/ActionMap.py:46 action action -> OpenVPN_Actions down
10:1059078 I 1 driverrcinput.cpp:23 handlecode 0 6c 1
10:1059083 { } Screens/infoBarGenerics.py:204 action KEY: 108 1 KEY DOWN DOWN
10:10:59.391 driver/rc input.cpp:23 handle code 161
10:1059396 Screens/infoBarGenerics.py:204 action KEY: 108 O KEY DOWN DOWN
10:1059398 Components/ActionMap py 46 action action OpenVPN Actions down
10:1059587 [drive/input.cpp:23 handy Code 0 6c 1
10:1059592 } Screens/InfoBarGenerics.py:204 action KEY: 108 1 KEY DOWN DOWN
10:11:00.6270 driver/rcinput.cpp:23 handleCode 1 160 1
10:11:00.632 ( ) Screens/infoBarGenerics.py:204 action KEY 352 0 KEY OK OK
10:11:00.634 € ) Components/ActionMap.py:46 action action> OpenVPN Actions ok
10:1100906 D) Traceback (most recent call last)
10:1100907 D) File "usr/lib/enigma2/python/Components/ActionMap.py". line 48, in action
10:11:00.908 (D) File /usr/lib/enigma2/python/Plugins/Extensions/VpnManager/plugin.py", line 268. in keyOK
10:11:00-912(D) shutil.copy2(conf destination file. "/etc/openvpn file)
10:11:00.913(D) File "usr/lib/python2.7/shutil.py", line 130, in copy2
10:11:00.916 (D) File "/usr/lib/python2.7/shutil.py". line 82. in copyfile
10:11:00.918{D) IOError[Errno 21] is a directory: /media/sd1//vpn/uk
10:11:00.919EE) python/python.cpp:209 call (Pyobject_Callobject(«bound method Action Map.action of <Components. Action Map.ActionMap Instance at Ox71cd4cBB>>OpenVPN Action
-
Hi, using nordvpn. ive uploaded the files.
tried the long user and pass
also the email one.
but it always gives a login error on connection.
cant verify details is the error
Any ideas lads
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!