Skip to content

Commit

Permalink
Make wireguard trusted for easier testing and fix kipchoge timeserver
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderwallau committed Apr 9, 2024
1 parent 9abf479 commit eb8bf2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 6 additions & 2 deletions machines/kipchoge/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,14 @@
git
];
networking = {
firewall.trustedInterfaces = ["wg0" "wg1" ];
nameservers = [ "1.1.1.1" "1.0.0.1" ];
# Fallback ntp service, this one being T-Online
timeServers = [ "194.25.134.196" ];
trustedInterfaces = ["wg0" "wg1" ];
ttimeServers = [
"ptbtime1.ptb.de"
"ptbtime2.ptb.de"
"ptbtime3.ptb.de"
];
hostName = "kipchoge";
};
}
7 changes: 5 additions & 2 deletions machines/mayer/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@
interface = "ens3";
};

firewall = { allowedTCPPorts = [ 443 80 9100 9115 ]; };
firewall = {
allowedTCPPorts = [ 443 80 9100 9115 ];
trustedInterfaces = ["wg0" ];
};
nameservers = [ "192.168.69.1" "1.1.1.1" ];

# Fallback ntp service, this one being T-Online
Expand All @@ -108,7 +111,7 @@
"ptbtime2.ptb.de"
"ptbtime3.ptb.de"
];
trustedInterfaces = ["wg0" ];

hostName = "mayer";
};

Expand Down
2 changes: 1 addition & 1 deletion machines/phelps/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@
networking = {
firewall = {
allowedTCPPorts = [ 443 80 ];
trustedInterfaces = [ "wg0" ];
};
nameservers = [ "192.168.69.1" "1.1.1.1" ];
timeServers = [
"ptbtime1.ptb.de"
"ptbtime2.ptb.de"
"ptbtime3.ptb.de"
];
trustedInterfaces = ["wg0"];
hostName = "phelps";
};
}

0 comments on commit eb8bf2b

Please sign in to comment.