OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: Chip Schweiss on October 17, 2018, 04:11:15 pm

Title: Port Forward NAT rule on all interfaces
Post by: Chip Schweiss on October 17, 2018, 04:11:15 pm
On my installation, everything is pure routing, no NAT with one exception.  I have many network interfaces (>20).

For applications that serve HTTP/S I use an external proxy that terminates HTTP/S and proxies to the application specific port.   

So I've been setting up NAT rules that match the IP address of the application host and NATs port 80 and 443 to the proxy host.  This works as intended, but I need two nat rules on every interface for every application.   There are a dozen or so applications like this to deploy so the NAT rule count will explode.

Is there a way to make a NAT rule that is applied to all interfaces so that any time the destination matches an IP and port it will apply?