fireqos: fix mosh and workhorse setup
This commit is contained in:
parent
9a4225e39a
commit
fa184a03b4
2 changed files with 4 additions and 2 deletions
|
@ -56,7 +56,7 @@
|
||||||
# nix-shell -p speedtest_cli --run speedtest
|
# nix-shell -p speedtest_cli --run speedtest
|
||||||
configuration.fireqos = {
|
configuration.fireqos = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interface = "eth0";
|
interface = "enp2s0f1";
|
||||||
input = 45000;
|
input = 45000;
|
||||||
output = 8000;
|
output = 8000;
|
||||||
balance = false;
|
balance = false;
|
||||||
|
|
|
@ -90,7 +90,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
class ssh commit 300kbit
|
class ssh commit 300kbit
|
||||||
match tcp port 22,2222
|
match dport 22 # ssh
|
||||||
|
match dport 2222 # gogs ssh
|
||||||
|
match udp dport 60001:60999 # mosh
|
||||||
|
|
||||||
# public servers
|
# public servers
|
||||||
class public commit 80%
|
class public commit 80%
|
||||||
|
|
Loading…
Reference in a new issue