diff --git a/configs/workhorse/configuration.nix b/configs/workhorse/configuration.nix index 925cc4a..ac9935a 100644 --- a/configs/workhorse/configuration.nix +++ b/configs/workhorse/configuration.nix @@ -56,7 +56,7 @@ # nix-shell -p speedtest_cli --run speedtest configuration.fireqos = { enable = true; - interface = "eth0"; + interface = "enp2s0f1"; input = 45000; output = 8000; balance = false; diff --git a/system/all/networking-qos.nix b/system/all/networking-qos.nix index 95ff110..645fca9 100644 --- a/system/all/networking-qos.nix +++ b/system/all/networking-qos.nix @@ -90,7 +90,9 @@ } 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 class public commit 80%