OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: wolfpack on May 24, 2019, 08:36:25 pm

Title: Anti Lockout and port redirection
Post by: wolfpack on May 24, 2019, 08:36:25 pm
How would I redirect one port to another on a specific ip address through the firewall?

What I want is, if I go to ip 192.168.0.180:80 in my browser, from a machine on the local net, I will be transparently forwarded to 192.168.0.180:37780. That is, the firewall will sense an internal ip trying to connect to port 80 on 192.168.0.180, but route all traffic to 192.168.0.180:37780

The anti-lockout rule is, I think, preventing this since it applies to all http/https ports from any ip. If I could move my rule before the anti-lockout rule, it would handle this particular case, while the antilockout rule would apply in other instances.