diff --git a/base/activation-manuelle/nix-serve-server.nix b/base/activation-manuelle/nix-serve-server.nix index f9e633d..1a9e42d 100644 --- a/base/activation-manuelle/nix-serve-server.nix +++ b/base/activation-manuelle/nix-serve-server.nix @@ -19,9 +19,13 @@ mkIf cfg.nix-serve-server { # Réseau networking.firewall = { allowedTCPPorts = [ - 5000 + #5000 # ouvert sur tinc ]; allowedUDPPorts = [ ]; + extraCommands = '' + iptables -A INPUT -i tinc.grudunet -p tcp --dport 5000 -j ACCEPT + ip6tables -A INPUT -i tinc.grudunet -p tcp --dport 5000 -j ACCEPT + ''; }; }