feat: add initial config
This commit is contained in:
commit
fb98563bb6
26 changed files with 576 additions and 0 deletions
13
config/endpoints/pi_tunnel.nix
Normal file
13
config/endpoints/pi_tunnel.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
let
|
||||
ports = [80 443 8448];
|
||||
entry = port:
|
||||
{
|
||||
type = "forwarding";
|
||||
listenPort = port;
|
||||
content = {
|
||||
port = 10000 + port;
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
map entry ports
|
||||
Loading…
Add table
Add a link
Reference in a new issue