# How to watch videos over Meshnet using Kodi

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

Media content lovers will perhaps agree that an excellent media player includes three things:

* An option to conveniently arrange files
* Having remote access to shared media folders
* A secure connection is set up among multiple user devices

However, such digital solutions can be costly, have gaps in data security, or not be supported by all operating systems. But imagine you are often on business trips or take long rides on public transport. You surely deserve a convenient way to watch your favorite videos (like a cherished wedding video) lawfully stored on your home device, without exposing your personal data and using whatever device you have at hand. Luckily, this is achievable with Kodi and NordVPN’s [Meshnet](https://nordvpn.com/meshnet/) feature.

[Kodi ](https://kodi.tv/about/)is a widely used open-source media player that supports various kinds of media — from movies and TV shows to pictures and games. It not only allows you to navigate through your locally stored media but also lets you add network locations. You can use this feature to access media files from other devices remotely.

You might wonder how Meshnet can help with that. Without Meshnet, to access devices in a remote location, you may need to go around network configuration and have port forwarding rules set up, which is not always easy or secure.

With Meshnet, your devices are linked together and exchange data via encrypted tunnels.

## How remote media access works <a href="#how-remote-media-access-works" id="how-remote-media-access-works"></a>

To remotely access media files, you need to have a host device acting as a server, which would have a shared folder set up with the media that you wish to access. After that, all other devices will be connected to the host device as clients using the Kodi media player.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F4pAHoZatlKa6OFmzmLNR%2FGroup%205843.svg?alt=media&#x26;token=e90e9432-7c8e-4523-a39f-35012a9cd519" alt="Three devices accessing a home computer from an outside network via Meshnet."><figcaption><p>Figure 1. Setup for remote media access using Kodi</p></figcaption></figure>

## Create a shared folder for storing media files <a href="#create-a-shared-folder-for-storing-media-files" id="create-a-shared-folder-for-storing-media-files"></a>

For this guide, we will be using a device with a Windows OS to set up a shared folder. However, the folder can be shared from devices with Windows, macOS, or Linux operating systems. You can follow the steps in the [How to set up and access shared folders](https://meshnet.nordvpn.com/~/changes/1En9yEoSh1cmyjIBsnEk/how-to/remote-files-media-access/set-up-folder-sharing) article to do that.

## Access shared folders using the Kodi media player <a href="#access-shared-folders-using-the-kodi-media-player" id="access-shared-folders-using-the-kodi-media-player"></a>

Once you have finished setting up the shared folder, it is time to configure the Kodi media player. For this configuration, an Android device will be used as an example. Nevertheless, the same process can be carried out on all available operating systems.

### Install Kodi <a href="#install-kodi" id="install-kodi"></a>

Download and how-to guides can be found on the official Kodi website:

* [Download and install Kodi for Android](https://kodi.tv/download/android)
* [Setup instructions](https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Android)

### Add the shared folder on Kodi[^1] <a href="#add-the-shared-folder-on-kodi" id="add-the-shared-folder-on-kodi"></a>

1. Launch the Kodi application and tap **Settings**.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FxmDuDHmKK4IMvbxj3L1o%2F1_win_done.png?alt=media&#x26;token=3ac50010-8dfa-4e38-a836-36faba8f3d95" alt="An arrow pointing to the Settings button on the main screen of the Kodi application."><figcaption></figcaption></figure></div>

2. Select **File manager** and tap **Add source**.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F9oLdYvMh4isso5wtlz5c%2F2_win.png?alt=media&#x26;token=ef002517-4c3b-4be4-a252-ea2f098f6d64" alt="Add source option highlighted in Kodi&#x27;s File manager."><figcaption></figcaption></figure></div>

3. In the new window, tap **Browse** and select **Add network location** from the list of available sources.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FVTjV7FRksk1RKINIU1Kf%2F3.png?alt=media&#x26;token=23b08a6b-f400-4ae3-be7a-1a06ad12b5b4" alt="Add network location highlighted in the list network share options."><figcaption></figcaption></figure></div>

4. Fill in the network location configuration window with the information about your shared folder.\
   \
   **Protocol**: Windows network (SMB)\
   **Server name**: Nord name or Meshnet IP of the desktop device\
   **Shared folder**: Name of the network share<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FxUrSPM7vDxIne4Nq5VUS%2F4_win.png?alt=media&#x26;token=cf22bc11-7bb5-402e-bdba-12a2417ffcaa" alt="Add network location window filled in with information about the Meshnet network share."><figcaption></figcaption></figure></div>

   \
   You can find the Meshnet IP address or Nord name of your computer in the NordVPN application.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FM6YFMB1GbfVygyxz4FuZ%2Fnord%20name.png?alt=media&#x26;token=d9c0f498-7f96-42b1-9a44-eefcd64252c9" alt="Nord name and Meshnet IP address of a Windows device."><figcaption></figcaption></figure></div>

5. With the network share added, tap **OK**.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FvV8rER643q5XYYVHA6VY%2F5_win.png?alt=media&#x26;token=9c0005e0-8a05-4b68-b3b4-bfe0ba595347" alt="Meshnet network share highlighted in the list of available network locations."><figcaption></figcaption></figure></div>

6. Now you can enter a different name for the share for easier navigation inside the Kodi application (for example, `MeshnetVideos`). Select **OK**.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FVuIueq0lYE32vqjMAbA7%2F6_win.png?alt=media&#x26;token=b47516ba-05ff-4269-b5e3-66dcc1e1f69b" alt="Meshnet network share and its custom name inside Kodi."><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note**\
Kodi 19 and newer does not allow access to SMB shares with empty **Username** and **Password** fields. You must enter authentication details in the **Username** and **Password** fields.
{% endhint %}

### Map the media share on Kodi <a href="#map-the-media-share-on-kodi" id="map-the-media-share-on-kodi"></a>

1. From Kodi’s main page, select the media content category of your choice and click **Add videos**.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FXJEPl3o95fBrhM15CRIo%2F7.png?alt=media&#x26;token=b35d7d02-cb1b-43d9-8eaf-30ba5a6d8e9b" alt="Add videos button highlighted in Kodi application."><figcaption></figcaption></figure></div>

2. Tap **Browse**, select the newly added network share from the list, and tap **OK**.

3. You may enter a custom name for the network share once again and select **OK**.

4. Select the category of content that is available in the shared folder.<br>

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FKTgLUecJ5FRp8KJL7lCI%2F8.png?alt=media&#x26;token=7f96ad3d-3fdb-48e2-b783-5a2609af9515" alt="List of content categories for the added folder."><figcaption></figcaption></figure></div>

   \
   You can find more detailed information about the set content settings menu on the [Kodi website](https://kodi.wiki/view/Adding_video_sources) under the "Set content" section.

5. Once you finish all of the necessary adjustments, select **OK**.

You've successfully mapped the shared folder inside Kodi[ ](https://kodi.tv/download/)to the category you selected. Now, you can access all of the media content stored inside the folder on the Windows machine right from the Kodi app.

<div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FfYrx8NUAoxGTgNG8l8HB%2F9.png?alt=media&#x26;token=77ba4203-6c49-4051-9e5f-ad81f8dee21f" alt="Meshnet network share highlighted in the Kodi video library."><figcaption></figcaption></figure></div>

You can then enter the folder, view files, and start watching by clicking the desired file.

<div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FMESN1q5dxqBYQhtehXNx%2F10.png?alt=media&#x26;token=c1ea9f39-50ac-4ac4-976b-52b8d75bcd68" alt="Media content stored in the Meshnet network share visible in Kodi."><figcaption></figcaption></figure></div>

You've set up your machine with a Windows OS as a secure media host, accessible globally via the Kodi media player.

To add more media folders, like TV shows or music, share them from your desktop device and map them to Kodi following the earlier instructions.

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

In order to reach the shared media content using the Kodi media player, Meshnet must stay enabled on the server and client devices all the time.
{% endhint %}

[^1]: *The Kodi™ and screenshots of the media player bearing such mark are provided for the sole purpose of explaining how NordVPN™ Meshnet users can access shared folders using the Kodi media player. NordVPN™ is not endorsed by, maintained, sponsored by, affiliated or in any way associated with Kodi™*
