Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: outbound -> inbound

...

Code Block
languagebash
themeMidnight
ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" root@localhost -p 1114

Connecting to the VM

In the above examples, we did outbound inbound connections from to the VM. We will now create an another inbound connection, where the VM itself acts as a server. This will be a telnet connection.
Boot QEMU Linux with the following extra port redirection argument:

...

Setting the TAP network for QEMU

The TAP networking backend makes use of a TAP networking device in the host. It offers very good performance and can be configured to create virtually any type of network topology.
Unfortunately, it requires configuration of that network topology in the host which tends to be different depending on the operating system you are using. Generally speaking, it also requires that you have root privileges.[1]

Note

You might need to install bridge-utils and uml-utilities on the Linux machine to set up TAP networking. Use the commands shown below to install these tools:

...