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:
To add your own device, just enable Meshnet on that device. See Using Meshnet on Linux for details.
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.
Start routing traffic
To start routing traffic on Linux, follow these steps:
Open Terminal.
Run the following command to list your Meshnet peer devices:
Note the Nord name of the host device you want to route traffic through.
Run the following command, replacing
<device>
with the device’s Nord name or Meshnet IP.Example
Tip
If you get a message that the peer does not allow traffic routing, ensure that the peer device is active and has granted your device the traffic routing permissions.
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:
Example
Stop routing traffic
To stop traffic routing, run one of the following commands in the terminal:
Last updated