Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: VPN Plugin

  1. #1

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jan 2014
    Posts
    36
    Thanks
    5
    Thanked 2 Times in 1 Post

    VPN Plugin

    Hi Guy's
    What with the server blocking that's going on and set to continue are any of you brainiacs ( and i mean that in the nicest possible way) thinking about writing a VPN plugin
    like the one that's been added to the new Wooshbuild v7 all you have to do is download the plugin enter username and Password for your vpn supplier and bingo you're in
    i've been a vix fan for ages and love the work you guy's put in but the blocking issue is a pain specially for the not so techie ones of us
    would love to hear your thought's

    TIA

  2. The Following 2 Users Say Thank You to Hemmingway For This Useful Post:

    alamir11 (21-04-18),Donnie (24-12-17)

  3. #2
    johnnym's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2012
    Posts
    45
    Thanks
    11
    Thanked 3 Times in 3 Posts
    its already available.
    Menu
    Set-up
    Network
    Utilities
    OPEN VPN

    thats to start it

    if you search there is a good procedure already written you can follow to get it working but you have to subscribe to a VPN service to use it the free ones are not that reliable.
    hope this helps
    Last edited by johnnym; 24-12-17 at 13:52.

  4. #3
    No.Trace's Avatar
    Title
    Senior Member
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    218
    Thanks
    14
    Thanked 25 Times in 21 Posts
    Hi there ...

    i installed the VPN Changer (enigma2-plugin-extensions-vpnchanger_1.1.0_all.ipk) but i can't stop the VPN Connection with this PlugIn,
    you have to press the red button for Start/Stop the connection ... but when i press the butten it is like i press exit.
    But the VPN Connection is on any time ...

    CU Kai
    - Vu+ Solo2 - Vu+ Solo SE V2 - Xtrend ET4000@750MHz - all with OpenVIX -

  5. #4
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    I have done a script for my private network. It's probably one of the easiest as you only need one conf file and edit to change country unlike others you need a conf for each country.

    Although it's not that hard to setup other vpn's your self.

    See here http://www.world-of-satellite.com/sh...l=1#post462178 that should work with most vpn's but some you may need to add cert lines
    Last edited by dsayers; 24-12-17 at 14:10.

  6. #5
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by No.Trace View Post
    Hi there ...

    i installed the VPN Changer (enigma2-plugin-extensions-vpnchanger_1.1.0_all.ipk) but i can't stop the VPN Connection with this PlugIn,
    you have to press the red button for Start/Stop the connection ... but when i press the butten it is like i press exit.
    But the VPN Connection is on any time ...

    CU Kai
    Same here just goto network menu and turn OpenVPN off from there. I did report it on the plugin thread on the openatv forum but I think they don't understand due to language barrier
    Last edited by dsayers; 24-12-17 at 14:07.

  7. #6
    No.Trace's Avatar
    Title
    Senior Member
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    218
    Thanks
    14
    Thanked 25 Times in 21 Posts
    Perhaps that could be an "error" from the OpenVix Image ?
    Here in that video it works ...
    https://youtu.be/8Eb0G4R8e7c?t=10m11s
    But this is the the OpenATV Image i think.
    - Vu+ Solo2 - Vu+ Solo SE V2 - Xtrend ET4000@750MHz - all with OpenVIX -

  8. #7
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by No.Trace View Post
    Perhaps that could be an "error" from the OpenVix Image ?
    Here in that video it works ...
    https://youtu.be/8Eb0G4R8e7c?t=10m11s
    But this is the the OpenATV Image i think.
    I'm not sure but when you goto the plugin folder you have scripts so maybe you need to add stop start scripts

  9. #8
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by No.Trace View Post
    Perhaps that could be an "error" from the OpenVix Image ?
    Here in that video it works ...
    https://youtu.be/8Eb0G4R8e7c?t=10m11s
    But this is the the OpenATV Image i think.
    Actually flashed OPENATV 6.2 today. I've just installed the plugin and red Stops/Starts openvpn without issues so maybe it is something to do with the image.

  10. #9
    No.Trace's Avatar
    Title
    Senior Member
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    218
    Thanks
    14
    Thanked 25 Times in 21 Posts
    I think that is the problem ... but what can we do ?
    - Vu+ Solo2 - Vu+ Solo SE V2 - Xtrend ET4000@750MHz - all with OpenVIX -

  11. #10
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    I'm not sure but I think this is the part in the plugin.py that stops starts openvpn with red button maybe one of the vix devs can suss what is needed to change the plugin or Vix python files?

    Code:
    def keyRed(self):
            if "openvpn" in str(os.listdir("/var/run")):
                os.system("/etc/init.d/openvpn stop")
                self['vpnStatus'].setText("OpenVpn is not Running")
                self.session.open(MessageBox, _("OpneVpn wurde gestoppt!"), MessageBox.TYPE_INFO, timeout=10)
                threading.Thread(target=self.readIP).start()
                try:
                    f = open(LOGFILE, "a")
                    f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn Stopping\n")
                    f.close()
                except:
                    print "Log File Error"
            else:
                os.system("/etc/init.d/openvpn start")
                if "openvpn" in str(os.listdir("/var/run")):
                    self['vpnStatus'].setText("OpenVpn is Running")
                    self['list'].hide()
                    self['vpnLoad'].show()
                    self.statusVpn()
                    try:
                        f = open(LOGFILE, "a")
                        f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn is Running\n")
                        f.close()
                    except:
                        print "Log File Error"
                else:
                    try:
                        f = open(LOGFILE, "a")
                        f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn Starting Error\n")
                        f.close()
                    except:
                        print "Log File Error"
                    self['vpnStatus'].setText("OpenVpn is not Running")
                    self.session.open(MessageBox, _("OpneVpn konnte nicht gestartet werden!"), MessageBox.TYPE_ERROR, timeout=10)

  12. #11
    No.Trace's Avatar
    Title
    Senior Member
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    218
    Thanks
    14
    Thanked 25 Times in 21 Posts
    That would be great !
    - Vu+ Solo2 - Vu+ Solo SE V2 - Xtrend ET4000@750MHz - all with OpenVIX -

  13. #12
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by Hemmingway View Post
    Hi Guy's
    What with the server blocking that's going on and set to continue are any of you brainiacs ( and i mean that in the nicest possible way) thinking about writing a VPN plugin
    like the one that's been added to the new Wooshbuild v7 all you have to do is download the plugin enter username and Password for your vpn supplier and bingo you're in
    i've been a vix fan for ages and love the work you guy's put in but the blocking issue is a pain specially for the not so techie ones of us
    would love to hear your thought's

    TIA
    This is the Script I did for My Private Network
    Code:
    https://github.com/davesayers2014/OpenVPN/blob/master/myvpn/Instructions.txt
    And here is the original concept I made the script from
    Code:
    https://help.my-private-network.co.uk/support/solutions/articles/24000002812-openvpn-on-vu-duo2-openvix-

  14. #13

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jan 2014
    Posts
    36
    Thanks
    5
    Thanked 2 Times in 1 Post
    Quote Originally Posted by johnnym View Post
    its already available.
    Menu
    Set-up
    Network
    Utilities
    OPEN VPN

    thats to start it

    if you search there is a good procedure already written you can follow to get it working but you have to subscribe to a VPN service to use it the free ones are not that reliable.
    hope this helps
    Hi Yeah
    i found that but it's nowhere as user friendly as the easy vpn adder as it needs no tech knowledge at all
    all you have to do is launch it add user and password and job done

  15. #14
    johnnym's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2012
    Posts
    45
    Thanks
    11
    Thanked 3 Times in 3 Posts
    Have u sorted it now with the others help thats the good thing about the guys on here always ready to help.
    if not i can write you a step by step walk through, I am not a tekkie but managed it

    regards

  16. #15
    ^^COMPASS^^'s Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2011
    Posts
    268
    Thanks
    282
    Thanked 307 Times in 125 Posts
    Quote Originally Posted by No.Trace View Post
    Hi there ...

    i installed the VPN Changer (enigma2-plugin-extensions-vpnchanger_1.1.0_all.ipk) but i can't stop the VPN Connection with this PlugIn,
    you have to press the red button for Start/Stop the connection ... but when i press the butten it is like i press exit.
    But the VPN Connection is on any time ...

    CU Kai
    Quote Originally Posted by dsayers View Post
    I'm not sure but I think this is the part in the plugin.py that stops starts openvpn with red button maybe one of the vix devs can suss what is needed to change the plugin or Vix python files?

    Code:
    def keyRed(self):
            if "openvpn" in str(os.listdir("/var/run")):
                os.system("/etc/init.d/openvpn stop")
                self['vpnStatus'].setText("OpenVpn is not Running")
                self.session.open(MessageBox, _("OpneVpn wurde gestoppt!"), MessageBox.TYPE_INFO, timeout=10)
                threading.Thread(target=self.readIP).start()
                try:
                    f = open(LOGFILE, "a")
                    f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn Stopping\n")
                    f.close()
                except:
                    print "Log File Error"
            else:
                os.system("/etc/init.d/openvpn start")
                if "openvpn" in str(os.listdir("/var/run")):
                    self['vpnStatus'].setText("OpenVpn is Running")
                    self['list'].hide()
                    self['vpnLoad'].show()
                    self.statusVpn()
                    try:
                        f = open(LOGFILE, "a")
                        f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn is Running\n")
                        f.close()
                    except:
                        print "Log File Error"
                else:
                    try:
                        f = open(LOGFILE, "a")
                        f.write(time.strftime("%d.%m.%Y %H:%M:%S ") + "OpenVpn Starting Error\n")
                        f.close()
                    except:
                        print "Log File Error"
                    self['vpnStatus'].setText("OpenVpn is not Running")
                    self.session.open(MessageBox, _("OpneVpn konnte nicht gestartet werden!"), MessageBox.TYPE_ERROR, timeout=10)
    This is a long standing Keymap issue associated with OpenVIX which is easy overcome (but needs to be repeated upon a image update as the changes are overwritten)

    usr/share/enigma2/keymap.xml

    By changing keymap code from cancel to red

    See below


    Code:
     <map context="SetupActions">
    		
    		<key id="KEY_RED" mapto="red" flags="m”/>
    Last edited by ^^COMPASS^^; 25-12-17 at 11:36.

    Vu+UNO 4K SE [OE-Alliance-4.4 Firmware 5.4-010-Build Oscam-r11693-798][with keys]
    Vu+DUO 2 [OE-Alliance-4.4 Firmware 5.4-003-Build Oscam-r11572-798][with keys]
    Vu+SOLO 2 [OE-Alliance-4.3 Firmware 5.3-039-Build MGcamd]
    Vu+SOLO SE [OE-Alliance-4.4 Firmware 5.4-003-Build MGcamd]

  17. The Following User Says Thank You to ^^COMPASS^^ For This Useful Post:

    dsayers (25-12-17)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.