From 664ed69aff162eeed82ca79c4f877bcc126d9cf1 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Fri, 27 Dec 2024 14:48:00 +0800 Subject: [PATCH] nixos/configurations/adrastea/networking: disable dante --- nixos/configurations/adrastea/networking.nix | 27 -------------------- 1 file changed, 27 deletions(-) diff --git a/nixos/configurations/adrastea/networking.nix b/nixos/configurations/adrastea/networking.nix index 33d60dda..1f782943 100644 --- a/nixos/configurations/adrastea/networking.nix +++ b/nixos/configurations/adrastea/networking.nix @@ -20,33 +20,6 @@ in networking.dhcpcd.enable = false; networking.useDHCP = false; - services.dante.enable = true; - services.dante.config = '' - internal: 0.0.0.0 port = 20179 - external: br0 - clientmethod: none - socksmethod: none - client pass { - from: 0.0.0.0/0 to: 0.0.0.0/0 - log: error connect disconnect - } - socks pass { - from: 0.0.0.0/0 to: 10.3.2.104/32 - command: bind connect udpassociate bindreply udpreply - log: error connect disconnect iooperation - } - socks pass { - from: 0.0.0.0/0 to: 10.3.2.130/32 - command: bind connect udpassociate bindreply udpreply - log: error connect disconnect iooperation - } - socks pass { - from: 0.0.0.0/0 to: 10.208.130.239/32 - command: bind connect udpassociate bindreply udpreply - log: error connect disconnect iooperation - } - ''; - systemd.network.enable = true; systemd.network.networks = { "20-br0" = {