Change destination port

A lan machine behind MT nat tries to connect an internet address in a particular port (let’s say 8000)

Can MT change the outgoing packet destination port from 8000 to i.e. 9000 with lan machine being unaware of ???

Thanks

Yes.
Dst-nat can change the destination port for udp and tcp:

add action=dst-nat chain=dstnat dst-port=8000 protocol=udp to-ports=9000

Thank you

I usually do it in wan to lan port forwarding
I need to do it for outgoing packets ( lan to wan) and the translation has to be valid for only a single machine on lan
What should be the right syntax and interfaces involved/ applied to ??