- 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
- NordVPN on Linux
- Installing NordVPN On Linux
- 1. Visit NordVPN and download the app from their downloads page
- 2. Open your Linux terminal and install the NordVPN repo:
- 3. Update the package list
- 4. Finally, install NordVPN and authenticate
- Accessing NordVPN On Linux Settings
- NordVPN On Linux Commands
- Why Use NordVPN With Linux?
- Загрузите NordVPN для Linux
- Получите NordVPN для всех ваших устройств
- Быстрая загрузка и просмотр страниц
- Работайте в сети на максимальной скорости
- Простая установка
- Подключайтесь мгновенно
- Пользуйтесь без хлопот
- Абсолютная безопасность для вашего компьютера Linux
- Преимущества сложного шифрования
- Безопасность в любое время
- Блокировка вредоносных ПО
- Дополнительные функции, которые вам понравятся
- Автодополнение
- Протоколы TCP/UDP
- До 6 устройств
- Подключите NordVPN для Linux за 4 простых шага
- 1. Получите установочный пакет NordVPN .deb
- 2. Установите репозиторий NordVPN
- 3. Обновите список пакета apt-get
- 4. Установите NordVPN
- Вопросы и ответы
- Как настроить VPN в Linux?
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.
Источник
NordVPN on Linux
Last Updated: June 24, 2019
NordVPN is finally available on Linux so it’s time to get it going. Let’s take a look at how you can do that.
In August 2018, NordVPN finally launched their native NordVPN Linux app. This now makes it easier than ever to install the top-tier NordVPN app on your Linux-based machine, regardless of whether you are using Ubuntu, Debian, or another distro.
Prior to this, those who wanted to install NordVPN on Linux had to go through a roundabout process of configuring NordVPN and OpenVPN independently. For those who aren’t particularly tech savvy—although most Linux users are quite tech savvy—this was an irritating and time-consuming process.
Now, it is easier than ever to get NordVPN on Linux with just a few clicks of a mouse and some command lines.
Installing NordVPN On Linux
For the best experience, it is recommended that you download NordVPN’s native app on your Linux device(s). With it, you will have access to the full suite of NordVPN features including CyberSec, an automatic kill switch, and the ability to switch servers and locations at will.
As a Linux user, you will probably know that installations are a little more involved, and NordVPN’s installation is no different.
Here’s how you do it.
1. Visit NordVPN and download the app from their downloads page
Alternatively, you can click this link for a direct download.
2. Open your Linux terminal and install the NordVPN repo:
Run the following command:
sudo apt-get install nordvpn-release_1.0.0_all.deb
When you do this, you will be asked to enter your machine’s root password. Once you have done this, wait for the package installation to finish and then update it.
3. Update the package list
You do this by running the command:
sudo apt-get update
4. Finally, install NordVPN and authenticate
Run the command:
sudo apt-get install nordvpn
and then log in to your NordVPN account using your authentication details—email address and password.
To connect to a NordVPN server, simply type:
in your Linux terminal.
Accessing NordVPN On Linux Settings
Because NordVPN on Linux is entirely terminal based (there is no graphical interface), you must run commands to access settings and other features.
Simply type nordvpn in your terminalto access NordVPN’s client settings. You can then run a whole range of different commands.
NordVPN On Linux Commands
This is the full list of commands available for NordVPN on Linux.
nordvpn login
nordvpn logout
nordvpn help—see the list of commands
nordvpn settings—view your current settings
nordvpn status—view current connection information
nordvpn countries—see the list of available countries
nordvpn cities-—see the list of available cities
nordvpn groups—see a list of available server groups
nordvpn c—connect to a random NordVPN server
nordvpn c —connect to a chosen NordVPN server
nordvpn d—disconnect from NordVPN
nordvpn s—set a configuration
nordvpn s cybersec on/off
nordvpn s killswitch on/off
nordvpn s autoconnect on/off
nordvpn s protocol tcp/udp
nordvpn s obfuscate on/off
nordvpn whitelist add port 22—open incoming port 22
nordvpn whitelist remove port 22-—close incoming port 22
Why Use NordVPN With Linux?
NordVPN provides a line of defense between you and the internet. We have written extensively on this topic and we highly recommend reading our comprehensive NordVPN review to find out not only how you can use NordVPN on Linux (and any other device or OS for that matter), but why NordVPN is the best choice.
As hackers get smarter, governments step up their monitoring, and attacks become harder to spot, having a VPN is no longer an option—it’s a necessity. You need to be using one for all your internet activities, especially on public networks if you value your privacy.
Источник
Загрузите NordVPN для Linux
Работайте в Linux в полной безопасности и на максимальной скорости с самым быстрым на планете VPN для Linux
Безопасный VPN-клиент для aarch64, armv5, armv7, i386 и x86_64. Минимальная версия ядра: 3.7.0 для aarch64 и 3.2.0 для других архитектур
Просто переключайтесь между протоколами шифрования
Установите пакет .rpm и работайте в своем любимом дистрибутиве Linux
Получите NordVPN для всех ваших устройств
Быстрая загрузка и просмотр страниц
Работайте в сети на максимальной скорости
Наш быстрый протокол NordLynx был впервые разработан для Linux. Безопасное использование Интернета, потоковая передача или игры без снижения скорости.
Простая установка
Нет ничего проще, чем начать работу с NordVPN для Linux. Установите приложение, введите свои данные для входа, выберите сервер — вот и все!
Подключайтесь мгновенно
Скройте свою идентификацию в интернете в кратчайшие сроки — просто введите команду nordvpn connect, и специальный алгоритм свяжет вас с лучшим сервером, доступным на данный момент.
Пользуйтесь без хлопот
Никакой отвлекающей графики, только мощь ваших команд. Подключение к серверам, список стран или переключение протоколов — все выполняется в командной строке.
Абсолютная безопасность для вашего компьютера Linux
Преимущества сложного шифрования
NordVPN защищает ваши конфиденциальные данные с помощью шифрования следующего поколения, поэтому все, что вы делаете в Интернете, остается безопасным и конфиденциальным.
Безопасность в любое время
Если ваше VPN-соединение разрывается, инструмент Kill Switch блокирует интернет-доступ вашего компьютера за пределами зашифрованного туннеля VPN.
Блокировка вредоносных ПО
Функция CyberSec защищает вас от вредоносного ПО и других кибер-угроз.
Дополнительные функции, которые вам понравятся
Автодополнение
Виджеты автоматического дополнения, которые делают работу с VPN еще проще, предлагая дополненные варианты по мере набора команды.
Протоколы TCP/UDP
Простое переключение между интернет-протоколами в зависимости от ваших требований к скорости подключения (UDP) и к уровню безопасности (TCP).
До 6 устройств
Подключите до 6 устройств одновременно с помощью одного аккаунта NordVPN. Работает на платформах Linux, Windows, macOS, iOS и Android.
Подключите NordVPN для Linux за 4 простых шага
1. Получите установочный пакет NordVPN .deb
Загрузите файл здесь или в верхней части страницы.
2. Установите репозиторий NordVPN
Откройте терминал и выполните следующую команду: sudo apt-get install nordvpn-release_1.0.0_all.deb
3. Обновите список пакета apt-get
Введите команду: sudo apt-get update
4. Установите NordVPN
Почти все! Введите последнюю команду для установки NordVPN: sudo apt-get install nordvpn
Нужна помощь? В Центре поддержки есть дополнительная информация и пошаговые инструкции по настройке NordVPN в Debian.
Вопросы и ответы
Как настроить VPN в Linux?
1. Нажмите на большую синюю Скачать кнопку вверху и загрузите установщик (nordvpn-release_1.0.0_all.deb).
2. Откройте терминал и выполните следующую команду:
sudo dpkg -i /pathToFile/nordvpn-release_1.0.0_all.deb
3. Замените /pathToFile/ местоположением загруженной программы установки NordVPN (например, если она находится в папке Downloads (Загрузки), команда будет выглядеть так:
sudo dpkg -i
4. Введите пароль суперпользователя и дождитесь окончания установки.
5. Обновите список пакета:
sudo apt update (or sudo apt-get update)
sudo apt upgrade (or sudo apt-get upgrade)
6. Установите приложение NordVPN:
sudo apt install nordvpn (or sudo apt-get install nordvpn)
7. Выполните вход в свой аккаунт NordVPN:
nordvpn login
8. Подключитесь к серверу NordVPN:
nordvpn connect
Источник