OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: Dexter_23 on March 07, 2022, 03:11:55 PM

Title: NAT Loopback
Post by: Dexter_23 on March 07, 2022, 03:11:55 PM
Hi

How can i enable NAT Loopback on OPNSense?
Title: Re: NAT Loopback
Post by: utahbmxer on March 07, 2022, 06:16:20 PM
Mine works and allows me to access my internal servers via their public IP.  All I did was setup a port-forward under Firewall > NAT > Port Forward.  I think the key is to enable NAT reflection in the NAT rule.

Interface:WAN
Destination: Public IP (I have a /28 block so I created aliases, but you could choose WAN Address)
Destination Port: HTTPs, etc.
Redirect target IP: Alias of server's internal IP
Redirect target port: Same as dest (change if you want port translation applied)
NAT reflection: enabled