Nordvpn настройка для linux

Installing and using NordVPN on openSUSE Linux

This tutorial explains how to download and install the NordVPN app on openSUSE distribution, login, and connect to our servers. You can also find an explanation of various settings.

1. Download the NordVPN Linux client by opening the terminal, writing the command below, and following any on-screen instructions:

sh Note: If you do not have a curl package, evidenced by the fact that the above does not work, you can alternatively use this command:
sh https://downloads.nordcdn.com/apps/linux/install.sh)

Additionally, if you receive the following issue: Whoops! Permission denied accessing /run/nordvpn/nordvpnd.sock, all you need to do is write the following command: sudo usermod -aG nordvpn $USER and then reboot your device.

2. Log in to your NordVPN account:

nordvpn login

3. Connect to a NordVPN server:

nordvpn connect

To access the NordVPN client settings, type the nordvpn command in a Terminal.

Here is the list of available commands:

nordvpn login — Log in.
nordvpn connect or nordvpn c — Connect to VPN. To connect to specific servers, use nordvpn connect
(eg. nordvpn connect uk715)
nordvpn disconnect or nordvpn d — Disconnect from VPN.
nordvpn connect US -g double_vpn — Connect to a Double VPN server where the first hop is a specific country

nordvpn connect P2P — connect to a P2P server.
nordvpn connect The_Americas — connect to servers located in the Americas.
nordvpn connect Dedicated_IP — connect to a Dedicated IP server.

nordvpn set or nordvpn s — Set a configuration option. Possible options:
nordvpn set cybersec on or off — Enable or disable CyberSec
nordvpn set killswitch on or off — Enable or disable Kill Switch
nordvpn set autoconnect on or off — Enable or disable Autoconnect. You can set a specific server for automatic connection using nordvpn set autoconnect on country_code+server_number. Example: nordvpn set autoconnect on us2435.
nordvpn set dns 1.1.1.1 1.0.0.1 — Set custom DNS (you can set up a single DNS or two like shown in this command).
nordvpn set autoconnect on or off — Enable or disable Auto connect.
nordvpn set protocol udp or tcp — Switch between UDP and TCP protocols
nordvpn set obfuscate on or off — Enable or disable Obfuscated Servers.

nordvpn whitelist add port 22 — Open incoming port 22 (the port number can be different)
nordvpn whitelist remove port 22 — Remove the rule added with the above command
nordvpn whitelist add subnet 192.168.0.0/16 — Add a rule to whitelist your specified subnet.
nordvpn whitelist remove subnet 192.168.0.0/16 — Remove a rule to whitelist your specified subnet.

nordvpn settings — See the current settings.
nordvpn status — See the connection status.
nordvpn countries — See the country list.
nordvpn cities — See the city list. E.g.: nordvpn cities united_states
nordvpn groups — See a list of available server groups.
nordvpn logout — Log out.
nordvpn help or nordvpn h — See the list of commands or help for one command.

You can see the full list of commands by using man nordvpn command in a terminal.

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.

Источник

Connect to NordVPN using Linux Terminal

