im lazy
This commit is contained in:
parent
f1c1d34b4c
commit
700354d844
11 changed files with 441 additions and 105 deletions
|
|
@ -61,6 +61,12 @@ in {
|
|||
hostName = "hyrule";
|
||||
networkmanager.enable = true;
|
||||
|
||||
# Use CloudFlare's WARP+ 1.1.1.1 DNS service
|
||||
nameservers = [
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
];
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
|
|
@ -82,28 +88,28 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
address = [
|
||||
"10.10.10.4/24"
|
||||
];
|
||||
dns = ["10.10.10.1"];
|
||||
privateKeyFile = "/root/wg_agrivpn_hyrule";
|
||||
peers = [
|
||||
{
|
||||
# peer's public key
|
||||
publicKey = "iZ4aqYjbT8O8tfUHEuV+yWLtdoQbdBb6Nt0M4usMSiY=";
|
||||
# wg-quick.interfaces = {
|
||||
# wg0 = {
|
||||
# address = [
|
||||
# "10.10.10.4/24"
|
||||
# ];
|
||||
# dns = ["10.10.10.1"];
|
||||
# privateKeyFile = "/root/wg_agrivpn_hyrule";
|
||||
# peers = [
|
||||
# {
|
||||
# # peer's public key
|
||||
# publicKey = "iZ4aqYjbT8O8tfUHEuV+yWLtdoQbdBb6Nt0M4usMSiY=";
|
||||
|
||||
# choose which traffic to forward
|
||||
allowedIPs = [
|
||||
"10.0.51.0/24"
|
||||
"10.10.10.0/24"
|
||||
];
|
||||
endpoint = "150.242.34.33:54231";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
# # choose which traffic to forward
|
||||
# allowedIPs = [
|
||||
# "10.0.51.0/24"
|
||||
# "10.10.10.0/24"
|
||||
# ];
|
||||
# endpoint = "150.242.34.33:54231";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
users = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue