Overview
Upon completion of reading this article readers should grasp the concept of how port remapping works in the UniFi Controller.
|
NOTES & REQUIREMENTS:
|
Table of Contents
Introduction
Previous to the port remapping implementation in the controller port assignments on the UniFi Security Gateway were static. Port remapping allows a user to be able to assign networks and LAN/WAN functions to any port available. With port remapping the following configurations are possible:
USG (3 port)
- 1 WAN port and 2 LAN ports
- 2 WAN ports and 1 LAN port
USG Pro 4
- 1 WAN port and up to 3 LAN ports.
- 2 WAN ports and up to 2 LAN ports.
|
User Tips:
|
USG-XG-8
- 1 WAN port and up to 8 LAN ports
- 2 WAN port and up to 7 LAN ports
|
User Tips:
|
Steps: How to Configure Port Remapping
Port Group Assignment in Networks
- In the UniFi Controller, navigate to Settings > Networks > Edit, or Create Network for a new network.
- View the "Port Group" delegation and make a selection for your network. This delegation allows a user to be able to break up networks into logical groups that can be applied on physical interfaces.
- After making the port group assignment click Save.

Port Group Assignment on USG
- Navigate to the USG properties side panel by clicking on the USG in question in the Devices screen.
- Select the Ports tab.
- Make a delegation on the port group that is desired to operate on a physical interface.
- Click apply after all changes are done.
|
User Tip: Before a port group can be assigned to another port, it must first be de-selected on its current port.
|
Testing & Verification
Verification can be done a couple ways. One way is to look at the icon indicators on the ports in the UI. The other way is in the command line interface. Both are shown below.
Testing & Verification in the GUI
Before port remapping:

After port remapping:

Testing & Verification in the Command Line Interface (CLI)
- SSH to the USG with a preferred SSH client.
- Type the command:
show interfaces
The show interfaces command will show you which networks/IPs are on each physical interface.