wireguard

This commit is contained in:
alex 2024-02-18 17:34:17 -05:00
parent e41293df05
commit ce0a8151fd
1 changed files with 6 additions and 1 deletions

View File

@ -116,7 +116,7 @@
# "wg0" is the network interface name. You can name the interface arbitrarily. # "wg0" is the network interface name. You can name the interface arbitrarily.
wg0 = { wg0 = {
# Determines the IP address and subnet of the server's end of the tunnel interface. # Determines the IP address and subnet of the server's end of the tunnel interface.
ips = [ "10.100.0.1/32" ]; ips = [ "10.100.0.1/24" ];
# The port that WireGuard listens to. Must be accessible by the client. # The port that WireGuard listens to. Must be accessible by the client.
listenPort = 51820; listenPort = 51820;
@ -159,6 +159,11 @@
publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk="; publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk=";
allowedIPs = [ "10.100.0.4/32" ]; allowedIPs = [ "10.100.0.4/32" ];
} }
{
# alex thelio desktop
publicKey = "UIAOvMhHp6W77pAo+mLb3XluzOrk095SgCvaE0ErAEY=";
allowedIPs = [ "10.100.0.10/32" ];
}
]; ];
}; };
}; };