- Firstly you need to generate the wire-guard configuration file for the Nordvpn.
i) For that check it out in this link
https://gist.github.com/bluewalk/7b3db071c488c82c604baf76a42eaad3
And [Instruction] Config NordVPN wireguard (Nordlynx) on OpenWrt
And follow until your nordvpn is up and running in Linux PC.
ii) After that use this bash script https://drive.google.com/file/d/1ABDLbREuNCpqZcAC60Yiy37fvS9LZm1s/view?usp=drive_link
to generate that configuration file for the respective nordvpn server that you are connected to. - Go to System Software and install luci-proto-wireguard, it will also install the other related software needed to run the wireguard.
- Reboot your router.
- Now that you got the nordvpn configuration file and software installed, Head on to the router page and click on Networkinterface.
Click on add new interface it should be like this image and click create interface.
Put private and public key along with the ip addresses in the respective field.
Click in advance tab and put the MTU value to 1500.
Click on Firewall Settings tab and create a wgfirewall.
Click on peers tab and create a new peer.
Finally click save. - Now go to Network Firewall.
In zones section of firewall page, make it like this image.
Click in edit button of wgfirewall and make it like this image.
And click save.
Click in edit button of lan and make it like this image.
And click save. - That’s it for now you are all set.
Go to networkinterfaces and click Restart for the wireguard interface.
Now, your openwrt router should be running wireguard.
To verify that go to Status WireGuard and you should see the wireguard details with the handshake time.
If there is any other thing that I can do to improve the performance of the VPN. I find my internet a bit slower than the regular OVPN way.