forked from fediversity/fediversity
Compare commits
1 commit
10d354731c
...
3978f96bf4
| Author | SHA1 | Date | |
|---|---|---|---|
| 3978f96bf4 |
1 changed files with 7 additions and 10 deletions
|
|
@ -21,8 +21,13 @@ in
|
||||||
## REVIEW: Do we actually need that, considering that we have static IPs?
|
## REVIEW: Do we actually need that, considering that we have static IPs?
|
||||||
useDHCP = mkDefault true;
|
useDHCP = mkDefault true;
|
||||||
|
|
||||||
## Disable the default firewall and use nftables instead, with a custom
|
nameservers = [
|
||||||
## Procolix-made ruleset.
|
"95.215.185.6"
|
||||||
|
"95.215.185.7"
|
||||||
|
"2a00:51c0::5fd7:b906"
|
||||||
|
"2a00:51c0::5fd7:b907"
|
||||||
|
];
|
||||||
|
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
nftables = {
|
nftables = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -39,10 +44,6 @@ in
|
||||||
address = config.fediversityVm.ipv4.gateway;
|
address = config.fediversityVm.ipv4.gateway;
|
||||||
interface = config.fediversityVm.ipv4.interface;
|
interface = config.fediversityVm.ipv4.interface;
|
||||||
};
|
};
|
||||||
nameservers = [
|
|
||||||
"95.215.185.6"
|
|
||||||
"95.215.185.7"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
## IPv6
|
## IPv6
|
||||||
|
|
@ -54,10 +55,6 @@ in
|
||||||
address = config.fediversityVm.ipv6.gateway;
|
address = config.fediversityVm.ipv6.gateway;
|
||||||
interface = config.fediversityVm.ipv6.interface;
|
interface = config.fediversityVm.ipv6.interface;
|
||||||
};
|
};
|
||||||
nameservers = [
|
|
||||||
"2a00:51c0::5fd7:b906"
|
|
||||||
"2a00:51c0::5fd7:b907"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue