Mangle and Port Remote Desktop Connection (RDC) - MikroTik Script RouterOS

If you're in front of your computer and need to access a different machine, Microsoft's Remote Desktop Connection tool will let you access everything from afar. As long as the computer is turned on and set up for remote connection, you can grab a file, open an application, troubleshoot a problem, or just work remotely. 

Port forward Remote Desktop Connection:
TCP/UDP: 3389/3389


/ip firewall mangle
add action=mark-connection chain=prerouting dst-port="3389" new-connection-mark=conn-RDC protocol=tcp
add action=mark-connection chain=prerouting dst-port="3389" new-connection-mark=conn-RDC protocol=udp
add action=mark-packet chain=prerouting connection-mark=conn-RDC new-packet-mark=RDC_pkt-up passthrough=no src-address=192.168.1.0/24
add action=mark-packet chain=prerouting connection-mark=conn-RDC dst-address=192.168.1.0/24 new-packet-mark=RDC_pkt-down passthrough=no
Credit: www.o-om.com