hi, how to limit only for browsing (port 80, etc)
TQ
Hi ;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.
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"