Page 1 of 1

[ask] how to limit only port 80

Posted: Tue Oct 23, 2007 6:22 am
by sone
hi, how to limit only for browsing (port 80, etc)

TQ

Re: [ask] how to limit only port 80

Posted: Tue Oct 23, 2007 10:16 am
by mrz
Mangle: mark port 80 packets
Add queue with packet mark

Re: [ask] how to limit only port 80

Posted: Tue Oct 23, 2007 10:42 pm
by maximan
do you want limit port 80 (queue) or only accept port 80 (firewall)

Max

Re: [ask] how to limit only port 80

Posted: Thu Oct 25, 2007 3:02 am
by kala
hi
how can i accept browsing only and block the download ???
thnx

Re: [ask] how to limit only port 80

Posted: Thu Oct 25, 2007 2:04 pm
by janisk
using http protocol everything is download, only difference is extension and size of file you are downloading

Re: [ask] how to limit only port 80

Posted: Thu Oct 25, 2007 2:56 pm
by normis
browsing is downloading. it is the same thing, there is nothing that separates these words.

Re: [ask] how to limit only port 80

Posted: Sun Feb 03, 2008 9:52 pm
by Cobusbu
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.

Re: [ask] how to limit only port 80

Posted: Tue Feb 05, 2008 12:20 am
by Ibersystems
open port 53 for DNS too.

Re: [ask] how to limit only port 80

Posted: Mon Apr 21, 2008 3:29 am
by ahmedsaffar76
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 .