subnet parameters
This commit is contained in:
@@ -78,8 +78,8 @@ in
|
||||
endpoint = "${config.my.ips.vps}:51820";
|
||||
allowedIPs = [
|
||||
"${config.my.ips.wg-vps}/32"
|
||||
"${config.my.ips.wg-friends}/24" # all friends
|
||||
"${config.my.ips.wg-gs}/24" # all friends
|
||||
config.my.subnets.wg-friends
|
||||
config.my.subnets.wg-guests
|
||||
];
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
|
||||
@@ -8,11 +8,11 @@ let
|
||||
externalInterface = config.my.interfaces.${config.networking.hostName};
|
||||
wgInterface = "wg0";
|
||||
homeServer = config.my.ips.wg-server;
|
||||
wgFriendsSubnet = "${config.my.ips.wg-friends}/24";
|
||||
wgGuestsSubnet = "${config.my.ips.wg-gs}/24";
|
||||
wgServerSubnet = "${config.my.ips.wg-vps}/24";
|
||||
wgFriendsSubnet = config.my.subnets.wg-friends;
|
||||
wgGuestsSubnet = config.my.subnets.wg-guests;
|
||||
wgServerSubnet = config.my.subnets.wg-homelab;
|
||||
wgFriend1 = config.my.ips.wg-friend1;
|
||||
wgGuest1 = config.my.ips.wg-g1;
|
||||
wgGuest1 = config.my.ips.wg-guest1;
|
||||
giteaSshPort = 22;
|
||||
giteaSshPortStr = toString giteaSshPort;
|
||||
sshPort = 3456;
|
||||
|
||||
Reference in New Issue
Block a user