mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
devices.srv3: add port forward
This commit is contained in:
@@ -63,7 +63,12 @@ inputs:
|
||||
{
|
||||
owner = "chn";
|
||||
hardware = { memoryMB = 512; cpus = 1; };
|
||||
network = { address = 4; vnc.openFirewall = false; portForward.web = [ "example.chn.moe" ]; };
|
||||
network =
|
||||
{
|
||||
address = 4;
|
||||
vnc.openFirewall = false;
|
||||
portForward = { tcp = [{ host = 5693; guest = 22; }]; web = [ "example.chn.moe" ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
rsshub = {};
|
||||
|
||||
Reference in New Issue
Block a user