VPN Conf Importer

Firstly thank you all for the Guides, on getting VPN up and running, really apprec.

OK.. my problem, Installed the new openPLi 8. 1 image on on my Octagon SF8008 Multiboot.
Because the older ATV and PLI images NO longer supported the EPGImporter.

Then tried to Set Up my PIA VPN again using the VPN Conf-Importer from page1, here.
The VPN was working fine on all my older images in Multiboot, So its not anything I am doing wrong.

I put the File into tmp folder and then via Instal Local Extension onto Box.
Firstly it does NOT create other Files that are needed, like openVPN or the VPNManager!

So I tried again and Installed the VPNManager as well via tmp folder and Instal Local Extension.
Then I made another File called it "pass.txt"and put it into the "/media/usb/grogspiavpn/pass.txt/" folder
I also see a file called "openvpn" in the same folder.

When I go to Setup the VPNConf-Importer to enter all the details and then edit PIA/User/Pwd and press BLUE to save it crashes.
I cannot do anything else the Box locks up. After re-boot the Internet connection is lost and when I check with the
Internet with Network Test the last two options IP address and Nameserver remain RED.

I tried to solve this by turning OFF DHCP and setting up manually, by entering the Google DNS 8.8.8.8 or 8.8.4.4
When I try to save this the Box crashes again.
So I tried to enter the Nameserver 208.67.222.222 and Nameserver 208.67.220.220 manually in /etc/resolv.conf/ folder, plus this Telnet command chattr +i /etc/resolv.conf
This does nothing and crashes the box again.
In folder /Home/root/ there are NO crash Logs.

ONLY remaining solution is to delete and flash the openPLi 8.1 again. Very frustrating.!!!

I am NOT an expert but i believe it has to do with ALL the new images implementing the Python 3 changes.
That's why a lot of Plugin NO longer work.
Any ideas?
Thanks
AJP
vpn conf importer has not been tested (by me at least) ob openpli. The plugin does work with py3 now so that shouldn't be a problem but I beleive you need the latest version of vpn manager, a link to it has been posted in this thread I believe (not read back tonight)

What do you mean older atv does not support epgImporter? I am running ATV 6.4 with epg importer without an issue, have I missed something?
 
@ pabloescaban,
thanks for the confirmation about VPN NOT working on openPli 8.1.
I can save me the bother of Flashing again.
Although the work around with "resolv.conf" and "Telnet chatter cmd" from above post has been reported as working.
I cannot for the love of me get it up and running on PLi 8.1

@grog68,
the EPGImporter from openATV feeds on the 6.4 image is the 240 version correct?
well its the one I have installed and every second day it fails to load the EPG,
so i check the sources and they are empty, only solution, remove plugin and re-boot and download plugin and re-boot,
then set up the sources again and run manual update.

Thanks guys
AJP
 
Hi Gents,
still struggling a little with these VPNConf-Importer and VPNManager files for Python 3 images openPli 8.1 and ATV 7
Can someone who has BOTH the above latest working versions , please Load here.
After reading thru this thread several times now I am assuming its either the modified VPNConf-Importer Ver. 3.60 in the first post?
or is it the VPNConf-Importer_1.0 all. from "cokeaddict" in post #96.?
and the VPNManager_1.1.6.all. also in post #96 from "cokeaddict"?
or its the VPNManager_1.1.7_py3_all now?
I am asking specificaly for the correct Files because I DO NOT want to Flash and Set everything up again and again on my Multiboot, the Install
of the wrong filles leads everytime, to loosing my Internet connection on the Box and only solution is to Delete the Partition and Flash again.
I am using the PIA VPN so the Files should download automatically.
really apprec
Thank you
AJP
 
Hi Gents,
still struggling a little with these VPNConf-Importer and VPNManager files for Python 3 images openPli 8.1 and ATV 7
Can someone who has BOTH the above latest working versions , please Load here.
After reading thru this thread several times now I am assuming its either the modified VPNConf-Importer Ver. 3.60 in the first post?
or is it the VPNConf-Importer_1.0 all. from "cokeaddict" in post #96.?
and the VPNManager_1.1.6.all. also in post #96 from "cokeaddict"?
or its the VPNManager_1.1.7_py3_all now?
I am asking specificaly for the correct Files because I DO NOT want to Flash and Set everything up again and again on my Multiboot, the Install
of the wrong filles leads everytime, to loosing my Internet connection on the Box and only solution is to Delete the Partition and Flash again.
I am using the PIA VPN so the Files should download automatically.
really apprec
Thank you
AJP
vpnmanager 1.17_py3 for py3 systems, clue is in the name
 
@grog68,
Thought so, thanks for the confirmation, Mr Grog OK will try, which VPNConf-Importer vers please?
3.60 from post #1 or vers 1.0 from #96?
Cheers
the one in the first post. That post is normally updated with the latest link when it's updated
 
I know there are a couple of plugins available but I have taken the VPN script by @dsayers2014 and attempted to make it a plugin. At the moment it imports the config filess for

AirVPN
Cactus VPN
Digibit
Fastest VPN
IP Vanish
Ivacy VPN
IVPN
Lime VPN
Monster VPN
Nord VPN *
PIA
Privado VPN
Pure VPN *
Slick VPN
Safer VPN
Surfshark *
Torguard
VyprVPN
Windscribe

If you have Grogbuild Infinity installed then you will find it in the downloadable plugins list Extensions -> VPNConfImporter other builds can download it from
https://www.dropbox.com/s/io8w4kfvf0wwmby/enigma2-plugin-extensions-vpnconfimporter.ipk?dl=1

The plugin required openvpn and vpnmanager to be installed on your box, as both are available on the openATV feeds they should instal when you install VPNConfImporter, I'm not sure if vpnmanager is on the vix feeds so you may need to install the vpnmanager first manually before installing this plugin.

View attachment 56068

You can create a file called vpn.txt with your vpn username on the first line and vpn password on the second line and copy it to the /tmp folder on your box and set Import Credentials to yes in the plugin and it will use those, alternatively highlight username and press OK and use the virtual keyboard to enter your username, then repeat for the password. NOTE: Surfshark users do not use their account username and password, log into your account and look in manual setup, you need to use the username and password in the Credentials tab.

Now use the left/right arrows to select your VPN provider, now press the blue button to save.

That's it, your vpn provider config files should then be imported and set up for use with the VPN Manager. Now open the VPN Manager and select a server from the list. By default, Autostart is disabled, you can change this in VPN Manager by pressing the menu button and change the autostart setting.

I will add other providers when I get the chance.

Craveat: I only have a vpn account with Surfshark so that is the only one I have tested, if anyone uses the others please comment in this thread if it does/doesn't work. Those providers marked wth a * have been tested by users, others should work but until someone actually uses it I can't confirm.

UPDATE : From version 0.30 (uploaded 30/11/20) if you do not have the VPN Manager installed, the first time you click save in the VPNConfImporter it will install openvpn and VPNManager and then reboot the box. Once VPN Manager is installed the box is no longer rebooted by the plugin
is this works for ghost vpn?
 
Trying to configure VPN conf importer on my box running wooshbuild openatv 6.4. I set username and password then select PIA. When I press save (green button) I get the blue crash screen. The folder grogspiavpn is in hdd but there are no config files. Any Ideas as to what could be going wrong? OpenVPN and VPN manager are installed correctly. See below crash log. Thanks



23:58:04.8318 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] Traceback (most recent call last):
23:58:04.8325 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
23:58:04.8331 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Plugins/Extensions/VPNConfImporter/plugin.py", line 335, in green
23:58:04.8338 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] self.downloadfile(vpn_config_path, vpn_config_url, "zip")
23:58:04.8343 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Plugins/Extensions/VPNConfImporter/plugin.py", line 153, in downloadfile
23:58:04.8349 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] u = urllib2.urlopen(vpnurl)
23:58:04.8353 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
23:58:04.8360 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 435, in open
23:58:04.8366 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
23:58:04.8371 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 473, in error
23:58:04.8377 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
23:58:04.8382 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
23:58:04.8389 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] urllib2.HTTPError: HTTP Error 403: Forbidden
23:58:04.8390 [ E ] python/python.cpp:210 call [ePyObject] (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0xa8d39be8>>,('ColorActions', 'green')) failed)
 
Trying to configure VPN conf importer on my box running wooshbuild openatv 6.4. I set username and password then select PIA. When I press save (green button) I get the blue crash screen. The folder grogspiavpn is in hdd but there are no config files. Any Ideas as to what could be going wrong? OpenVPN and VPN manager are installed correctly. See below crash log. Thanks



23:58:04.8318 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] Traceback (most recent call last):
23:58:04.8325 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
23:58:04.8331 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Plugins/Extensions/VPNConfImporter/plugin.py", line 335, in green
23:58:04.8338 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] self.downloadfile(vpn_config_path, vpn_config_url, "zip")
23:58:04.8343 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/enigma2/python/Plugins/Extensions/VPNConfImporter/plugin.py", line 153, in downloadfile
23:58:04.8349 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] u = urllib2.urlopen(vpnurl)
23:58:04.8353 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
23:58:04.8360 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 435, in open
23:58:04.8366 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
23:58:04.8371 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 473, in error
23:58:04.8377 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
23:58:04.8382 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
23:58:04.8389 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-10-31 23:58:04+0000 [-] urllib2.HTTPError: HTTP Error 403: Forbidden
23:58:04.8390 [ E ] python/python.cpp:210 call [ePyObject] (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0xa8d39be8>>,('ColorActions', 'green')) failed)
Have you uploaded your ovpn files from your provider?
It says in the error message above that there's a zip file?
I think you need to unzip the ovpn files first
 
There is a zip file that I can download from PIA with the ovpn files. But I thought the program installs the ovpn files automatically to which vpn provider is selected? Where should the unzipped ovpn files be placed?
 
In VPN conf importer press menu it should show the location send them there.

It's likely the configuration files url has changed from what the plugin is using so that's why it's getting a crash. Grog will probably update it when he gets time
 
Hi dsayers, I tried running your script and it imported the config files into vpn manager. Now when I try to connect to a selected country I get " Login error: AUTH_FAILED". I'm using the SOCKS generated username and password from PIA. Default DNS is showing as 192.168.0.1.
 
I do need to go through the download urls for these and make sure they are up to date. I will take a look in the morning.
 
Hi dsayers, I tried running your script and it imported the config files into vpn manager. Now when I try to connect to a selected country I get " Login error: AUTH_FAILED". I'm using the SOCKS generated username and password from PIA. Default DNS is showing as 192.168.0.1.
Can you try Google DNS in network menu configure network set nameservers to:
8.8.8.8
8.8.4.4


Try VPN manager again
 
I set them to the above in network setttings but still get the same error. What does DNS 1 correspond to in VPN manager? See attached
 

Attachments

  • 4097_0_1_29B_92ED_0_0_0_0_0_20221101221126.jpg
    4097_0_1_29B_92ED_0_0_0_0_0_20221101221126.jpg
    144.8 KB · Views: 15
  • 4097_0_1_29B_92ED_0_0_0_0_0_20221101221244.jpg
    4097_0_1_29B_92ED_0_0_0_0_0_20221101221244.jpg
    305.8 KB · Views: 14
  • openvpn.png
    openvpn.png
    54.5 KB · Views: 15
Back
Top