From a9dc8ee0c38483f2127e7274770b76cc0f5a110d Mon Sep 17 00:00:00 2001 From: LekKit <50500857+LekKit@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:37:50 +0200 Subject: [PATCH] CLI: Forward tcp/2022=22 by default --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index ee4054939..352b55238 100644 --- a/src/main.c +++ b/src/main.c @@ -255,6 +255,8 @@ static int rvvm_cli_main(int argc, const char** argv) #ifdef USE_NET if (!rvvm_has_arg("nonet")) { tap = tap_open(); + tap_portfwd(tap, "tcp/[::1]:2022=22"); + tap_portfwd(tap, "tcp/127.0.0.1:2022=22"); rtl8169_init(rvvm_get_pci_bus(machine), tap); } #endif