Community discussions

MikroTik App
 
zizobaddy
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon Sep 13, 2010 10:13 am
Location: Osogbo
Contact:

Exempt access to server from queue

Sat Jan 04, 2014 11:50 pm

Hi

I have a server we remotely connect to and all users are behind queue

I wish to have all users connect to the server at full speed and queue should only shape traffic going to the internet

i have tried several but it didn't work please does anyone know how to go about this

Thanks in advance
 
lambert
Long time Member
Long time Member
Posts: 548
Joined: Fri Jul 23, 2010 1:09 am

Re: Exempt access to server from queue

Sun Jan 05, 2014 6:45 am

Use "/ip mangle" rules to mark the packets going to yourIPs differently than you mark the packets going to !yourIPs. Using an address-list named something like "yourIPs".

Setup queues, simple or queue tree, to use the marks.
 
zizobaddy
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon Sep 13, 2010 10:13 am
Location: Osogbo
Contact:

Re: Exempt access to server from queue

Sun Jan 05, 2014 12:14 pm

?????

Please can u explain better example will be much appreciated

Thanks
 
lambert
Long time Member
Long time Member
Posts: 548
Joined: Fri Jul 23, 2010 1:09 am

Re: Exempt access to server from queue

Thu Jan 09, 2014 10:27 am

/ip firewall mangle
add chain=forward comment="Server traffic, bypass mangle" dst-address-list=ServerIPs 
add action=mark-connection chain=forward comment="Identify 1Mbps Dedicated customer connections" \
    connection-state=new new-connection-mark=1024kb_ded_conn src-address-list=1MbDedicated
add action=mark-connection chain=forward comment="Identify 1Mbps Dedicated customer connections" \
    connection-state=new dst-address-list=1MbDedicated new-connection-mark=1024kb_ded_conn
add action=mark-packet chain=forward connection-mark=1024kb_ded_conn new-packet-mark=\
    1024kb_ded_packet passthrough=no

/queue tree
add max-limit=10M name=Total_Upload_ether1 parent=ether1
add max-limit=50M name=Total_Download_AP_bridge parent=AP_bridge priority=1
add name=ded_1024k_upload_ether1 packet-mark=1024kb_ded_packet parent=Total_Upload_ether1 \
    priority=4 queue=PCQ_ded_up_1024k
add name=ded_1024k_download_AP_bridge packet-mark=1024kb_ded_packet parent=\
    Total_Download_AP_bridge priority=4 queue=PCQ_ded_down_1024k
Read the wiki to fill in the gaps.

Who is online

Users browsing this forum: GoogleOther [Bot], tangent and 77 guests