EdgeMax EdgeRouter X hairpin configuration with GUI 1.7 screen shots

Hairpinning (or NAT loopback) is where a machine on the LAN is able to access another machine on the LAN via the external IP address of the LAN/router (with port forwarding set up on the router to direct requests to the appropriate machine on the LAN).

How to setup hairpin on the EdgeRouter X model ER-X running EdgeOS v1.7

Sample Network

EdgeRouter ER-X Dashboard v1.7

Interfaces

Interface details for eth0 – WAN

eth0-WAN

Interface details for switch0

switch0

Interface details for eth2 WLAN

eth2 WLAN

Hairpin DNAT Rule Part1

DNAT Part1

Hairpin DNAT Rule Part2

DNAT Part2

Hairpin Source NAT Part1

NAT Part1

Hairpin Source NAT Part1

NAT Part2

 

To control Access Points (Ubiquiti AP) you will need a UniFi Network Controller 

How to install UniFi Network Controller on a Debian or Ubuntu 

  1. Introduction
  2. UniFi Controller APT Steps
  3. Log Files Location
  4. User Notes & Tips
  5. Related Articles

UniFi - Getting started with UniFi on Windows

Learn how to get started with UniFi, set up your devices, and use the UniFi Network Controller to manage your new UniFi Network.

  1. Set Up a New UniFi Device
  2. Manage the UniFi Network
  3. Upgrade Device Firmware and Controller Software
  4. Adopt Additional UniFi Devices
  5. Frequently Asked Questions