Added vpn vm with wstunnel server

This commit is contained in:
Jan-Bulthuis committed 2025-05-28 12:23:31 +02:00
1 parent a75b839bc1
commit 01374fe5b0
4 files changed
+65 -4

No files matched your search

+13
View File
@@ -10,8 +10,21 @@
# Admin users
users.users.jan.extraGroups = [ "wheel" ];
# Enable virtualisation for VMs
virtualisation.libvirtd.enable = true;
# Set up wstunnel client
services.wstunnel = {
enable = true;
clients.wg-tunnel = {
connectTo = "wss://wstunnel.bulthuis.dev:443";
localToRemote = [
"udp://51820:10.10.40.100:51820"
];
};
};
# Module setup
modules = {
profiles.laptop.enable = true;
};