This commit is contained in:
Filippo Berto 2025-08-02 15:33:55 +02:00
parent 87a81883bd
commit 5a3e57593d
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 12 additions and 0 deletions

11
modules/nixos/frp.nix Normal file
View file

@ -0,0 +1,11 @@
{
services.frp = {
enable = true;
role = "server";
settings = {
serverAddr = "0.0.0.0";
serverPort = 7000;
};
};
networking.firewall.allowedTCPPorts = [ 7000 ];
}