Please note that since Linux has a lot of different distributions, the configuration interfaces may vary.

  1. Open Terminal (keyboard shortcut: Ctrl + Alt + T).
  2. Disable IPV6.Click here to learn how.
  3. 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.

  • Navigate to the OpenVPN configuration directory with the command:
    • cd /etc/openvpn
  • Download the OpenVPN configuration files with the command:
    • 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
  • If you do not have the unzip package installed, download it by typing:
    • sudo apt-get install unzip
  • Extract ovpn.zip with the command:
    • sudo unzip ovpn.zip
  • Remove the files you will no longer use:
    • sudo rm ovpn.zip
  • Enter the directory where the server configurations are located. These folders are named either ovpn_udp or ovpn_tcp:
    • cd /etc/openvpn/ovpn_udp/
    • cd /etc/openvpn/ovpn_tcp/
  • To see the list of all available servers, enter the following command:
    • ls -al
  • Choose a server to connect to.

    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.

  • Start OpenVPN with a chosen configuration by entering:
    • sudo openvpn [file name]
    • sudo openvpn us2957.nordvpn.com.udp.ovpn
    • sudo openvpn /etc/openvpn/ovpn_udp/us2957.nordvpn.com.udp.ovpn
  • OpenVPN will ask you for your credentials. Enter your NordVPN service credentials.

    You can find your NordVPN service credentials in the Nord Account dashboard. Copy the credentials using the Copy buttons on the right.

  • You have successfully connected to VPN. To disconnect, open Terminal and press Ctrl + C on your keyboard.
  • 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.

    Источник

    Connecting to NordVPN (Linux Network Manager)

    To connect to NordVPN using the Linux Network Manager, follow these steps:

    1. Download the OpenVPN Configuration File Package and extract them into a folder of your choice.
    2. Enter the following command to make sure that you have installed all of the available updates on your device system and OpenVPN network manager:
      sudo apt update && sudo apt full-upgrade -y && sudo apt install network-manager-openvpn-gnome -y
    3. Click on the network selection button in the upper-right corner of the screen, press “VPN off”, and select “VPN settings” from the drop-down menu.


    A configuration window will open. Press the “+” icon next to “VPN.”


    You will be prompted to choose a connection type. Select “Import from file…”


    You will be asked to select a file you would like to import. Navigate to the folder where you have extracted the configuration files, select one of the files from the list, and click «Open.»



    In the pop-up window, enter your NordVPN service username and password. Press “Add.”

    You can find your NordVPN service credentials through your Nord Account dashboard. Copy the credentials using the “Copy” buttons on the right.


    Now click on the toggle under the VPN section to connect to a NordVPN server. The toggle switch will turn green once connected.

    Because generating and remembering strong and secure passwords is not an easy task, we recommend downloading a free password manager, like NordPass. It generates secure passwords for you and stores them safely, letting you avoid time-wasting password resets in the future.

    NordPass offers native apps for Windows, macOS, Linux, Android, and iOS, so you can reach your passwords whenever and wherever you need them, even offline.

    Источник

    Installing NordVPN on RHEL and CentOS Linux

    Here you can learn how to download and install the NordVPN app on RHEL (Red-Hat Enterprise) and CentOS distributions, log in and connect to our servers using VPN for Linux. You can also find an explanation of various settings.

    Downloading the app

    1. Download the NordVPN Linux client by opening the terminal, writing the command below, and following any on-screen instructions:

    sh Note: If you do not have a curl package, evidenced by the fact that the above does not work, you can alternatively use this command:
    sh https://downloads.nordcdn.com/apps/linux/install.sh)

    Additionally, if you receive the following issue: Whoops! Permission denied accessing /run/nordvpn/nordvpnd.sock, all you need to do is write the following command: sudo usermod -aG nordvpn $USER and then reboot your device.

    2. Log in to your NordVPN account:

    nordvpn login

    3. Connect to a NordVPN server:

    nordvpn connect

    To access the NordVPN client settings, type the nordvpn command in a Terminal.

    Here is the list of available commands:

    nordvpn login — Login.
    nordvpn connect or nordvpn c — Connect to VPN. To connect to specific servers, use nordvpn connect
    (eg. nordvpn connect uk715)
    nordvpn disconnect or nordvpn d — Disconnect from VPN.

    nordvpn set or nordvpn s — Set a configuration option. Possible options:
    nordvpn set threatprotectionlite on or off — Enable or disable Threat Protection Lite.
    nordvpn set killswitch on or off — Enable or disable Kill Switch.
    nordvpn set autoconnect on or off — Enable or disable Autoconnect. You can set a specific server for automatic connection using nordvpn set autoconnect on country_code+server_number. Example: nordvpn set autoconnect on us2435.
    nordvpn set dns 1.1.1.1 1.0.0.1 — Set custom DNS (you can set up a single DNS or two like shown in this command).
    nordvpn set autoconnect on or off — Enable or disable Auto connect.
    nordvpn set protocol udp or tcp — Switch between UDP and TCP protocols
    nordvpn set obfuscate on or off — Enable or disable Obfuscated Servers.

    nordvpn whitelist add port 22 — Open incoming port 22 (the port number can be different).
    nordvpn whitelist remove port 22 — Remove the rule added with the above command.
    nordvpn whitelist add subnet 192.168.0.0/16 — Add a rule to whitelist your specified subnet.
    nordvpn whitelist remove subnet 192.168.0.0/16 — Remove a rule to whitelist your specified subnet.

    nordvpn settings — See the current settings.
    nordvpn status — See the connection status.
    nordvpn countries — See the country list.
    nordvpn cities — See the city list. E.g.: nordvpn cities united_states
    nordvpn groups — See a list of available server groups.
    nordvpn logout — Log out.
    nordvpn help or nordvpn h — See the list of commands or help for one command.

    You can see the complete list of commands by using man nordvpn command in a terminal.

    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.

    Источник

    Читайте также:  Linux эмулятор sony playstation
    КомпСовет