commentaire

nixos-19.09
Jean-Pierre PRUNARET 8 years ago
parent b8106deb18
commit dfe2bde371

@ -23,6 +23,7 @@ mkIf true {
"net.ipv6.conf.default.temp_valid_lft" = 3600; # 1 heure
"net.ipv6.conf.default.use_tempaddr" = 2; # activé
# Activation du routage
"net.ipv6.conf.all.forwarding" = true;
"net.ipv6.conf.default.forwarding" = true;
};

@ -16,6 +16,7 @@ mkIf true {
127.0.0.1 ${config.networking.hostName}
'';
# Activation du routage
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
"net.ipv4.conf.default.forwarding" = true;

Loading…
Cancel
Save