- Arch Linux User Repository
- Search Criteria
- Package Details: nordvpn-bin 3.11.0_1-1
- Package Actions
- Dependencies (1)
- Required by (7)
- Sources (4)
- Pinned Comments
- Martoko commented on 2020-12-20 09:10
- Latest Comments
- cgundogan commented on 2021-10-01 12:35
- archtefo commented on 2021-09-30 14:04
- rok.lesjak commented on 2021-09-30 04:56
- archtefo commented on 2021-09-30 00:32
- Oceanarium commented on 2021-09-29 10:18
- esdaniel commented on 2021-09-16 15:32
- Th30 commented on 2021-09-16 04:10
- iZiboi commented on 2021-09-12 08:50
- mmt84 commented on 2021-09-11 15:45
- P31314 commented on 2021-09-11 13:46
- NordVPN
- Contents
- Create Account
- Installation
- Systemd service
- Configuration
- Login/Logout
- Enable NordLynx (Wireguard)
- Connect to VPN
- Settings
- Server List
- Alternative Method : connecting to NordVPN using NetworkManager
- Installation
- Configuration
- Avoid DNS leak
- Automatic connection to the VPN
- Disable ipv6
- Use a killswitch
- Test your configuration
- Troubleshooting
- No Internet after connection
- No Internet after disconnection
- Trouble connecting over terminal
- Random disconnect on terminal
- How can I connect to NordVPN using Linux Terminal?
Arch Linux User Repository
Search Criteria
Package Details: nordvpn-bin 3.11.0_1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/nordvpn-bin.git (read-only, click to copy) |
---|---|
Package Base: | nordvpn-bin |
Description: | NordVPN CLI tool for Linux |
Upstream URL: | https://nordvpn.com/download/linux/ |
Keywords: | networking nordvpn openvpn security vpn |
Licenses: | custom |
Conflicts: | openvpn-nordvpn |
Provides: | nordvpn |
Submitter: | metiis |
Maintainer: | metiis (Martoko, bubuntux) |
Last Packager: | Martoko |
Votes: | 117 |
Popularity: | 3.02 |
First Submitted: | 2018-08-29 12:13 |
Last Updated: | 2021-09-29 17:01 |
Dependencies (1)
Required by (7)
Sources (4)
Pinned Comments
Martoko commented on 2020-12-20 09:10
If you’re seeing the message «Daemon is unreachable, is systemd running?», then one of two things is probably happening.
The nordvpn daemon might not be started
Start it using:
sudo systemctl enable —now nordvpnd
You might not have been added to the nordvpn group
Add yourself:
sudo gpasswd -a USERNAME nordvpn
And then restart in order for the group to be created:
reboot
Latest Comments
cgundogan commented on 2021-10-01 12:35
Is anyone else seeing this problem in the logs when starting nordvpnd ?
json: cannot unmarshal string into Go struct field AutoConnectData.auto_connect_data.protocol of type config.Protocol
I removed the package and deleted everything in /var/lib/nordvpn , then reinstalled. After specifically saying nordvpn logout and nordvpn login , everything works fine again.
archtefo commented on 2021-09-30 14:04
@rok.lesjak, yes, I’ve used NetworkManager in the past, althoug since recent updates of KDE in Arch it stopped working for me (https://bbs.archlinux.org/viewtopic.php?pid=1983132) so I’m stuck with the proprietary client. Thanks!
rok.lesjak commented on 2021-09-30 04:56
I’m connecting to NordVPN with NetworkManager, it works great.
archtefo commented on 2021-09-30 00:32
Version 3.11.0_1-1 is not working for me. It is showing this error: «It seems there’s an issue with the config file. If the issue persists, please contact our customer support.» Even if I correct «warning: directory permissions differ on /var/lib/nordvpn/data/». Had to downgrade to 3.10.0-1 (working fine so far).
Edit: since today, version 3.10.0-1 is presenting issues: it gives me errors about my account data or expiration. After several attemps it is working for now.
Oceanarium commented on 2021-09-29 10:18
Hello I’ve been getting «Wired Ethernet: Connected to Wired connection 1 (limited connectivity)» for 6+ months whenever I connect to any server within the app. This happens no matter which technology I use, or which type of server (group). I thought there was a bug so I’ve been waiting for a fix. It has been happening to me on both Manjaro and vanilla Arch linux. How could this be fixed?
esdaniel commented on 2021-09-16 15:32
@Th30 choice is good, I’m happy here for now but will check out wgnord thread from time to time to see how it progresses. Thanks for the info.
Th30 commented on 2021-09-16 04:10
After many problems with this package, I opted for wgnord.
iZiboi commented on 2021-09-12 08:50
@mmt84 I have set protocol UDP still doesn’t work
mmt84 commented on 2021-09-11 15:45
You should try changing the protocol you use. It may or may not solve your problem.
nordvpn set technology NordLynx/OpenVPN nordvpn set protocol UDP/TCP
P31314 commented on 2021-09-11 13:46
Heyho, I am at an airport and I get «We were not able to fetch your account data. Please check your internet connection and try again. If the issue persists, please contact our customer support.» someone an idea where the problem could lay? even if it is just for tthe next time
Copyright © 2004-2021 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
Источник
NordVPN
NordVPN is a personal virtual private network service provider. NordVPN is based in Panama. The country has no mandatory data retention laws and does not participate in the Five Eyes or Fourteen Eyes alliances. On Linux, Nordvpn operates through a command-line tool.
Contents
Create Account
In order to use NordVPN, you must create your own account on the official NordVPN website. https://nordvpn.com
There are different payment options to choose.
Installation
NordVPN can be installed with the package nordvpn-bin AUR .
Below is a bash command sequence that can be used to configure your environment for use with the package:
Systemd service
In order to use NordVPN. You must enable and start the nordvpnd system service.
Configuration
Here are many different commands to use NordVPN.
Login/Logout
Logs you in to your NordVPN Account.
Logs you out from your NordVPN Account.
Enable NordLynx (Wireguard)
NordVPN has introduced NordLynx technology which is based on WireGuard protocol. Compared to default OpenVPN technology, Wireguard provides lower latency, higher speeds and better connection stability. Due to the nature of Wireguard’s user identification, NordVPN has introduced NordLynx, which implements a double-NAT protocol on top of Wireguard to supplement increased privacy as well.
Enable it with the below command:
To see all available technologies:
Connect to VPN
Connect you to VPN.
Disconnect you from VPN.
Shows the connection status.
Settings
Sets the protocol.
Enables or disables Kill Switch. This security feature blocks your device from accessing the Internet outside the secure VPN tunnel, in case connection with a VPN server is lost.
Enables or disables CyberSec. 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 information on how it works: https://nordvpn.com/features/cybersec/.
Enables or disables auto connect. When enabled, this feature will automatically try to connect to VPN on operating system startup.
Sets DNS servers.
Adds or removes option from whitelist.
Shows the current settings.
Server List
Shows the country list.
Shows the city list.
Alternative Method : connecting to NordVPN using NetworkManager
Installation
2. Choose an appropriate server using the NordVPN servers page : https://nordvpn.com/servers/ Download the corresponding openvpn configuration file on the NordVPN site : https://nordvpn.com/ovpn/ Save the file to a place in your user home directory or elsewhere that is memorable for future access.
Configuration
1. Right click on the NetworkManager applet from your desktop environment, and click Edit Connections. Click the Plus sign in the bottom left corner of the Network Connections window that appears.
2. When you choose a connection type, click the drop down menu and scroll all the way down until you reach «Import a saved VPN configuration». Select that option. Now, click Create.
3. Navigate to the directory you extracted all of the openvpn files to earlier, then open one of the files from that folder. Generally speaking, you will want to open the file that is associated with the connection you specifically want.
4. After you have opened one of the openvpn files, the window that appears should be «Editing «. Type in your NordVPN Username and Password. There is an icon in the password box indicating user permission of the credentials; change the settings as you wish («Save for all users» if you do not want to enter your password every time you connect).
Avoid DNS leak
To prevent DNS leak you must :
1. click on the «ipv4 settings»
2. On method : choose «automatic adresses only (VPN)» and manually enter the NordVPN DNS adresses in «DNS servers» : «103.86.96.100, 103.86.99.100» (Separated by a coma)
3. Click Save at the bottom left of the «Editing » window.
Automatic connection to the VPN
1. Right click on the NetworkManager applet from your desktop environment, and click Edit Connections.
2. Double click on the ethernet or Wifi connection for whom you want to automatically connect to the VPN
3. On the «General» tab, click on «Automatically connect to VPN when using this connection» in every connection you want, and choosing the right configuration file.
4. Repeat the operation for the other connections you will use with the VPN.
Disable ipv6
NordVPN is not ipv6 compatible. You may want to completely disable it.
Or you can also :
1. Right click on the NetworkManager applet from your desktop environment, and click Edit Connections.
2. Double click on the ethernet or Wifi connection for whom you want to automatically connect to the VPN
3. On the «ipv6» tab, choose «ignore» in the method box.
Use a killswitch
The NordVPN killswitch will not work with this method, you will have to create your own using ufw or iptables.
Test your configuration
You can use these site :
Troubleshooting
No Internet after connection
If the network is blocking all the VPN protocols including the proxy connections, connection attempts might fail. Try changing the protocol (e. g. to TCP), using obfuscated servers or the NordLynx protocol.
Note that the list of countries where such servers are installed is much shorter.
Alternatively, there may be a conflict with your local network’s subnet, e.g.:
To deal with this, whitelist your network’s subnet using, e.g.:
No Internet after disconnection
After disconnecting via nordvpn d , there might no internet on the computer, but pinging (something like ping 8.8.8.8 ) would still be successful. It is most likely a DNS issue: upon connection to the servers, the local DNS is being overwritten with NordVPN’s DNS to ensure a secure connection to the server. After disconnecting, the DNS is removed, which might be causing problems.
Restarting the network manager should help:
Trouble connecting over terminal
If you are having trouble connecting over the terminal and get errors connecting you need to whitelist your subnet and open a port on NordVPN. Open a terminal and check what subnets you have.
The second subnet (10.0.0.0/8) is the subnet that we want to whitelist in NordVPN and you can do it with the following command :
If you wish to blacklist the subnet again just run the following command :
The port 22 is the port that is needed for NordVPN to work, you can open it with the following command :
If you wish to blacklist the port again just run the following command :
Random disconnect on terminal
If you get randomly disconnected from NordVPN on the terminal and it will not let you reconnect, just disable and re-enable the killswitch :
Most of the time it will not connect with the killswitch off, the linux app for NordVPN is very buggy currently.
Источник
How can I connect to NordVPN using Linux Terminal?
If you are looking for instructions on how to set up the NordVPN application for Linux, check this article.
Please note that since Linux has a lot of different distributions, the configuration interfaces may vary.
- Open Terminal (keyboard shortcut: Ctrl + Alt + T).
- Disable IPV6.Click here to learn how.
- Only after disabling IPV6, install the OpenVPN client by entering:
- sudo apt-get install openvpn
You may be asked to enter your user password to confirm your identity.
- cd /etc/openvpn
- sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
In case you get ERROR: The certificate of `nordvpn.com’ is not trusted., install the ca-certificates package with the command:
- sudo apt-get install ca-certificates
- sudo apt-get install unzip
- sudo unzip ovpn.zip
- sudo rm ovpn.zip
- cd /etc/openvpn/ovpn_udp/
- cd /etc/openvpn/ovpn_tcp/
- ls -al
For this tutorial, we used us2957.nordvpn.com, but you should connect to the server suggested to you at https://nordvpn.com/servers/tools/. You can find the server hostname right under the server title.
- sudo openvpn [file name]
- sudo openvpn us2957.nordvpn.com.udp.ovpn
- sudo openvpn /etc/openvpn/ovpn_udp/us2957.nordvpn.com.udp.ovpn
You can find your NordVPN service credentials in the Nord Account dashboard. Copy the credentials using the Copy buttons on the right.
Tip: Your VPN connection safety depends on your account password too. Don’t forget to use a strong password on your account, as it will help you to avoid credential stuffing attacks and will keep your connections safe and uninterrupted.
As generating and remembering strong and secure passwords is not an easy task, we recommend downloading our free password manager — NordPass. It generates secure passwords for you and stores them safely, letting you avoid time-wasting password resets in the future.
Источник