Small wireguard changes
This commit is contained in:
parent
986ff8c3d1
commit
c188a30dc2
|
@ -1,5 +1,9 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [ 51820 ];
|
||||
};
|
||||
|
||||
networking.wireguard.interfaces = {
|
||||
"${config.ips.wgInt}" = {
|
||||
# Define IP of client in per device config
|
||||
|
|
|
@ -21,10 +21,6 @@
|
|||
publicKey = config.secrets.wgPixel9Pub;
|
||||
allowedIPs = [ "${config.ips.wgSpan}.2/32" ];
|
||||
}
|
||||
{ # Oracle VM
|
||||
publicKey = config.secrets.wgOraclePub;
|
||||
allowedIPs = [ "${config.ips.wgSpan}.3/32" ];
|
||||
}
|
||||
{ # General Nix
|
||||
publicKey = config.secrets.wgClientPub;
|
||||
allowedIPs = [ "${config.ips.wgSpan}.16/28" ];
|
||||
|
|
Loading…
Reference in a new issue