From fa184a03b4d17d419199c9ac3aaadddc16a3820f Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 11 Jun 2020 18:39:43 +0200 Subject: [PATCH] fireqos: fix mosh and workhorse setup --- configs/workhorse/configuration.nix | 2 +- system/all/networking-qos.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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%