# Traffic routing permissions

## Introduction <a href="#introduction" id="introduction"></a>

This article covers Meshnet’s traffic routing permission, how the feature works, and its limitations. Additionally, the article describes how to configure the traffic routing permission for each individual peer device in your Meshnet.

## Permission basics <a href="#permission-overview" id="permission-overview"></a>

The traffic routing feature allows you to route internet traffic through compatible devices on your Meshnet. Traffic routing is only possible through Meshnet devices running on:

* Windows
* Linux
* macOS (if you're using the [direct download](https://nordvpn.com/download/mac/) version of NordVPN)

For guidance on using traffic routing, see [Routing traffic in Meshnet](https://meshnet.nordvpn.com/features/routing-traffic-in-meshnet).

### What happens when traffic routing is enabled? <a href="#what-happens-when-traffic-routing-is-enabled" id="what-happens-when-traffic-routing-is-enabled"></a>

When the traffic routing permission is enabled, your Meshnet peers are allowed to route their internet traffic through your device. In essence, your device can act as a VPN server for your fellow users.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEJYYJ8u6S1hNj3Z1tT3O%2Fmeshnet-scheme-traffic-routing.svg?alt=media&#x26;token=9eef57b6-16ab-4b52-a9d3-c868393a8fdc" alt="Diagram showing a mobile phone routing traffic through a home computer."><figcaption><p>Figure 1. Traffic routing flow</p></figcaption></figure>

As illustrated in Figure 1, a mobile device routes traffic via a home computer and accesses the internet using the PC's public IP.

{% hint style="warning" %}
**Caution**

Use traffic routing only with trusted devices to avoid potential misuse, as your browsing activity can be monitored on the device you are routing through.
{% endhint %}

### What happens when traffic routing is disabled? <a href="#what-happens-when-traffic-routing-is-disabled" id="what-happens-when-traffic-routing-is-disabled"></a>

With the traffic routing permission disabled, the peer cannot route their internet traffic through your device. Also, your device does not appear in the list of available host devices for traffic routing, even if it is capable of acting as a host.

### Icon reference table

If you want to change the status of the traffic routing permission, you can do so for each device individually. You can also check whether your peer has enabled or disabled the permission for your device.

<table><thead><tr><th width="100" align="center">Icon</th><th>State</th><th>Impact</th></tr></thead><tbody><tr><td align="center"><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fdk1cIEOkXX1RTWI4h9cA%2Frouting_on_dark.png?alt=media&#x26;token=811202dc-4bf2-4dea-aaf4-0e28fa0e8ab0" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FVH9j2NTjFgf82ARmEJ3O%2Frouting_on.png?alt=media&#x26;token=44ca825c-335b-4787-962c-6a24a7ee3cd8" alt="Traffic routing permission icon with two arrows"></picture></td><td>Traffic routing is enabled for your device and the linked device.</td><td><ul><li>Your device can route traffic through the peer device.</li><li>The peer device can route traffic through your device.</li></ul></td></tr><tr><td align="center"><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fk9o3AmzyTQnv4FvkaOfn%2Frouting_in_dark.png?alt=media&#x26;token=1ec7c1d3-2c39-4190-ab1d-4052f0ccb4f6" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FqYUbtZlNUplb0zH59P9j%2Frouting_in.png?alt=media&#x26;token=c1dab4d0-7349-4dd2-bfdf-0cfbea1c545e" alt="Traffic routing permission icon with one arrow pointing inward"></picture></td><td>Traffic routing is enabled for your device.</td><td><ul><li>Your device cannot route traffic through the peer device.</li><li>The peer device can route traffic through your device.</li></ul></td></tr><tr><td align="center"><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FzYfl6F1c7lZFe9fflQBm%2Frouting_out_dark.png?alt=media&#x26;token=3e8aa71a-7709-4c9f-9725-c1633255c7b8" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FacF1okr9qIjuqySSPaED%2Frouting_out.png?alt=media&#x26;token=e4ea30e9-f509-445e-8c3f-cda8dbde2e5e" alt="Traffic routing permission icon with one arrow pointing outward"></picture></td><td>Traffic routing is enabled for the linked device.</td><td><ul><li>Your device can route traffic through the peer device.</li><li>The peer device cannot route traffic through your device.</li></ul></td></tr><tr><td align="center"><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FMZnPf75xL2p2EDi7SaoS%2Frouting_off_dark.png?alt=media&#x26;token=65502e26-7e49-49f1-924f-5b0ffebbf74e" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FoKKku3gLkBX4OPuatIy6%2Frouting_off.png?alt=media&#x26;token=4ece4082-33be-4860-8fb6-4240de6b3247" alt="Traffic routing permission icon with an x symbol"></picture></td><td>Traffic routing is disabled.</td><td><ul><li>Your device cannot route traffic through the peer device.</li><li>The peer device cannot route traffic through your device.</li></ul></td></tr></tbody></table>

## Changing permissions <a href="#changing-permissions" id="changing-permissions"></a>

If you want to change the status of the traffic routing permission, you can do so for each device individually. You can also check whether your peer has enabled or disabled the permission for your device.

To manage the traffic routing permission, proceed with the following instructions:

{% tabs %}
{% tab title="Windows" %}

1. Open the NordVPN app. [Log in](https://my.nordaccount.com/) if necessary.
2. From the left-side menu, select **Devices in Meshnet** <img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FyNPGbeTmyQ5agRdyJD19%2Ficon_meshnet_blue.svg?alt=media&#x26;token=478d08e6-81b2-4acc-af45-46579f95599e" alt="" data-size="line">.
3. Next to the device that you want to alter the permissions for, click the three-dot menu and select **Manage device**.

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEBlAeNIWAh0t3CnFstbH%2Fwin_manage_device_button_dark.png?alt=media&#x26;token=e9500f3e-689d-4a09-8030-1604419c6fb6" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FZCu8JQ5JBRD5CCcUsz3t%2Fwin_manage_device_button.png?alt=media&#x26;token=53caf5e5-df83-44d1-b9d1-71b7655ea123" alt="Selecting &#x22;Manage device&#x22; from the three-dot menu."></picture><figcaption></figcaption></figure>

   &#x20;
4. Under **Traffic routing permissions**, turn on or off the **Traffic routing through your device** toggle.&#x20;

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FJda2kWEgGDbQxtbnwBh6%2Fwin_traffic_routing_dark.png?alt=media&#x26;token=5e10ebb8-455d-4116-957f-26cd505be9cf" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fh6oBWAiBQdZYClJnVbBu%2Fwin_traffic_routing.png?alt=media&#x26;token=4f3e6fd2-5410-45b5-baef-7b0b6523bac5" alt="Turning on Traffic routing through your device"></picture><figcaption></figcaption></figure></div>

{% endtab %}

{% tab title="macOS" %}

1. Open the NordVPN app. [Log in](https://my.nordaccount.com/) if necessary.
2. From the left-side menu, select **Meshnet** <img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FyNPGbeTmyQ5agRdyJD19%2Ficon_meshnet_blue.svg?alt=media&#x26;token=478d08e6-81b2-4acc-af45-46579f95599e" alt="" data-size="line">.
3. Click the **More** <img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FFEbtqv2YQL7cmH2Rrv9b%2Ficon_meshnet_more_blue.svg?alt=media&#x26;token=11f0a3bf-162c-49cd-88cb-76d5519a486a" alt="" data-size="line"> button next to the device that you want to alter the permissions for.
4. Select the **Don't allow traffic routing through your device** or the **Allow traffic routing through your device** option.&#x20;

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FJkl3XIOQOSuuCpaVMSHB%2Fmac_permission_routing_dark.png?alt=media&#x26;token=83d2aa6a-59c6-41da-a6d6-34697f2fabde" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FeSMqD8N0Q4q9Sp1e5kE2%2Fmac_permission_routing.png?alt=media&#x26;token=a42eaade-522a-47d5-8248-0cc494840132" alt="Revoking the &#x22;Traffic routing through your device&#x22; permission."></picture><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note**

If you're using the App Store version of the app, the traffic routing permission will not be visible because this version does not support traffic routing.
{% endhint %}
{% endtab %}

{% tab title=" Linux" %}

1. Open the terminal.
2. Run the following command to list all of your Meshnet peers:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet peer list
   </code></pre>

   &#x20;
3. Note the Nord name of the peer you want to alter permissions for.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Flu7jFRKTlldabekqtXkg%2Flinux_peer_name_himalayas.png?alt=media&#x26;token=1cfabc26-9741-44b9-b170-50b24e9f0d8b" alt="Peer device&#x27;s Nord name highlighted in Terminal."><figcaption></figcaption></figure></div>

   &#x20;
4. To either allow or disable the permission, use one of the following commands, replacing `<device>` with the peer’s Nord name, nickname, or Meshnet IP:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet peer routing allow &#x3C;device>
   nordvpn meshnet peer routing deny &#x3C;device>
   </code></pre>

{% hint style="success" %}
**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.
{% endhint %}
{% endtab %}
{% endtabs %}

## See also

* [Local network permissions](https://meshnet.nordvpn.com/features/explaining-permissions/local-network-permissions)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://meshnet.nordvpn.com/features/explaining-permissions/traffic-routing-permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
