Quick checkpoint of work on networking.
It cost about 2 hours to figure this out from reading the networkd.nix definition. It doesn't actually do what I need it to do, however, because I misunderstood what I need. Still though, I want to save it since it was so hard-earned.
This commit is contained in:
parent
73c9593bfe
commit
67cee9d1f3
|
@ -134,7 +134,7 @@
|
|||
enableACME = false;
|
||||
locations."/".extraConfig = ''
|
||||
proxy_pass http://127.0.0.1:10000;
|
||||
client_body_buffer_size 128k;
|
||||
client_body_buffer_size 128k;
|
||||
client_max_body_size 10G;
|
||||
|
||||
#Timeout if the real server is dead
|
||||
|
@ -253,8 +253,8 @@
|
|||
matchConfig.Name = "enp2s0";
|
||||
networkConfig = {
|
||||
Address = [
|
||||
# Add IPv6 Unique Local Address so we can send pihole traffic to this server
|
||||
"fc00:0000:000::5"
|
||||
"fc00::/64"
|
||||
"2600:8800:2740:16::1/64"
|
||||
];
|
||||
# start a DHCP Client for IPv4 Addressing/Routing
|
||||
DHCP = "ipv4";
|
||||
|
@ -263,6 +263,18 @@
|
|||
};
|
||||
# make routing on this interface a dependency for network-online.target
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
addresses = [{
|
||||
addressConfig = {
|
||||
Address = "::/0";
|
||||
Scope = "global";
|
||||
};
|
||||
}
|
||||
{
|
||||
addressConfig = {
|
||||
Address = "fc00::/64";
|
||||
Scope = "local";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
systemd.services.scan-uploader = {
|
||||
|
|
Loading…
Reference in New Issue