/queue tree add name=ftp-up parent=global-in packet-mark=ftp-up queue=ftp-exempt max-limit=1G
/queue tree add name=ftp-down parent=global-out packet-mark=ftp-down queue=ftp-exempt max-limit=1G
i have tried this with hotspot. but its not working well. hotspot users getting same speed limit as define in profile.
hotspot is working fine. and giving the speed limit as defined inside profile speed limit on internet trafic. after adding ftp server. i have aded above mangle and quee rules. but i m getting these 2 errors.
1= when i try to open \server its not respond and when i type \192.168.250.2 then ftp server goes open. why its not opening with name of the computer instead of the ip?
2= rate limit as defined in hotspot profile is still applying on the ftp trafic. even i have aded the quee rulles as you mentioned above.. but still the same.
The computer names are not going to travel across a routed network. That’s how windows works. You have to manually add them to dns or use a seperate wins server.
2= rate limit as defined in hotspot profile is still applying on the ftp trafic. even i have aded the quee rulles as you mentioned above.. but still the same.
You need to rearrange some rules so your ftp rules get hit before the main hotspot rules.
YEa i have create multi profiles in hotspot for limiting the rate.
and when i try to access the ftp then the same rate limit is applied also for that ftp trafic. i want to exempt the rate limit for ftp server trafic. and want to assign a new rate limit for that trafic goes to ftp server.
Mark traffic for FTP server’s IP.
then create queue rule to allocate unlimited bandwidth for these marked packets.
You can get some basic ideas from below URL (Its for pppoe , but you can use the same logic for hostspot users)
i have done the Above Senario and i successfully can open ftp server via \ip address and also i m able to exempt rate limit of hotspot.
but now im faceing a problem. i can connect only one session at a time.
mean to say. from a client-1 pc i open \ server and if i m coping a file from ftp server behind Mikrotik then on the same time i open \server from another client-2 pc then it breaks prevoius session and file copying gives error “there is a problem accessing \server”
ping to server ip 192.168.150.2 is continuly ok without any request time out on both pc
but when i try to copy a file from \server on client one it start downloading. and when i try to open server from 2nd pc. then one pc 1 its gives me error “there is an error in assessing \server”
one Thing more. when hotspot clients are not active then i feel its opens on both pcs and when more then 50 hotspot clients comes online its act as i said. one connection limit. its i feel so but not sure.