Joentje/nordvpn-proxy

Support for WireGuard (NordLynx)

Opened this issue · 10 comments

As NordVPN is ramping up their support for WireGuard instead of OpenVPN and even introduced their own "label" for it called NordLynx, are you planning to add support for it?

I think it is a good idea to take a look. Do you know the current state of Wireguard? As far as I know it was not audited yet.

Need to look at NordLynx though.

It's already part of the Linux kernel that came out recently The code has been reviewed several times, but the only one I read about was Linus Torvalds.
Just not sure about official or trustworthy audits.

BobWs commented

Maybe you could cherry pick some of this container. This guy has WireGuard support. But his docker container is very confusing to setup. I do like the simplicity and easy setup of your docker image.
But it could use some more setup preferences though, like e.g.:

CYBER_SEC - Enable or Disable. When enabled, the CyberSec feature will automatically block suspicious websites so that no malware or other cyber threats can infect your device. Additionally, no flashy ads will come into your sight. More

CONNECT - [country]/[server]/[country_code]/[city]/[group] or [country] [city], if none provide you will connect to the recommended server.

Provide a [country] argument to connect to a specific country. For example: Australia
Provide a [server] argument to connecto to a specific server. For example: jp35
Provide a [country_code] argument to connect to a specific country. For example: us
Provide a [city] argument to connect to a specific city. For example: 'Hungary Budapest'
Provide a [group] argument to connect to a specific servers group. For example: Onion_Over_VPN
--group value, -g value Specify a server group to connect to. For example: 'us -g p2p'

TECHNOLOGY - Specify Technology to use:

OpenVPN - Traditional connection.
NordLynx - NordVpn wireguard implementation (3x-5x times faster). NOTE: Requires --cap-add=`SYS_MODULE`

It would be nice if you could at some of his ENVIRONMENT VARIABLES

Have you had any luck with this?
I've seen a few other containers now supporting NordLynx - perhaps these can help? - https://github.com/bubuntux/nordvpn

@BobWs I totally agree. That's the goal, to keep it simple and efficient.

@bulletprooffool No, I didn't have the time to take a look at NordLynx.

@Joentje any update?

No, feel free to submit a PR :)

BobWs commented

🤪 Switched over to SurfShark...

Perhaps inspiration from this tool can help:
https://github.com/thrnz/docker-wireguard-pia

Since NordVPN does not have a port forwarding feature, something that is required for torrents, j switched to PIA. Amazingly, it automatically changes and switches to fastest server and it can configure QBittorrent port automatically. It also utilises PIA's Wireguard implementation giving me speeds of 40MB/s (320Mbit) easily.