This commit is contained in:
2025-08-01 00:13:13 -05:00
parent f99e5f87b2
commit 65ce8b14e1
2 changed files with 28 additions and 9 deletions

View File

@@ -6,9 +6,9 @@
};
config = lib.mkIf config.sysconfig.opts.virtualization.rustdesk.enable {
/*
networking = {
firewall.allowedTCPPorts = [ 21115 21116 21117 ];
firewall.allowedTCPPorts = [ 21115 21116 21117 21118 21119 ];
firewall.allowedUDPPorts = [ 21116 ];
};
containers.rustdesk = {
@@ -21,18 +21,39 @@
{
containerPort = 21115;
hostPort = 21115;
protocol = "tcp";
}
{
containerPort = 21116;
hostPort = 21116;
protocol = "tcp";
}
{
containerPort = 21116;
hostPort = 21116;
protocol = "udp";
}
{
containerPort = 21117;
hostPort = 21117;
protocol = "tcp";
}
{
containerPort = 21118;
hostPort = 21118;
protocol = "tcp";
}
{
containerPort = 21119;
hostPort = 21119;
protocol = "tcp";
}
];
config = {
*/
services.rustdesk-server = {
enable = true;
@@ -48,19 +69,17 @@
signal = {
enable = true;
relayHosts = [ "blunkall.us:21117" ];
#relayHosts = [ "localhost:21117" ];
#relayHosts = [ "blunkall.us" ];
relayHosts = [ "192.168.100.27" ];
extraArgs = [
"-k"
"AAAAC3NzaC1lZDI1NTE5AAAAIIPztDjwgB3xCza5+p5z1jpGVYoVQNl3fqD69pPCm0NA"
];
};
};
/*
system.stateVersion = "24.05";
};
};
*/
};
}