wireguard progress

This commit is contained in:
xunuwu 2025-06-01 12:30:22 +02:00
parent 85962b9344
commit c87584c294
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
12 changed files with 178 additions and 29 deletions

View file

@ -14,16 +14,12 @@
accessibleFrom = ["192.168.0.0/24"];
# Forwarded to my vpn, for making things accessible from outside
openVPNPorts = [
{
port = 26449;
openVPNPorts =
lib.range 23000 23010
|> map (num: {
port = num;
protocol = "both";
}
{
port = 26450;
protocol = "both";
}
];
});
# From inside of the vpn namespace to outside of it, for making things inside accessible to LAN
portMappings = [];