# How to set up a phone as a security camera with remote access

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

Home security cameras are increasingly common for added peace of mind. Instead of investing in a costly system, many opt for budget-friendly alternatives, such as transforming older phones into security cameras. This approach allows you to test the waters without a high upfront cost. Normally, to access the camera remotely, you'd have to set up port forwarding on your router.

Fortunately, you can completely bypass port forwarding by using [Meshnet](https://nordvpn.com/meshnet/). With this feature, you can create a virtual device network with remote and local devices. The connected devices can then interact with one another as if they were on the same [local area network](https://nordvpn.com/blog/what-is-lan/) (LAN). This way, you to gain access to your phone security camera without compromising the security of your home network.

This guide contains a video tutorial, as well as written instructions, on how you can create a remotely accessible security camera by pairing Android and iOS phones with Meshnet.

{% embed url="<https://www.youtube.com/watch?v=VyazrtWUWcw>" %}

## Before you begin <a href="#before-you-begin" id="before-you-begin"></a>

Make sure that:

* Your phone is running Android 9 or later.
* Your phone has a stable internet connection.
* Your phone has a constant power source.
* You have [installed NordVPN on Android](https://support.nordvpn.com/1047409182).
* You have [enabled Meshnet on Android](https://meshnet.nordvpn.com/getting-started/how-to-start-using-meshnet/using-meshnet-on-android#enable-meshnet-on-android).

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

The article demonstrates the setup procedure using Android 13 as an example.
{% endhint %}

## Install IP Webcam software <a href="#install-ip-webcam-software" id="install-ip-webcam-software"></a>

With all of the prerequisites taken care of, you can install IP Webcam — the application that will turn your phone into a security camera. You can download IP Webcam for free from the [Google Play Store](https://play.google.com/store/apps/details?id=com.pas.webcam\&hl=en\&gl=US).

<div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FqbqJDvYTEGIPOmYwfFwo%2Fipcam_install_dark.png?alt=media&#x26;token=276c75a2-afcd-417e-b1b6-dab594bc6f50" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FygcIbVy1sabVAsZyNm9s%2Fipcam_install.png?alt=media&#x26;token=44671988-495e-4e5f-99ea-dce39ffcae4d" alt="Tapping the Install button." width="375"></picture><figcaption></figcaption></figure></div>

## Set up login credentials <a href="#set-up-login-credentials" id="set-up-login-credentials"></a>

By default, the IP Webcam interface does not require any authentication. To minimize the [risk of unauthorized access](https://nordvpn.com/blog/unauthorized-access/), it is best to secure your camera with strong login credentials. To enable login authentication:

1. Open **IP Webcam**.
2. Under **Connection settings**, tap the **Local broadcasting** option.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FlgnDGJgjwyNSDexsCPiE%2Fipcam_local_cast.png?alt=media&#x26;token=4328693e-23a4-46a1-bdca-255efd4b79f2" alt="Tapping the Local broadcasting option." width="375"><figcaption></figcaption></figure></div>

   &#x20;
3. Select **Login/password**.
4. Enter your desired username and password combination and click **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%2Frqnjm1kOwcxKcdtbtxRt%2Fipcam_login_creds.png?alt=media&#x26;token=0f71aa37-323c-4a71-b3c6-e6d114821740" alt="" width="375"><figcaption></figcaption></figure></div>

## Select a recording location <a href="#select-a-recording-location" id="select-a-recording-location"></a>

It is recommended to select a specific directory for your recordings. This way, all of the footage is organized and easily accessible. To choose a folder:

1. Open **IP Webcam**.
2. Under **IP Webcam settings**, select **Video preferences**.
3. Tap **Video recording** > **Save videos to**.
4. Select your preferred folder or create a new one and tap **Use this folder**.

## Start your security camera <a href="#start-your-security-camera" id="start-your-security-camera"></a>

Your phone is now fully prepared to function as a security camera. To start the IP Webcam server:

1. Open **IP Webcam**.
2. Tap the three-dot menu in the upper-right corner and select **Start server**.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FSOrkh5VEU6SPGUduCu7z%2Fipcam_start_server.png?alt=media&#x26;token=d4968348-258d-489e-aeab-9bec9f12f5ce" alt="Tapping Start server." width="375"><figcaption></figcaption></figure></div>

   &#x20;
3. If requested, grant IP Webcam the required permissions.

After a few seconds, the camera output will be visible on-screen.

## Access your security camera over Meshnet <a href="#access-your-security-camera-over-meshnet" id="access-your-security-camera-over-meshnet"></a>

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

Ensure you set up strong user authentication for your camera's web interface. Without it, other devices in your Meshnet that have [remote access permissions](https://meshnet.nordvpn.com/features/explaining-permissions/remote-access-permissions) enabled can also access the camera, potentially compromising its security.
{% endhint %}

Your security camera is now active, and you can access it either from your local network or remotely, using Meshnet.

1. Copy the Nord name of your new security camera from the NordVPN application.

2. Open your internet browser.

3. In the URL field, paste the copied Nord name, add `:8080/`, and press **Enter**.\
   &#x20;\
   **Example**\
   `secret.meerkat-sierranevada.nord:8080/`\
   &#x20;

4. Type in your login username and password and click **Sign in**.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FVQyTCtLr6AeOQqL9HWkQ%2Fipcam_mesh_login.png?alt=media&#x26;token=8598843f-795e-4a7c-bb33-d10c56d3271f" alt="Logging in to the IP Webcam web interface."><figcaption></figcaption></figure>

5. Next to **Video renderer**, select **Browser** to monitor your camera in real-time.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FtAyNL9jo8ohhHnKzJdyC%2Fipcam_video_renderer.png?alt=media&#x26;token=2c079991-53fd-4759-9494-e07e8f6aeeb7" alt="Selecting the Browser video renderer."><figcaption></figcaption></figure></div>

### Start recording <a href="#start-recording" id="start-recording"></a>

To start recording the footage of your security camera, click the **Record manual** button under **Recorder control** in the IP Webcam web interface.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FONbTqibZzt4XUSII5Qze%2Fipcam_record_manual.png?alt=media&#x26;token=89258feb-b91d-4f01-9807-49efa73b9675" alt="Starting a recording."><figcaption></figcaption></figure>

After you have started the recording, you will see the name of the file in which the footage is being saved.

<div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEIMoSHEsjJ7Woadnzn8q%2Fipcam_recording.png?alt=media&#x26;token=9db6d6aa-4e59-4f6a-88c1-1184a6f40d45" alt="Name of the recording." width="375"><figcaption></figcaption></figure></div>

If you wish to stop the recording, click the **Stop** button.

### View recorded footage <a href="#view-recorded-footage" id="view-recorded-footage"></a>

You can check all of the recorded footage from your security camera in the **Video archive** tab of the IP Webcam web interface.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FDeEkbVHoB6JL9deyQ2yR%2Fipcam_video_archive.png?alt=media&#x26;token=d9a8f98a-d5e5-4cb2-be95-7956f4c8ab7b" alt="Recordings in the Video archive tab."><figcaption></figcaption></figure>
