> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trurec.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Two routers (double NAT)

> If your provider's modem and your own router both act as routers, a port forward on one isn't enough. How to spot it, and the two ways to fix it.

Some sites have two routers, one behind the other: usually a modem from the internet provider, with the site's own Wi-Fi router plugged into it. This is called double NAT. A connection from TruRec AI arrives at the first box. If that box doesn't pass it on, it never reaches your router, or your recorder.

## How to spot it

You probably have two routers if:

* **You have two boxes with lights,** both with internet or Wi-Fi settings, and one plugs into the other.
* **Your router's internet address is private:** it starts with `192.168.`, `10.` or `172.16.` up to `172.31.`. See [How to tell](https://docs.trurec.ai/networking/cgnat-and-public-ip.md#how-to-tell).
* **If the setup assistant is on for your workspace,** it says there's another router in front of yours.

An nbn connection box on the wall isn't a router, so it doesn't count. A mesh Wi-Fi system can be a second router, unless it's set up in "access point" or "bridge" mode.

If your router's internet address starts with `100.64.` up to `100.127.`, the problem is CGNAT, not a second router. See [CGNAT and public IP addresses](https://docs.trurec.ai/networking/cgnat-and-public-ip.md).

## What to do

**First, check the provider's box has a public address.** [Sign in](https://docs.trurec.ai/networking/sign-in-to-your-router.md) to the provider's box, the one connected to the internet, and find its internet address. Check it against [How to tell](https://docs.trurec.ai/networking/cgnat-and-public-ip.md#how-to-tell). If it isn't a public IP address, your provider shares one between customers (CGNAT). Then neither choice below will work, and bridge mode could cost you your internet, and maybe your phone line, for nothing. Go to [CGNAT and public IP addresses](https://docs.trurec.ai/networking/cgnat-and-public-ip.md) instead. If you can't sign in to the provider's box, ask your provider whether it has a public IP address.

If the provider's box has a public IP address, you have two choices. Either works, so pick the one that's easier at your site. If your provider looks after the first box, call them and ask them to do it.

### Choice 1: Put the provider's box in bridge mode

In bridge mode, the provider's box passes the internet straight through to your router, and stops acting as a router itself. Then you only forward the port on your own router.

* It's the tidier fix, but it changes how your internet connects. Your router may need your internet login details from your provider.
* Your internet drops for a few minutes while you change it.
* If your phone line runs through the provider's box, check with your provider first. Bridge mode can stop it working.

### Choice 2: Forward the port on both routers

Leave both boxes as they are, and add a port forward on each:

1. **On your own router,** forward the port to your recorder as usual. See [Set up port forwarding](https://docs.trurec.ai/networking/ports-and-firewalls.md#set-up-port-forwarding).
2. **On the provider's box,** forward the same port, TCP, to your own router's internet address, the private one you found above.
3. **Fix your router's address** on the provider's box, so it doesn't change. It's the same as fixing your recorder's address. See [Make it fixed](https://docs.trurec.ai/networking/fix-your-recorders-address.md#make-it-fixed).

For example, with outside port 8554:

| On | Outside port | Forward to | Inside port |
| - | - | - | - |
| The provider's box | `8554` | Your router's internet address, such as `192.168.0.2` | `8554` |
| Your router | `8554` | Your recorder's address, such as `192.168.1.20` | `554` |

Then check it from TruRec AI. If it still doesn't work, [get help](https://docs.trurec.ai/support/get-help.md#setup-help).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.