fix wg?
This commit is contained in:
parent
0ffa03226e
commit
de39af93c3
|
@ -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/24" ];
|
ips = [ "10.100.0.1/32" ];
|
||||||
|
|
||||||
# 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;
|
||||||
|
@ -147,17 +147,17 @@
|
||||||
# nixos76 laptop
|
# nixos76 laptop
|
||||||
publicKey = "KVViY+Bgu7PoBeS+rthcyQVQB03IdolxDzc5ZwsdNnM=";
|
publicKey = "KVViY+Bgu7PoBeS+rthcyQVQB03IdolxDzc5ZwsdNnM=";
|
||||||
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
|
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
|
||||||
allowedIPs = [ "10.100.0.2/24" ];
|
allowedIPs = [ "10.100.0.2/32" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# josh's laptop
|
# josh's laptop
|
||||||
publicKey = "MdHzEaX6BkgOLZcIAFdgxYt0iDdh2vL25jMjuTFVDVM=";
|
publicKey = "MdHzEaX6BkgOLZcIAFdgxYt0iDdh2vL25jMjuTFVDVM=";
|
||||||
allowedIPs = [ "10.100.0.3/24" ];
|
allowedIPs = [ "10.100.0.3/32" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# alex android op9t
|
# alex android op9t
|
||||||
publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk=";
|
publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk=";
|
||||||
allowedIPs = [ "10.100.0.4/24" ];
|
allowedIPs = [ "10.100.0.4/32" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue