Community discussions

MikroTik App
 
sone
just joined
Topic Author
Posts: 8
Joined: Fri May 05, 2006 9:50 pm

[ask] how to limit only port 80

Tue Oct 23, 2007 6:22 am

hi, how to limit only for browsing (port 80, etc)

TQ
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: [ask] how to limit only port 80

Tue Oct 23, 2007 10:16 am

Mangle: mark port 80 packets
Add queue with packet mark
 
User avatar
maximan
Trainer
Trainer
Posts: 543
Joined: Sat May 29, 2004 12:10 am
Location: Rio Cuarto, Argentina
Contact:

Re: [ask] how to limit only port 80

Tue Oct 23, 2007 10:42 pm

do you want limit port 80 (queue) or only accept port 80 (firewall)

Max
 
kala
just joined
Posts: 3
Joined: Tue Aug 14, 2007 3:46 am

Re: [ask] how to limit only port 80

Thu Oct 25, 2007 3:02 am

hi
how can i accept browsing only and block the download ???
thnx
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: [ask] how to limit only port 80

Thu Oct 25, 2007 2:04 pm

using http protocol everything is download, only difference is extension and size of file you are downloading
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: [ask] how to limit only port 80

Thu Oct 25, 2007 2:56 pm

browsing is downloading. it is the same thing, there is nothing that separates these words.
 
Cobusbu
newbie
Posts: 43
Joined: Fri Jan 04, 2008 9:20 am
Location: Cape Town, South Africa

Re: [ask] how to limit only port 80

Sun Feb 03, 2008 9:52 pm

You can set the burst rate to e.g. 192kBps and the maximum download limit to 32kBps. Make the burst threshold 15kBps and the burst period 1800s. This will allow for browsing only but will make downloads very slow.
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: [ask] how to limit only port 80

Tue Feb 05, 2008 12:20 am

open port 53 for DNS too.
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: [ask] how to limit only port 80

Mon Apr 21, 2008 3:29 am

You can set the burst rate to e.g. 192kBps and the maximum download limit to 32kBps. Make the burst threshold 15kBps and the burst period 1800s. This will allow for browsing only but will make downloads very slow.
Hi ;
i need to try this to make the priority goes to opening yahoo messenegr and browsing then the download .
i need to know why the brust time you set to 1800s not like 120s or less or more ?
buy the way i am using the following rules in firewall , will they help me to make the browsing go fast by limiting the number of sessions ?
add action=jump chain=forward comment="limiting connection" \
    connection-limit=30,32 disabled=no dst-port=80 in-interface=bridge1 \
    jump-target="band swallow" protocol=tcp 
add action=jump chain=forward comment="" connection-limit=15,32 \
    connection-mark=ftp disabled=no jump-target="band swallow" protocol=tcp 
add action=add-src-to-address-list address-list="band swallow" \
    address-list-timeout=5m chain="band swallow" comment="" disabled=no \
    in-interface=bridge1 
add action=jump chain="band swallow" comment="" disabled=no jump-target=drop \
    src-address-list="band swallow" 

the first one to limit the number of sessions and the second one i just put in the firewall to limit the downloads per user .
waiting comments .
with best regards .