mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-11-22 17:01:57 +01:00
ipv6 attempt
This commit is contained in:
parent
358992dd25
commit
972e627b5d
@ -242,35 +242,33 @@ in {
|
||||
# https://nixos.org/manual/nixos/stable/options.html#opt-networking.enableB43Firmware
|
||||
|
||||
# temporarily disabled
|
||||
enableIPv6 = false;
|
||||
# enableIPv6 = true;
|
||||
|
||||
usePredictableInterfaceNames = false;
|
||||
interfaces.eth0.ipv4.addresses = [
|
||||
{ address = "46.4.96.113";
|
||||
interfaces.eth0 = {
|
||||
ipv4.addresses = [{
|
||||
address = "46.4.96.113";
|
||||
# prefixLength = 27;
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
}];
|
||||
|
||||
/*
|
||||
ipv6.addresses = [{
|
||||
address = "2a01:4f8:140::1";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
*/
|
||||
};
|
||||
|
||||
defaultGateway = "46.4.96.97";
|
||||
/*
|
||||
defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "eth0";
|
||||
};
|
||||
*/
|
||||
nameservers = [ "8.8.8.8" "1.1.1.1" ];
|
||||
|
||||
#interfaces.eno1.ipv6.addresses = [
|
||||
# { address = "2001:41d0:0700:3308::";
|
||||
# prefixLength = 64;
|
||||
# }
|
||||
#
|
||||
# { address = "2001:41d0:0700:33ff::";
|
||||
# prefixLength = 64;
|
||||
# }
|
||||
#];
|
||||
|
||||
#defaultGateway6 = {
|
||||
# address = "2001:41d0:0700:33ff:00ff:00ff:00ff:00ff";
|
||||
# address = "33ff::1";
|
||||
# address = "2001::1";
|
||||
# interface = "eno1";
|
||||
#};
|
||||
|
||||
firewall.allowPing = true;
|
||||
# minecraft proximity voice chat
|
||||
firewall.allowedTCPPorts = [ 24454 24464 25567 25577 4499 21025 ];
|
||||
|
Loading…
Reference in New Issue
Block a user