enable Bouygues IPv6
This commit is contained in:
parent
4d10ab6aca
commit
55d8e55d3e
@ -23,6 +23,8 @@
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
|
||||
tmp.useTmpfs = true;
|
||||
|
||||
kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
|
||||
};
|
||||
|
||||
documentation.nixos.enable = false;
|
||||
@ -88,6 +90,7 @@
|
||||
};
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPorts = [ ];
|
||||
interfaces.eno2 = {
|
||||
@ -101,7 +104,11 @@
|
||||
3483 # Slimserver
|
||||
];
|
||||
};
|
||||
enable = true;
|
||||
extraCommands = ''
|
||||
ip6tables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
ip6tables -A FORWARD -j ACCEPT -i eno2
|
||||
ip6tables -A FORWARD -j nixos-fw-log-refuse
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@ -118,6 +125,12 @@
|
||||
IPv6AcceptRA = "yes";
|
||||
};
|
||||
};
|
||||
"40-eno2" = {
|
||||
networkConfig = {
|
||||
IPv6SendRA = "yes";
|
||||
DHCPPrefixDelegation = "yes";
|
||||
};
|
||||
};
|
||||
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user