Redirect outgoing port 25 to MY internal SMTP server??

I simply want a nat rule that will take any tcp dst port 25 requests form 192.168.5.0/24 and redirect them to: 192.168.1.109 port 25 (my own smtp server).


i want to force all my .5.0/24 users to use my SMTP server regardless of what their outoging SMTP setting are.

i had this working at one point but i can get it working now.

thanks

ip firewall nat
chain=dstnat src-address=192.168.5.0/24 protocol=tcp dst-port=25 action=dst-nat to-dst-address=192.168.1.109 to-dst-port=25

Should work. Might be a bit off, just add it to your nat rules.

thats what i had tried…no luck..it sees the packet, but does not dst-nat it

sorry..that was correct.. Had a old mangle route mark that was interfering.

THANKS!!

yep no prob