vpn-module #44

Merged
kalipso merged 11 commits from vpn-module into master 2024-12-17 11:30:36 +01:00
Showing only changes of commit 96e48dc35e - Show all commits

View File

@@ -1,5 +1,7 @@
{config, pkgs, ...}:
{
sops.secrets.wireguard_private = {};
# enable NAT
networking.nat.enable = true;
networking.nat.externalInterface = "eth0";
@@ -42,7 +44,6 @@
{ # Feel free to give a meaningfull name
# Public key of the peer (not a file path).
publicKey = "SfokXbgmvSmodgPFoVHjwmHE3nriQ3OTQ+hISU/3eW4=";
# To decrypt the private key to use
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
allowedIPs = [ "10.100.0.2/32" ];