Added vpn vm with wstunnel server
This commit is contained in:
1 parent
a75b839bc1
commit
01374fe5b0
4 files changed
+65
-4
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user