Search
K
Links

Routing traffic from Linux

Learn how to handle Meshnet's traffic routing feature on Linux.

Before you begin

To start using traffic routing, make sure that the device you want to route traffic through meets the following criteria:
  • The NordVPN app is running, and the Meshnet feature is enabled in the app.
  • The device is connected to your Meshnet.
  • The Traffic routing through your device permission is granted for your client device. To learn more, see Traffic routing permissions.
Note
You can add devices to your Meshnet in two ways, depending on device ownership:

Start routing traffic

To start routing traffic on Linux, follow these steps:
  1. 1.
    Open the terminal.
  2. 2.
    Run the following command to list your Meshnet peers:
    nordvpn meshnet peer list
  3. 3.
    Note the Nord name of the host device you want to route traffic through.
    Nord name of a Meshnet peer device highlighted.
  4. 4.
    Run the following command, replacing <device> with the device’s Nord name or Meshnet IP.
    nordvpn meshnet peer connect <device>
    Example
    Terminal output showing successful connection to a Meshnet peer device.
Tip
To find your peer's Nord name faster, start typing the name and press Tab. The system will auto-complete the name based on matching peers.

Verify the connection status

You can check the connection status by using this command:
nordvpn status
Example

Stop routing traffic

To stop traffic routing, run one of the following commands in the terminal:
nordvpn disconnect
nordvpn d
© 2023 Nord Security. All Rights Reserved.