Skip to content

Commit

Permalink
CLI: Forward tcp/2022=22 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit authored Mar 7, 2024
1 parent fe89090 commit a9dc8ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9dc8ee

Please sign in to comment.