Guest User

Mangle

a guest
Oct 15th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /ip firewall mangle
  2. add action=mark-connection chain=prerouting comment=RDP_3389 dst-port=3389 \
  3. new-connection-mark=RDP_3389 passthrough=no protocol=tcp
  4. add action=mark-packet chain=forward connection-mark=RDP_3389 in-interface=\
  5. ether6 new-packet-mark=RDP_in3389 passthrough=no protocol=tcp
  6. add action=mark-packet chain=forward connection-mark=RDP_3389 \
  7. new-packet-mark=RDP_out3389 out-interface=ether6 passthrough=no protocol=\
  8. tcp
  9. add action=mark-connection chain=prerouting comment=RDP_6984 dst-port=6984 \
  10. new-connection-mark=rdp6984 passthrough=no protocol=tcp
  11. add action=mark-packet chain=forward connection-mark=rdp6984 in-interface=\
  12. ether6 new-packet-mark=rdp_in_6984 passthrough=no
  13. add action=mark-packet chain=forward connection-mark=rdp6984 new-packet-mark=\
  14. Rdp_out_6984 out-interface=ether6 passthrough=no
Add Comment
Please, Sign In to add comment