This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# общая полоса | |
set traffic-policy shaper myShaper_downstream bandwidth 100mbit | |
# ===================================================================== | |
# с.Біляки | |
# ===================================================================== | |
# Даценко И.Ю. 10.10.0.21 | |
set traffic-policy shaper myShaper_downstream class 2 bandwidth 5mbit | |
set traffic-policy shaper myShaper_downstream class 2 match client2 ip source address 10.10.0.21/24 | |
# ===================================================================== | |
# Роговенко М.И. 10.10.0.22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 QOS for VOIP calls | |
Taken directly from this page | |
Assumes your LAN is on eth0, Internet is eth1, and 30/6Mbps connection. | |
# Set-up the details of the DownStream Policy | |
set traffic-policy shaper DownStream description "DownStream QoS policy" | |
set traffic-policy shaper DownStream bandwidth 30000kbit | |
set traffic-policy shaper DownStream class 10 description "RTP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
set traffic-policy shaper myShaper bandwidth 20mbit | |
# | |
set traffic-policy shaper myShaper default bandwidth 15% | |
set traffic-policy shaper myShaper default ceiling 35% | |
set traffic-policy shaper myShaper priority 7 | |
# http, https: | |
set traffic-policy shaper myShaper class 2 match PORT80 ip source port 80 | |
set traffic-policy shaper myShaper class 2 bandwidth 20% | |
set traffic-policy shaper myShaper class 2 ceiling 70% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubnt@ubnt:~$ configure | |
[edit] | |
ubnt@ubnt# set traffic-policy shaper shaper1 bandwidth 100mbit | |
[edit] | |
ubnt@ubnt# set traffic-policy shaper shaper1 class 2 bandwidth 10mbit | |
[edit] | |
ubnt@ubnt# set traffic-policy shaper shaper1 class 2 match client2 ip source address 192.168.0.2/32 | |
[edit] | |
ubnt@ubnt# set traffic-policy shaper shaper1 class 3 bandwidth 20mbit | |
[edit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://поток.укр | |
# fair-queue based settings for EdgeRouter Lite traffic shaping | |
# | |
# download is typically 30 and change. everything can burst to 100% | |
# of bandwidth, priority rules keep the garbage in check | |
# ======================================================================= | |
set traffic-policy shaper download | |
set traffic-policy shaper download bandwidth 12Mbit | |
# ======================================================================= | |
# DOWNLOAD - eth2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All destination UDP ports: 20013, 20014, 20018, 32801-32825 | |
TCP game ports: 80, 443, 1080, 3128, 8080, 8081, 8088, 8888, 53, 20000-25000, 32801, and 32803 | |
UDP voice chat ports: 12000-29999, 5060, 5062, 3478, 3479 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set traffic-policy shaper shaper1 bandwidth 100mbit | |
set traffic-policy shaper shaper1 default bandwidth 60mbit | |
set traffic-policy shaper shaper1 class 2 bandwidth 20mbit | |
set traffic-policy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32 | |
set traffic-policy shaper shaper1 class 3 bandwidth 20mbit | |
set traffic-policy shaper shaper1 class 3 match client3 ip source address 10.0.1.3/32 | |
set interfaces ethernet eth0 traffic-policy out shaper1 | |
commit |