https://help.ui.com/hc/en-us/articles/204952134-EdgeRouter-Hairpin-NAT
configure edit service nat rule 1 set description HTTPS set inside-address address 172.16.20.20 set inside-address port 443 set log disable set protocol tcp set type destination set inbound-interface eth+ set destination address 0.0.0.0 set destination port 443 top edit service nat rule 5001 set description Hairpin_MASQ set destination address 172.16.20.0/24 set source address 172.16.20.0/24 set log disable set outbound-interface eth3 set protocol tcp set type masquerade top edit firewall name WAN_IN rule 443 set description HTTPS set action accept set destination port 443 set log disable set protocol tcp top commit save |