Add nginx

This commit is contained in:
mups 2024-11-29 16:09:24 +00:00
parent a130d322d5
commit 62833663ad
3 changed files with 67 additions and 12 deletions

View file

@ -44,13 +44,19 @@
${pkgs.iptables}/bin/ip6tables -t nat -D POSTROUTING -s fdc9:281f:04d7:9ee9::1/64 -o ens3 -j MASQUERADE
'';
peers = [{ # peer0
publicKey = "MDBdADwP/SE/T9cadXB1Mup7Dr3x+l6gBFBN83BU4Dg=";
presharedKeyFile = "/home/muon/wireguard-keys/psk-muon";
allowedIPs = [ "10.0.0.2/32" "fdc9:281f:04d7:9ee9::2/128" ];
}
# More peers can be added here.
];
peers = [
{ # peer0
publicKey = "MDBdADwP/SE/T9cadXB1Mup7Dr3x+l6gBFBN83BU4Dg=";
presharedKeyFile = "/home/muon/wireguard-keys/psk-muon";
allowedIPs = [ "10.0.0.2/32" "fdc9:281f:04d7:9ee9::2/128" ];
}
{ # peer1
publicKey = "ohf/tGV9bjDDh/i9U5+DNvFtn+Glm8Wy1ieHoPvXfCo=";
presharedKeyFile = "/home/muon/wireguard-keys/psk-muho";
allowedIPs = [ "10.0.0.3/32" "fdc9:281f:04d7:9ee9::3/128" ];
}
# More peers can be added here.
];
};
};