0% found this document useful (0 votes)
64 views2 pages

Pppoe Bandwidth Script - by Jose

The document contains scripts that define bandwidth limits for different internet usage categories for users with connections of 5Mbps, 10Mbps, 20Mbps and the current MJAE settings of 120Mbps. Each script uses the /queue simple command to classify traffic for categories like browsing, streaming, games etc and set corresponding maximum limits and priorities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views2 pages

Pppoe Bandwidth Script - by Jose

The document contains scripts that define bandwidth limits for different internet usage categories for users with connections of 5Mbps, 10Mbps, 20Mbps and the current MJAE settings of 120Mbps. Each script uses the /queue simple command to classify traffic for categories like browsing, streaming, games etc and set corresponding maximum limits and priorities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

auto delete script

/queue simple remove [find name~$user]

5mbps script
/queue simple
add max-limit=5M/5M parent=PPPoE name=$user target=$"remote-address"
add limit-at=64k/64k max-limit=2M/2M name=($user."-browsing") packet-
marks=browsing-pkt \
parent=$user priority=5/5 target=""
add limit-at=128k/128k max-limit=3M/3M name=($user."-streaming") packet-marks=\
"streaming-pkt" parent=$user priority=6/6 target=""
add limit-at=128k/128k max-limit=2M/2M name=($user."-Facebook") packet-marks=\
facebook-pkt parent=$user priority=3/3 target=""
add limit-at=64k/64k max-limit=1M/1M name=($user."-online games") packet-marks=\
ml-pkt,crossfire-pkt,ros-pkt,dota2-pkt,lol-pkt,cod-pkt,pubg-pkt \
parent=$user priority=1/1 target=""
add limit-at=128k/128k max-limit=2M/2M name=($user."-downloading") packet-marks=\
downloading-pkt parent=$user target=""
add limit-at=128k/128k max-limit=1M/1M name=($user."-Torrent") packet-marks=\
torrent-pkt parent=$user priority=3/3 target=""

10mbps script
/queue simple
add max-limit=10M/10M parent=PPPoE name=$user target=$"remote-address"
add limit-at=128k/128k max-limit=5M/5M name=($user."-browsing") packet-
marks=browsing-pkt \
parent=$user priority=5/5 target=""
add limit-at=128k/128k max-limit=7M/7M name=($user."-streaming") packet-marks=\
"streaming-pkt" parent=$user priority=6/6 target=""
add limit-at=128k/128k max-limit=5M/5M name=($user."-Facebook") packet-marks=\
facebook-pkt parent=$user priority=3/3 target=""
add limit-at=64k/64k max-limit=3M/3M name=($user."-online games") packet-marks=\
ml-pkt,crossfire-pkt,ros-pkt,dota2-pkt,lol-pkt,cod-pkt,pubg-pkt \
parent=$user priority=1/1 target=""
add limit-at=128k/128k max-limit=3M/3M name=($user."-downloading") packet-marks=\
downloading-pkt parent=$user target=""
add limit-at=128k/128k max-limit=2M/2M name=($user."-Torrent") packet-marks=\
torrent-pkt parent=$user priority=3/3 target=""

20mbps script
/queue simple
add max-limit=20M/20M parent=PPPoE name=$user target=$"remote-address"
add limit-at=128k/128k max-limit=10M/10M name=($user."-browsing") packet-
marks=browsing-pkt \
parent=$user priority=5/5 target=""
add limit-at=128k/128k max-limit=15M/15M name=($user."-streaming") packet-marks=\
"streaming-pkt" parent=$user priority=6/6 target=""
add limit-at=128k/128k max-limit=12M/12M name=($user."-Facebook") packet-marks=\
facebook-pkt parent=$user priority=3/3 target=""
add limit-at=64k/64k max-limit=7M/7M name=($user."-online games") packet-marks=\
ml-pkt,crossfire-pkt,ros-pkt,dota2-pkt,lol-pkt,cod-pkt,pubg-pkt \
parent=$user priority=1/1 target=""
add limit-at=128k/128k max-limit=5M/5M name=($user."-downloading") packet-marks=\
downloading-pkt parent=$user target=""
add limit-at=128k/128k max-limit=2M/2M name=($user."-Torrent") packet-marks=\
torrent-pkt parent=$user priority=3/3 target=""

******************************************
MJAE CURRENT SETTINGS
/queue simple
add max-limit=120M/120M parent=PPPoE name=$user target=$"remote-address"
add limit-at=128k/128k max-limit=80M/80M name=($user."-browsing") packet-
marks=browsing-pkt \
parent=$user priority=5/5 target=""
add limit-at=128k/128k max-limit=7M/7M name=($user."-streaming") packet-marks=\
"streaming-pkt" parent=$user priority=6/6 target=""
add limit-at=128k/128k max-limit=5M/5M name=($user."-Facebook") packet-marks=\
facebook-pkt parent=$user priority=3/3 target=""
add limit-at=64k/64k max-limit=3M/3M name=($user."-online games") packet-marks=\
ml-pkt,crossfire-pkt,ros-pkt,dota2-pkt,lol-pkt,cod-pkt,pubg-pkt \
parent=$user priority=1/1 target=""
add limit-at=128k/128k max-limit=3M/3M name=($user."-downloading") packet-marks=\
downloading-pkt parent=$user target=""
add limit-at=128k/128k max-limit=2M/2M name=($user."-Torrent") packet-marks=\
torrent-pkt parent=$user priority=3/3 target=""

You might also like