Internet and port forwarding in a VM

How guest internet works, the free speed limit, and how to forward a port so you can reach SSH or a web server inside the VM.

A VM reaches the internet through your phone's connection, with no setup. Under Network in the VM's settings, Internet access is the switch. The row says it shares the phone's connection through NAT, which means the VM sits behind your phone like a device behind a router.

Internet speed

The free version limits VM internet to about 2 Mbit/s. Zelicra Pro removes the limit. If downloads inside the VM are slow, this is the usual reason.

If there is no internet at all, check that Internet access is on, and that Start with network unplugged is off. When that switch is on, the VM starts with its network cable out, and you plug it in from the control menu.

Reach your phone from the VM

Reach this phone's local services lets the guest connect to apps listening on your phone, at 10.0.2.2. It needs Pro. Turn it off for guests you do not trust.

Port forwarding

Port forwarding lets an app on your phone reach a port inside the VM, for example SSH or a web server. It needs Pro, and Internet access must be on.

  1. Open the VM's settings and find Port forwarding.
  2. Tap Add forward.
  3. Choose TCP or UDP.
  4. Enter a Host port (on 127.0.0.1) from 1024 to 65535. This is the port you connect to on your phone.
  5. Enter the Guest port, from 1 to 65535. This is the port the service uses inside the VM, such as 22 for SSH.
  6. Start the VM, then connect an app on your phone to 127.0.0.1 and the host port.

Each host port can be used once per protocol. For Android guests, Restore adb forward brings back the forward to adb port 5555, and Copy copies the ready-made adb connect command.

Any app on your phone can connect to a forwarded port, so remove forwards you no longer use. Forwards you set up stay saved if you drop back to the free version, and they work again with Pro.

Still stuck? email hello@zelicra.com with your phone model and what you tried.