2
0

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
This commit is contained in:
2025-10-20 23:48:21 +01:00
parent bfb4799075
commit 60ff3ab688
+3 -3
View File
@@ -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
'';
};