# Routing traffic in Meshnet

## Introduction <a href="#traffic-routing-functionality" id="traffic-routing-functionality"></a>

In today's shrinking world, remote work is becoming more popular. Having instant access to your home IP address from any place in the world can open heaps of possibilities. For example, you can access IP-restricted work or online resources from anywhere. However, the process of setting up remote access to your home IP address can take time and effort. From setting up a VPN server in your home to configuring VPN client software on your devices — the preparation process can get tiresome swiftly. With Meshnet’s traffic routing feature, you can have access to your home IP address with a click of a button.

Alternatively, you can have a [virtual private server](https://nordvpn.com/blog/vpn-vs-vps/) (VPS) located in another country. Traffic routing allows you to gain the IP address of your VPS by routing your internet through it. This makes accessing IP-restricted or geo-restricted websites a breeze.

This article covers information about the functionality of traffic routing and includes instructions on how it can be used on all compatible operating systems.

## Traffic routing functionality <a href="#traffic-routing-functionality" id="traffic-routing-functionality"></a>

The traffic routing feature of Meshnet gives you the ability to route all of your internet traffic via a compatible peer device. When you initiate a connection to the peer device, it is established using [NordLynx ](https://nordvpn.com/blog/nordlynx-protocol-wireguard/)technology. The usage of this VPN protocol results in a fast, safe, and encrypted connection between the peer devices.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FaG5aCA5Mm9OHlViGuPlK%2Ftraffic_routing.svg?alt=media&#x26;token=0c034fc5-5b1a-461f-a76f-93a776327eca" alt="Diagram showing a mobile phone routing traffic through a home computer."><figcaption></figcaption></figure>

When routing traffic, you get assigned the public IP address of the host device and connect to the internet using it instead of your standard IP address. The host device acts as a VPN server.

The diagram above illustrates the following configuration flow:

1. A mobile device has a public IP of `185.61.156.14`.
2. Then, it routes traffic through the home computer with a public IP of `45.92.11.187`.
3. After that, it is assigned the home computer’s IP address of `45.92.11.187`.
4. Lastly, it reaches the internet using the public IP address of `45.92.11.187`.

Traffic routing is available even when the host device is connected to a VPN server. In such cases, instead of the IP address given by the internet service provider (ISP), you will be assigned the IP address of the VPN server to which the host is connected.&#x20;

Additionally, traffic routing can be chained between several devices. This means that you can route traffic through a peer device that is already routing traffic through another device.

### Local network access <a href="#local-network-access" id="local-network-access"></a>

With [local network permissions](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/explaining-permissions/local-network-permissions) enabled, traffic routing allows you to access the local network of your host device. While traffic routing is active, your device can interact with devices on the host’s LAN. You can communicate with them using their standard local IP addresses. The devices can vary from routers and cameras to network-attached storage (NAS) systems or a home server.

To reach any device on your home network, you must first know its LAN IP address. Once you have that information, you can reach it using the same methods as if your devices were physically connected to the same network.

This feature is especially useful if you want to manage your home devices while being away. All you need is a [traffic routing-capable](#hosts) device in the network. By routing traffic through this device, you can remotely manage all devices on your local subnet.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FTgJEV1azbO25Miax54ce%2Flan_on.svg?alt=media&#x26;token=cca9e6de-65ff-408b-ab77-6012d8421814" alt="Diagram illustrating access to local device while routing traffic."><figcaption></figcaption></figure>

Using the model above as an example, you can route the internet traffic from your laptop through the computer in your home network. Then, to access the web interface of the local server, enter its LAN IP address into your internet browser, as shown:

![Local IP address being entered to the URL bar of an internet browser.](https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FMPNDW21wXzTzgGAtTfRh%2Freach_web_ui.png?alt=media\&token=1ec303e0-c9e6-416e-9e3f-c6a8922f3699)

## Feature availability and device compatibility <a href="#feature-availability" id="feature-availability"></a>

The traffic routing feature is available on all devices that are compatible with Meshnet. However, due to technical limitations, not all devices allow internet traffic routing through them. This is why the devices are classified into two categories — hosts and clients.

### Hosts <a href="#hosts" id="hosts"></a>

Hosts are devices that can route traffic. Traffic routing is possible through devices running the following platforms:

* Windows 10 (64-bit) and Windows 11
* macOS Catalina 10.15 and newer (if the app was downloaded from the [NordVPN website](https://nordvpn.com/download/mac/))
* Linux

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

The App Store version of NordVPN doesn't provide the required functionality for your device to act as a traffic routing host.
{% endhint %}

Only the devices mentioned above will appear in the **Devices in Meshnet** section of the connection menu in the Windows or the macOS NordVPN app.

![Meshnet peer devices available for traffic routing on the Windows application connection menu.](https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FmQBDoKhDLglOo1mw2fUQ%2Fmeshnet_list.png?alt=media\&token=36a310f3-77ce-4b10-8e3a-6d2871252476)

On iOS and Android, the host devices are displayed in Meshnet’s **Route traffic** menu.

![Meshnet peer devices available for traffic routing in the Route traffic menu on the mobile NordVPN application.](https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fwg78n6ThxNFZlzCWOj6h%2Ftraffic_routing_screen_mobile.png?alt=media\&token=fe839c83-1cf2-4ba7-b743-61b0f8ec10a9)

### Clients <a href="#clients" id="clients"></a>

Client devices are those that rely on host devices to route traffic. Any device using Meshnet can act as a client. All of these devices are visible on the **Your devices** and **External devices** tabs of the Meshnet menu.

## See also

* For detailed guidance on starting and stopping traffic routing across different platforms, refer to these articles:
  * [Using traffic routing on Windows](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/routing-traffic-in-meshnet/traffic-routing-windows)
  * [Using traffic routing on Android](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/routing-traffic-in-meshnet/traffic-routing-android)
  * [Using traffic routing on iOS](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/routing-traffic-in-meshnet/traffic-routing-ios)
  * [Using traffic routing on macOS](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/routing-traffic-in-meshnet/traffic-routing-macos)
  * [Using traffic routing on Linux](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/features/routing-traffic-in-meshnet/traffic-routing-linux)
* For additional information on traffic routing use cases, explore the how-to guides in [Traffic routing](https://meshnet.nordvpn.com/~/changes/otYJMg7qFzDy0nWn86iM/how-to/traffic-routing).
