Results 1 to 9 of 9

Thread: NordVPN-Connector Plugin

  1. #1

    enigma1969's Avatar
    Join Date
    Mar 2016
    Location
    SatDreamGR
    Posts
    4,646
    Rep Power
    263480

    NordVPN-Connector Plugin

    [Plugin] NordVPN-Connector for DreamOS and OE2.0

    Um meinen VPN-Provider NordVPN auf meinen E2-Boxen komfortabler verwalten zu können, hab ich mir mal ein Plugin gebastelt.
    Damit ich es nicht alleine nutzen muss, stelle ich es auch denen zur Verfügung, die ebenfalls NordVPN als VPN-Provider verwenden und solche ein Plugin brauchen können.

    Die Verbindungs-Listen können im Plugin Online heruntergeladen werden, somit ist ein manuelles zuführen der Listen nicht notwendig.
    Mit Auswahl der entsprechenden Verbindung und Druck auf die OK-Taste wird entsprechende Verbindung initiiert.
    Die Verbindungen sind nach Ländern sortiert, Links in der Tabelle befinden sich zur Auswahl die Länder,
    Rechts dazu werden dann die jeweiligen Verbindungsmöglichkeiten aufgelistet.

    Das Plugin selber sollte soweit selbsterklärend sein.



    Mit "Beenden" (Rot) wird das Plugin verlassen.
    Mit "Einstellungen" (Grün) kommt man in die unten beschriebenen Einstellungen.
    Mit "OpenVPN de/aktivieren" (Gelb) kann man temporär die VPN-Verbindung aktivieren bzw. deaktivieren.
    Mit "Springe zu Verbindung" (Blau) wird in der Liste zur aktuell verwendeten VPN-Verbindung gesprungen, dies dient nur zur Orientierung.
    Mit "Auswahl Verbinden" (OK) wird die gewählte Verbindung aus der rechten Liste initiiert.



    Unter Einstellungen werden dann die persönlichen Angaben zum NordVPN-Benutzeraccount gemacht, wie Username und Passwort,
    desweiteren kann ausgewählt werden, ob OpenVPN beim Boot schon aktiviert werden soll.
    Als StandardDNS wird dann schon der vorausgewählte DNS aus den Netzwerkeinstellungen dort eingetragen,
    hier braucht eigentlich nur geändert werden, wenn ein abweichender DNS eingetragen werden soll, wenn OpenVPN wieder deaktiviert wird.
    Bei Aktivierung der VPN-Verbindung wird als DNS auch der DNS des VPN-Providers verwendet, um den DNS-Leak zu umgehen,
    wenn die VPN-Verbindung wieder deaktiviert wird, wird entsprechender StandardDNS wieder zurückgeschrieben.
    Mit "Speichern" (Grün) werden die eingegebenen/eingestellten Daten gespeichert, mit "Abbrechen" (Rot) kann der Vorgang abgebrochen werden.
    Mit "Lade neue Konfigdateien" (Gelb) werden die Konfigdateien von NordVPN heruntergeladen und aufbereitet.
    Mit "Lösche Konfigdateien" (Blau) wird man diese Konfigdateien wieder los und werden von der Box gelöscht.

    Zum Thema DNS-Leak:
    Die beste VPN-Verbindung nützt nichts, wenn man trotz Aktivierung der VPN-Verbindung eine direkte DNS-Anfrage an den DNS des I-Net Providers oder gar Google macht.
    Hier mal ein kleiner Erklärungsversuch von NordVPN:

    DNS erklärt:

    Das Domain Name System (DNS) ist verantwortlich dafür die Domain-Namen wie „nordvpn.com“ in tatsächliche IP-Adressen aufzulösen, mit denen man verbunden werden kann.
    Im Grunde übersetzt es die langen, komplexen und schwer zu merkenden nummerischen Namen von Webservern in menschliche Sprache und umgekehrt.
    Wann immer Ihr Computer also Zugang zu einer bestimmten Website benötigt, z.B. bei der Eingabe von „google.com“ in Ihren Browser,
    kontaktiert er zuerst einen DNS-Server und fragt nach der eindeutigen IP-Adresse der Website.

    Was ist ein DNS-Leck?:

    Wenn Sie versuchen, Ihre Online-Aktivitäten mit einem VPN-Dienst sicher und privat zu halten, ist es äußerst wichtig,
    dass der gesamte Datenverkehr von Ihrem Computer über das VPN-Netzwerk geroutet wird.
    Dazu gehören die vorstehend genannten DNS-Anfragen,
    diese sollten durch den VPN-Tunnel an den DNS-Server Ihres VPN-Provider gehen anstatt an den Server Ihres Internetanbieters.
    DNS-Leaks kann man z.B. unter "dnsleaktest.com" testen, hier ein kleines Beispiel dazu:

    Verbindung ohne VPN:



    Verbindung mit VPN:



    hier ist schön zu sehen, das bei aktiver VPN-Verbindung auch die DNS Anfrage über die VPN-Verbindung geht,
    ansonsten würde, wie im Beispiel, der deutsche Provider dort aufgeführt werden.
    Wenn im rechten Bild, wie im Beispiel, der deutsche Provider erscheinen sollte, liegt ein DNS-Leak vor.


    Wenn dieses Plugin auf ein frisch geflashtes Image installiert werden soll, dann am besten bei OE2.0 vorher über Telnet noch ein:

    Code:
    opkg update
    und bei DreamOS ein:
    Code:
    apt-get update
    ausführen, damit die Package-List aktualisiert wird, ansonsten kann es schon mal zu Problemen mit den nötigen Abhängigkeiten kommen,
    dass diese nicht gefunden werden.

    Getestet wurde dieses Plugin für OE2.5 unter dem Original Drembox-Image und unter Merlin, alle anderen OE2.5 Images sollten demnach ebenfalls funktionieren.
    Images auf Basis OE2.0 wurden OpenNFR, OpenATV und OpenPli getestet.

    ..........................................................................................................................................................................................................................

    NordVPN-Connector v 0.2

    Function extension "Kill Switch":

    To ensure that if the OpenVPN connection is interrupted, no further request can be made from or to the Internet,
    I have used iptables, which only allows requests for the currently used VPN-IP address and its DNS,
    For this, under Settings also "Kill Switch" must be activated.
    So if no OpenVPN connection is active when the kill switch is activated, no request to the internet is possible.

    Additionally fixed some bugs.





    Thanks @Lizard



    Download NordVPN-Connector
    Member SatDreamGr Projects


  2. #2

    enigma1969's Avatar
    Join Date
    Mar 2016
    Location
    SatDreamGR
    Posts
    4,646
    Rep Power
    263480

    Re: NordVPN-Connector Plugin

    NordVPN-Connector v 0.3

    Function extension:
    Representation of the respective server load
    Optional presentation of the plugin in the menu
    Optional presentation of the server load in the menu
    Display if Killswitch is active
    Display of the currently used public IP address on the Internet
    Page-by-page scrolling with Page buttons now possible

    Various fixes regarding killswitch
    Other fixes

    Under Settings, additional options have been added:



    Show plugin in the menu:
    This will display the plugin "NordVPN Connector" in the menu area for quicker selection,
    For this setting to take effect, a GUI restart is necessary.

    Show server usage in the menu:
    With this setting you can display the current utilization of the currently used server in the menu item.
    This point is currently marked as "Experimental", since the current load of the server is determined at the menu call,
    there may be a momentary delay in the display of the menu, but this also depends on which VPN server (country) is currently being used,
    the delays have different effects.
    This point is to be regarded as "Nice to have", who has problems with it or who it bothers, can / should disable this setting.

    List sorted by server load:
    This will sort the server selection list in ascending order of server load, to help make selecting a suitable server faster.

    Screenshot of the menu:



    Screenshot of server selection (sorted):



    In the open server selection above, the view of the server loads is updated every 60 seconds and sorted accordingly when sorting.

    Thanks @Lizard


    Download NordVPN
    Member SatDreamGr Projects


  3. #3
    mehmetkarahanlı
    Guest mehmetkarahanlı's Avatar

    Re: NordVPN-Connector Plugin


    NordVPN-Connector v 0.3-r3


    Fix:
    - Missing service files for OpenVPN at NN2 are added by the plugin.
    - Fixed MessageBox problem with VTi
    - Problem when entering username / password fixed.

    enigma2-plugin-extensions-nordvpnconnector_0.3-r3_all.ipk‎

  4. #4

    NordVPN-Connector Update Version 0.4 r1

    NordVPN-Connector Update Version 0.4 r1



    Fix:

    Access problem Oscam Webif, DCC, etc.

    Smaller optimizations

    Basic setting is now "iptables" and no longer "route"

    Acceleration Download server status list at boot time

    There is no .ipk or .deb installation package available, the installation is done via a Telnet command:



    For DreamOS (.deb)



    wget http://nordvpnconnector.dd-dns.de/nv...ler_dreamos.sh -O - | /bin/sh


    For (.ipk) in the OE1.6 / OE2.0 boxes




    wget http://nordvpnconnector.dd-dns.de/nv...staller_ipk.sh -O - | /bin/sh

  5. #5

    NordVPNconnector Plugin

    enigma2-plugin-extensions-nordvpnconnector_0.3-r4_all.ipk Connection lists can be downloaded in Plugin Online, so you do not need to add the lists manually.

    By selecting the appropriate connection and pressing the OK button, the correct connection is initiated.

    Links are sorted by country, links in the table are available for selection

    The right connection options are provided on the right.


    The plug-in itself should be understandable.





    With "Exit" (red) the plug remains.

    Use the "Settings" (green) to access the settings described below.

    With "OpenVPN de / Activ" (yellow) you can temporarily activate or deactivate the VPN connection.

    Go to connection (blue) goes to the currently used VPN connection in the list, this is only for guidance.

    Select "Connect" (OK) initiates the selected connection from the list on the right.

    In the Settings, personal data of the NordVPN user account are created, such as username and password,

    In addition, you can choose whether OpenVPN should be activated at boot time.

    Because the default DNS is already pre-selected based on the network settings entered there,

    here you really need to change only if another DNS is to be entered when OpenVPN is turned off again.

    When the VPN connection is activated, the DNS of the VPN provider is also used to bypass the DNS leak,

    if the VPN connection is deactivated again, the corresponding default DNS will be restored.

    With "Save" (green) the entered / saved data is saved, with "Cancel" (red) the process can be interrupted.

    With "Load new configuration files" (yellow) the configuration files are downloaded and edited by NordVPN.

    By using the "delete configuration files" option (blue) you will get rid of these configuration files and you will be removed from the box.


    About DNS leak:

    The best VPN connection is useless if you make a direct DNS request to the DNS of an I-Net provider or even Google despite activating the VPN connection.

    Here is a small attempt by NordVPN to explain:



    DNS explains:


    The Domain Name System (DNS) is responsible for converting domain names, such as "nordvpn.com", to real IP addresses that you can connect to.

    Basically, it translates long, complex and hard to remember numerical names of web servers into human language and vice versa.

    Therefore, whenever a computer needs access to a specific website, e.g. entering "google.com" in the browser,

    he first contacts the DNS server and asks for the unique IP address of the site.


    What is a DNS leak:


    If you are trying to maintain the security and privacy of your online business using a VPN service, this is extremely important

    that all traffic from your computer is routed through a VPN.

    These include the above DNS requests,

    which should go through the VPN tunnel to your VPN provider's DNS server instead of to your ISP's server.

    Click to expand ... DNS leaks can be tested, for example, under "dnsleaktest.com", here is a small example:


    Connection without VPN:




    Connection to VPN:




    here it is beautiful to see that with an active VPN connection there is also a DNS query regarding the VPN connection,

    otherwise, as in the example of the German supplier, it would be listed there.

    If a German provider should appear in the right image, as in the example, there is a DNS leak.



    If this plugin is to be installed on a freshly flashed image, preferably with OE2.0 before Telnet one more:

    opkg update


    so that the package list will be updated, otherwise problems with necessary dependencies may occur

    you can't find it.


    Images based on OE2.0 have been tested on OpenNFR, OpenATV and OpenPli.


    Thanks @Lizard


    Update 0.3 r-4


    In version v0.3-r4 I was still building the function that is most useful

    access data from a file on a USB stick / hard disk are read and entered when calling "Settings",

    to prevent Vertippern when filling out access data.

    The file must be named "nordvpnauth" exactly in this spelling without quotation marks and should be in the root directory of the media.


    The content of the file must look like this:


    hierderusername

    hierdaspasswort

    So the first line of the username, and the second line the password.


    If the medium (USB stick / hard disk) is present and the "nordvpnauth" file exists, it is read every time the settings are called.

    One reading each so that you can remove the USB stick or delete the "nordvpnauth" file from the media so that it cannot be read every time,

    this is interesting for users who work with a hard disk in economy / sleep mode, so the hard disk does not always wake up.




    Attached files



    .ipk enigma2-plugin-extensions-nordvpnconnector_0.3-r4_all.ipk https://www.sendspace.com/file/ka4elu

  6. #6

    enigma1969's Avatar
    Join Date
    Mar 2016
    Location
    SatDreamGR
    Posts
    4,646
    Rep Power
    263480

    Re: NordVPNconnector Plugin

    NordVPN-Connector Update Version 0.4 r1

    Fix:
    Access problem Oscam Webif, DCC, etc.
    Smaller optimizations
    Basic setting is now "iptables" and no longer "route"
    Acceleration Download server status list at boot time
    There is no .ipk or .deb installation package available, the installation is done via a Telnet command:

    For DreamOS (.deb)
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_dreamos.sh -O - | /bin/sh
    For (.ipk) in the OE1.6 / OE2.0 boxes
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_ipk.sh -O - | /bin/sh
    Thanks Lizard
    Member SatDreamGr Projects


  7. #7

    korn's Avatar
    Join Date
    Dec 2010
    Location
    SatDreamGr
    Posts
    51,999
    Rep Power
    2485046

    Απ: NordVPNconnector Plugin

    NordVPN-Connector Update Version 0.4 r6 (Fix - only DreamOS)



    There is no .ipk or .deb installation package available, the installation is done via a Telnet command:

    For DreamOS (.deb)
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_dreamos.sh -O - | /bin/sh
    For (.ipk) in the OE1.6 / OE2.0 boxes
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_ipk.sh -O - | /bin/sh
    Thanks Lizard

  8. #8

    korn's Avatar
    Join Date
    Dec 2010
    Location
    SatDreamGr
    Posts
    51,999
    Rep Power
    2485046

    Απ: NordVPN-Connector Plugin

    NordVPN-Connector Update Version 0.4 r9

    - add Virtual KeyBoard

    A "Virtual KeyBoard" was implemented to make the input options a little more comfortable under the settings, especially with regard to missing special characters.

    Problem reporting

    The "Virtual Keyboard" can be called up with the menu key, if "Virtual Keyboard = Menu" is also shown above,
    this is the case with input fields such as "Username", "Password" and "Path of the config files".




    There is no .ipk or .deb installation package available, the installation is done via a Telnet command:

    For DreamOS (.deb)
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_dreamos.sh -O - | /bin/sh
    For (.ipk) in the OE1.6 / OE2.0 boxes
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_ipk.sh -O - | /bin/sh
    Thanks Lizard

  9. #9

    korn's Avatar
    Join Date
    Dec 2010
    Location
    SatDreamGr
    Posts
    51,999
    Rep Power
    2485046

    Απ: NordVPN-Connector Plugin

    NordVPN-Connector Update Version 0.4 r10

    Fix:
    - remove primary download source for openvpn-configs
    Since NordVPN has switched off the URL that I primarily used as the download source for the OpenVPN configs,
    has been removed from the plugin, only the alternative download source is used.
    - Fix "start openvpn at boot" function
    Despite the deactivated function "Activate OpenVPN at boot", OpenVPN was started at boot, this has now been fixed.


    There is no .ipk or .deb installation package available, the installation is done via a Telnet command:

    For DreamOS (.deb)
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_dreamos.sh -O - | /bin/sh
    For (.ipk) in the OE1.6 / OE2.0 boxes
    Code:
    wget http://nordvpnconnector.dd-dns.de/nvpnc-installer_ipk.sh -O - | /bin/sh
    Thanks Lizard

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 13-06-22, 12:26
  2. Replies: 21
    Last Post: 15-06-20, 18:49
  3. Norda-Connector v 0.3-r4
    By ZYGA in forum Enigma2 Plugins ΟΕ 2.0
    Replies: 0
    Last Post: 28-04-19, 12:13
  4. NordVPN-Connector By Lizard [*deb]
    By mehmetkarahanlı in forum Enigma2 Plugins ΟΕ 2.2
    Replies: 0
    Last Post: 05-11-18, 08:37
  5. VU+Plugin MSN weather service opensource plugin
    By mehmetkarahanlı in forum Enigma2 Plugins ΟΕ 2.0
    Replies: 0
    Last Post: 08-06-18, 17:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •