Using traffic routing on Linux
Learn how to handle Meshnet's traffic routing feature on Linux.
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.
You can add devices to your Meshnet in two ways, depending on device ownership:
To start routing traffic on Linux, follow these steps:
- 1.Open the terminal.
- 2.Run the following command to list your Meshnet peers:nordvpn meshnet peer list
- 3.Note the Nord name of the host device you want to route traffic through.
- 4.Run the following command, replacing
<device>with the device’s Nord name or Meshnet IP.nordvpn meshnet peer connect <device>Example
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.
You can check the connection status by using this command:
To stop traffic routing, run one of the following commands in the terminal: