Package Details: wgnord 0.1.10-1

Git Clone URL: (read-only, click to copy)
Package Base: wgnord
Description: A NordVPN Wireguard ("NordLynx") client in POSIX shell
Upstream URL:
Keywords: networking nordlynx nordvpn security vpn wireguard
Submitter: phirecc
Maintainer: phirecc
Last Packager: phirecc
Votes: 5
Popularity: 0.56
First Submitted: 2021-08-03 00:55
Last Updated: 2021-12-09 00:16

Latest Comments

1 2 Next › Last »

Th30 commented on 2021-12-12 02:36

@phirecc: Okay, it's not too important.I understand, thanks for your functional script :)

phirecc commented on 2021-12-10 14:02

Without openresolv as a mandatory dependency the script would spit out errors and risk most users' privacy by default so I don't want to make it optional.

Th30 commented on 2021-12-09 16:47

Thanks a lot for the modification :) I have one last request: can you put the 'openresolv' package as an optional dependency? I'm chattr the resolv.conf file, so the package is useless for me. Regards.

phirecc commented on 2021-12-09 00:17

@Th30 done

Th30 commented on 2021-11-15 02:12

Hi @phirecc, I saw that you made an abbreviation of some countries. Unfortunately not all countries have this modification. Can you add all countries under ISO 3166-2? Thanks.

chrisjbillington commented on 2021-11-15 00:21

Thank you @phirecc, much appreciated! Can confirm the fix works for me.

phirecc commented on 2021-11-15 00:17

Thanks for the report. I'll look into maybe allowing registrations or OAuth logins on the Gitea instance so this page doesn't get filled with packaging unrelated problems.

I fixed the issue with Ukraine's servers and added country shortcuts for US, UK and UAE, so wgnord c uk now gets you UK servers.

chrisjbillington commented on 2021-11-14 11:35

Submitting a bug report here since the upstream repo doesn't allow registration. I get the following connecting for some countries (was actually trying to connect to the United Kingdom but that's neither here nor there):

$ sudo wgnord c uk
Finding best server...
Connecting to (Ukraine #60)...
[#] ip link add wgnord type wireguard
[#] wg setconf wgnord /dev/fd/63
Key is not the correct length or format: `null'
Configuration parsing error
[#] ip link delete dev wgnord

This stems from the fact that this line in wgnord (line 69 for me)

    server_pubkey="$(echo "$recommendations" | jq -j '.[0] | .technologies[-1].metadata[0].value')"

assumes (I think) that the "technologies" array is sorted by the "id" key. For Ukraine, the desired element is in the middle somewhere rather than at the end:

"technologies": [
            {"id": 1, "metadata": [], "pivot": {"status": "online"}},
            {"id": 3, "metadata": [], "pivot": {"status": "online"}},
            {"id": 5, "metadata": [], "pivot": {"status": "online"}},
                "id": 35,
                "metadata": [
                        "name": "public_key",
                        "value": "/640mkYRFIU6R+CHw/TGGmedtWz3BwcIeHBYT+ulnGo=",
                "pivot": {"status": "online"},
            {"id": 21, "metadata": [], "pivot": {"status": "online"}},
            {"id": 23, "metadata": [], "pivot": {"status": "online"}},

This results in null being written to the config file for the server public key and the resulting parsing error.

Assuming that id==35 the element we want, this line gets the right one:

server_pubkey="$(echo "$recommendations" | jq -j '.[0] | .technologies[] | select(.id==35) |.metadata[0].value')"

phirecc commented on 2021-11-07 00:16

Added, thanks

chrisjbillington commented on 2021-11-06 23:00


Another suggestion: since the latest version of wgnord sets DNS by default, the package should depend on openresolv. openresolv is an optional dependency of wireguard-tools, but since wgnord uses that functionality by default, it should depend on it directly.