Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21147

Beginner Basics • mangle prerouting not mark upload

$
0
0
Hi,
Last week not find the problem witch marked packed can You help me find problem, bellow configration
Code:
/ip firewall mangleadd action=mark-connection chain=prerouting comment=Con-Service_Hi  in-interface=bridge new-connection-mark=Con-Service_Hi passthrough=yes  protocol=icmp src-address-list=LANHQadd action=mark-connection chain=prerouting comment=Con-Service_Hi dst-port= 53,853 in-interface=bridge new-connection-mark=Con-Service_Hi  passthrough=yes protocol=tcp src-address-list=LANHQadd action=mark-connection chain=prerouting comment=Con-Service_Hi dst-port= 53,853 in-interface=bridge new-connection-mark=Con-Service_Hi passthrough=yes protocol=udp src-address-list=LANHQadd action=mark-packet chain=prerouting comment=Con-Service_Hi connection-mark=Con-Service_Hi new-packet-mark=ServicesHI_pkt passthrough=noadd action=mark-packet chain=postrouting comment=Con-Service_Hi  connection-mark=Con-Service_Hi disabled=yes new-packet-mark=  ServicesHI_pkt passthrough=noadd action=mark-connection chain=prerouting comment=Games dst-address-list= Game new-connection-mark=Conn-Game passthrough=yes protocol=tcpadd action=mark-connection chain=prerouting comment="Apex Games" dst-port= 1024-1124,3216,18000,18120,27900,29900,18060 new-connection-mark= Conn-Game passthrough=yes protocol=tcpadd action=mark-connection chain=prerouting comment=Games dst-address-list= Game new-connection-mark=Conn-Game passthrough=yes protocol=udpadd action=mark-connection chain=prerouting comment="Apex Games " dst-port= 45015,37115,37015,37315,37415,37715,37615 new-connection-mark=Conn-Game     passthrough=yes protocol=udpadd action=mark-packet chain=prerouting comment=Games connection-mark= Conn-Game new-packet-mark=Games_pkt passthrough=noadd action=mark-connection chain=prerouting comment="Connection Mail"  dst-port=25,110,143,465,587,993,995 new-connection-mark=Conn-Mail \    passthrough=yes protocol=tcpadd action=mark-packet chain=prerouting comment="Connection Mail"  connection-mark=Conn-Mail new-packet-mark=MailDL-pkt passthrough=noadd action=mark-connection chain=prerouting comment=Streaming   dst-address-list=Streaming dst-port=80,443 in-interface=bridge  new-connection-mark=StreamingDL passthrough=yes protocol=tcpadd action=mark-connection chain=prerouting comment=Streaming    dst-address-list=Streaming dst-port=80,443 in-interface=bridge  new-connection-mark=StreamingDL passthrough=yes protocol=udpadd action=mark-packet chain=prerouting comment=Streaming connection-bytes= 500000-0 connection-mark=StreamingDL connection-rate=500k-1G  new-packet-mark=StreamingDL-pkt passthrough=noadd action=mark-connection chain=prerouting comment=Download  connection-bytes=500000-0 connection-rate=500k-1G dst-port=80,443  in-interface=bridge new-connection-mark=DownloadDL passthrough=yes   protocol=tcpadd action=mark-connection chain=prerouting comment=Download  connection-bytes=500000-0 connection-rate=500k-1G dst-port=80,443  in-interface=bridge new-connection-mark=DownloadDL passthrough=yes  protocol=udpadd action=mark-packet chain=prerouting comment=Download connection-mark= DownloadDL new-packet-mark=Download-pkt passthrough=noadd action=mark-connection chain=prerouting comment=Internet connection-rate= 0-500k dst-port=80,443 in-interface=bridge new-connection-mark=InternetDL     passthrough=yes protocol=tcpadd action=mark-connection chain=prerouting comment=Internet connection-rate=0-500k dst-port=80,443 in-interface=bridge new-connection-mark=InternetDL  passthrough=yes protocol=udpadd action=mark-packet chain=prerouting comment=Internet connection-mark= InternetDL new-packet-mark=Internet-pkt passthrough=noadd action=mark-connection chain=prerouting comment=InternetOtherDL  connection-mark=OtherDL disabled=yes in-interface=bridge  new-connection-mark=OtherDL passthrough=yesadd action=mark-packet chain=prerouting comment=InternetOtherDL disabled=yes in-interface=bridge new-packet-mark=OtherDL-pkt passthrough=no  src-address-list=LANHQadd action=mark-connection chain=prerouting comment=GlobalDL  connection-nat-state="" in-interface=bridge new-connection-mark=OtherDL  passthrough=yes src-address-list=LANHQadd action=mark-packet chain=postrouting comment=GlobaDL disabled=yes  in-interface=lte1 new-packet-mark=OtherDL-pkt passthrough=noadd action=mark-packet chain=prerouting comment=GlobaDL connection-mark= OtherDL new-packet-mark=OtherDL-pkt passthrough=no[color=#BF0080]add action=mark-connection chain=prerouting comment=GlobalUpload   connection-nat-state="" disabled=no dst-address-list=WAN in-interface=lte1 new-connection-mark=GlobalUP passthrough=yesadd action=mark-packet chain=prerouting comment=GlobalUpload connection-mark=InternetDL disabled=yes new-packet-mark=Upload-pkt passthrough=no [/color]
I know is the same connection but how to marked, i changed interfaces, out in dst, src lan wan not workinkg
thanks for reply.
Daw

Statistics: Posted by daweagle — Wed Jan 03, 2024 2:23 am



Viewing all articles
Browse latest Browse all 21147

Trending Articles