I have tried to figure out how to do this one but I think I have just confused myself more…
My firewall is a 2 interface setup, the same box is my router to my uplink.
I’m not using nat at all and have a public IP range behind this machine.
net = eth0
loc = eth1
Most of my rules are mainly the basic
HTTP(ACCEPT) net loc:220.127.116.11
SMTP(ACCEPT) net loc:18.104.22.168
This time around though I wish to just redirect (or is it translate) a port but because I’m not using nat etc I’m not sure if this is possible.
I have a mail server behind my firewall that already has a rule in place
SMTP(ACCEPT) net loc:111.1111.111.111
So this allows inbound port 25 connections to the machine on loc no issues at all.
What I want to do is have an incoming connection on port 26 to 22.214.171.124 BUT redirect it to 126.96.36.199 but on port 25, is this possible?