FRP
This commit is contained in:
parent
87a81883bd
commit
5a3e57593d
2 changed files with 12 additions and 0 deletions
11
modules/nixos/frp.nix
Normal file
11
modules/nixos/frp.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
services.frp = {
|
||||
enable = true;
|
||||
role = "server";
|
||||
settings = {
|
||||
serverAddr = "0.0.0.0";
|
||||
serverPort = 7000;
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 7000 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue