commit 60ff3ab6888d17894e80f1f861b03ee6b14462a2
parent bfb47990759d1cea77e5ad0f3dc6051ef66bcdd4
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 20 Oct 2025 23:48:21 +0100
bordervm espose 443 for logs not 9428
this is because nginx is proxying them.
probably we should pick a non-default port all the same, but need to
investigate what's convention here
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix
@@ -131,8 +131,8 @@ in
# expose victorialogs on host so (clients attached to) guest
# can log
from = "guest"; # packets are forwarded from guest
- guest.address = "10.0.2.10"; guest.port = 9428;
- host.address = "127.0.0.1"; host.port = 9428;
+ guest.address = "10.0.2.10"; guest.port = 443;
+ host.address = "127.0.0.1"; host.port = 443;
}
{
from = "guest"; # packets are forwarded from guest
@@ -210,7 +210,7 @@ in
iptables -t nat -A PREROUTING -p tcp --dport $2 -j DNAT --to-destination $1:$2
iptables -t nat -A POSTROUTING -p tcp -d $1 --dport $2 -j SNAT --to-source 10.0.0.1
}
- portfwd 10.0.2.10 9428
+ portfwd 10.0.2.10 443
portfwd 10.0.2.10 19613
'';
};