Skip to content

Using with virtual machines

Alexander Tauenis edited this page Sep 5, 2024 · 5 revisions

An example of case where WebOne can be used - connecting virtual machines with older Web browsers to modern WWW via host computer.

This article explains how to configure virtual machines and emulators to use WebOne proxy running on host system.

Oracle VirtualBox

  1. Open target virtual machine Settings.
  2. Go to Network tab.
  3. Set adapters properties:
    • If you want to keep direct connection to WWW as alternative route or for non-HTTP protocols:
      • Set Adapter 1 to NAT mode.
      • Enable Adapter 2 and set it to Host-only Adapter.
    • If you don't want to keep direct connection of VM to WWW, set single network adapter to Host-only Adapter mode. All interaction with WWW will be possible only via WebOne proxy server. Also you'll be able to transfer files from host computer to the virtual machine.
  4. Open File -> Host Network Manager. Then look for IP address under Configure Adapter Manually box. This IP address will be which is needs to be set in Web Browser settings in Proxy options.

Microsoft Virtual PC

  1. Open target virtual machine Settings.
  2. Go to Networking configuration.
  3. Set Number of network adapters to 1.
  4. Open Adapter 1 type selection, and choose your real network card name.
  5. Start the virtual machine and ping the host computer to find its IP address. This IP will be which is needs to be set in Web Browser settings.
    • All protocols will work, including HTTP, SMB, IRC, FTP.
    • Be careful, as the VM can access all local network, connected via chosen adapter. Don't run unknown applications such as keygens and cracks, as the may contain network worms. Modern OSes are not gets affected by most of them, but some still can make unhappiness.

Basilisk II, SheepShaver, QEMU

  • They utilize SLIRP for internet connection. It also allowing access to host machine services at 10.0.2.2, so just configure the guest system to use Web Proxy and Secure Web Proxy at 10.0.2.2:8080.
  • In case of QEMU, assuming you're using default configuration, looking like this: qemu-system-ppc.exe (...) -device sungem,netdev=network01 -netdev user,id=network01.
  • In case of SheepShaver or Basilisk II, assuming you're using default configuration with ether slirp line in preferences file.

86box, PCem

  1. Install NPCAP in WinPcap-compatible mode (it will ask for the mode during installation). Then open Device Manager (at host OS), and manually install a "legacy device" called Microsoft KM-TEST Loopback Adapter. The driver is bundled with Windows installation.
  2. Open Network and Sharing Center and configure the KM-Test adapter to use static IP address 192.168.0.1, mask 255.255.255.0. Later this IP will be the IP address of proxy server on host machine.
  3. Go to 86box and set up an configuration with virtualized adapter, connected to PCap->Microsoft KM-TEST Loopback Adapter.
  4. Run old operating system in 86box, and go to TCP/IP settings. Set IP address to 192.168.0.11 ("11" may be any number in range 2-254), subnet mask 255.255.255.0.
  5. Go to Web browser preferences, and set proxy server to 192.168.0.1:8080 or "http://192.168.0.1:8080/auto.pac" auto-configuration script.

UniPCemu

On VOGONS, author of UniPCemu (superfury) said interesting things about work with WebOne.

Currently I have not tested all, but all sounds very interesting.