×

UniFi - UDM/USG: Configuring Port Remapping

Overview

Readers will learn how to use the Port Remapping feature on the feature on the UDM-Pro and USG models.

NOTES & REQUIREMENTS:
  • Applicable to the latest firmware on the UDM-Pro and USG models.
  • The UniFi Dream Machine (UDM) base model only has a single WAN uplink port and does not support Port Remapping.

Table of Contents

  1. Supported Models and Remappable Ports
  2. Remapping the WAN and LAN Ports
  3. Related Articles

Introduction

The Port Remapping feature on the UDM-Pro and USG models allows administrators to re-assign different WAN and LAN networks to the interfaces. For example on the UDM-Pro, the Port Remapping feature can be used to configure which of the two WAN ports (RJ45 or SFP+) is WAN1 and which port is WAN2.

NOTE: The UDM-Pro does not support mapping the WAN port to a LAN port or vice versa.

Refer to the table below for the supported port configurations on the UDM-Pro and USG models:

Device

Ports

 Supported Port Configurations

UDM-Pro 11
  • 2 WAN ports (1 RJ45 / 1 SFP+)
  • 9 LAN ports (8 RJ45 / 1 SFP+)
USG-Pro 4
  • 1 WAN port + 3 LAN ports
  • 2 WAN ports + 2 LAN ports
USG 3
  • 1 WAN port + 2 LAN ports
  • 2 WAN ports + 1 LAN port
USG-XG-8 9
  • 1 WAN port + 8 LAN ports
  • 2 WAN ports + 7 LAN ports

Remapping the WAN and LAN Ports

The diagram below shows an example setup where the UDM-Pro is connected to two different ISPs using the RJ45 and the SFP+ WAN interfaces.

topology.png

The Port Remapping feature is used to configure which of the ISP uplinks is WAN1 and which is WAN2. When using Failover Load Balancing on the UDM-Pro, the WAN2 network will be the failover connection. 

GUI: Access the UniFi Controller Web Portal.

Follow the steps below to configure the Port Remapping feature on the UDM-Pro and USG models:

UDM-Pro Port Remapping
USG Port Remapping

1. Navigate to the  devices.png  Devices > UDM > Ports > WAN > Configure Interfaces section to assign the WAN networks to the ports.

udm-ports-configure1.png

2. If the WAN network is not listed, then create it first in the  settings.png  Settings > Internet > WAN Networks section.

NOTE: When using the Classic Web UI, navigate to the  settings.png  Settings > Networks section instead.

3. To switch the WAN Networks, first change the Port WAN1 Network from WAN to Disabled, then change the Port WAN2 Network from WAN2 to WAN.

udm-ports-configure2.png

4. Finally, change the Port WAN1 Network from Disabled to WAN2 and apply the changes.

5. Navigate to the  devices.png  Devices > UDM > Details section to verify that both WAN interfaces are up and have an IP address assigned.

udm-details-wan.png

NOTE: If the WAN interface is showing down/disconnected or does not have an IP address assigned, then it is possible that your WAN settings do not match the ones provided by your ISP.

1. Navigate to the  devices.png  Devices > USG > Ports > WAN > Configure Interfaces section to assign the WAN and LAN networks to the ports.

usg-ports-configure.png

2. If the WAN and LAN networks are not listed, then create it first in the  settings.png  Settings > Internet > WAN Networks and settings.png  Settings > Networks > Local Networks > LAN sections.

NOTE: When using the Classic Web UI, navigate to the  settings.png  Settings > Networks section instead.

3. To switch the WAN and LAN Networks, first change the Port Network to Disabled or another value. The network is then free to be remapped to a different port.

4. Apply the changes.

5. Navigate to the  devices.png  Devices > USG > Details section to verify that the WAN and LAN interface(s) are up and have an IP address assigned.

NOTE: If the WAN interface is showing down/disconnected or does not have an IP address assigned, then it is possible that your WAN settings do not match the ones provided by your ISP.

Related Articles

UniFi - Network Types

Was this article helpful?
21 out of 56 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community