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.
- The Traffic routing through your device permission is granted for your client device. To learn more, see Traffic routing permissions.
You can add devices to your Meshnet in two ways, depending on device ownership:
- To add an external device, send an invitation via the NordVPN app with the owner's email. Ensure the invitation is accepted. See Adding external Meshnet devices on Linux.
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
<NordName>with the device’s Nord name or Meshnet IP.nordvpn meshnet peer connect <NordName>Example
You can also check the connection status by using this command:
To stop traffic routing, run one of the following commands in the terminal: