---
title: Devices behind NAT and the peer IP
description: Add several devices that share one public IP, and set the address routers use to reach MikroWizard.
url: "https://mikrowizard.com/docs/devices-behind-nat/"
updated: "2026-11-25"
category: "Devices & Groups"
---

# Devices behind NAT and the peer IP

Free Pro

## What it is

MikroWizard tells devices apart by IP address and port, so several devices behind one public IP can be managed. The peer IP sets which MikroWizard address a router should use to reach back.

**Example uses**

- Manage three routers at a customer site through one public IP with port forwarding.
- Routers reach MikroWizard through a VPN address instead of the public one.

## Several devices behind one IP

MikroWizard identifies a device by **IP address and port** together. So you can add several devices that sit behind the same public IP, as long as each one is reached on a different port (port forwarding on the NAT router). The protocol badges in the device list show the real port, for example *API:8729* or *RDP:3390*.

## The peer IP

Under each device's IP address the list shows **Peer**: the MikroWizard address used for that device. MikroWizard detects it, and uses it when it configures RADIUS, syslog and firmware downloads on MikroTik routers. If a router reaches MikroWizard through a different address (for example through NAT or a VPN), set **Peer IP (Alternative Access)** when you edit the device.

 Routers behind NAT also need to reach MikroWizard for RADIUS (UDP 1812/1813), syslog (UDP 5014) and firmware (TCP 80). See [Network and firewall requirements](https://mikrowizard.com/docs/network-and-firewall-requirements/). For remote sites without a public IP, the [WireGuard server](https://mikrowizard.com/docs/wireguard-server-peers/) (Pro) is an option.

## Example: three routers behind one public IP

A customer site has one public address, `203.0.113.10`. Its edge router forwards ports to the routers inside:

| Device | Added as |
| --- | --- |
| Edge router | 203.0.113.10, API port 8728 |
| Office router | 203.0.113.10, API port 18728 (forwarded to 192.168.1.2:8728) |
| Warehouse router | 203.0.113.10, API port 28728 (forwarded to 192.168.1.3:8728) |

All three appear as separate devices.

## Common problems

| Problem | Cause and fix |
| --- | --- |
| Router logins through RADIUS fail behind NAT | All routers behind one public IP send RADIUS from that same address, so MikroWizard can't tell them apart. Prefer a VPN such as the [WireGuard server](https://mikrowizard.com/docs/wireguard-server-peers/), so each router has its own address. |
| Logs from a router behind NAT don't arrive | MikroWizard matches syslog to devices by the sender's address. See [Send router logs to MikroWizard](https://mikrowizard.com/docs/syslog-server/). |
| RADIUS, syslog or firmware downloads go to the wrong address | Set **Peer IP (Alternative Access)** to the address the router can reach. |

## Next step

- [Router identity verification](https://mikrowizard.com/docs/router-identity-verification/)
