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