feat: runtime users and inbounds
This commit is contained in:
36 files changed
+2932
-83
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
services.proxy-suite.inbounds.runtime = {
|
||||
enable = true;
|
||||
ports = [ "20000-20099" ]; # runtime listeners bind only here; opened in the firewall
|
||||
vias = [ "direct" ]; # exits besides routing.via and "block"
|
||||
tlsCertificates.main = { # named, so a runtime listener never points at a file
|
||||
certificateFile = "/var/lib/acme/vpn.example.com/fullchain.pem";
|
||||
keyFile = "/var/lib/acme/vpn.example.com/key.pem";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user