nix-serve est disponible uniquement par tinc

pull/7/head
Yves Dubromelle 8 years ago
parent ae4c1edee0
commit f0627eb800

@ -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
'';
};
}

Loading…
Cancel
Save