-
Notifications
You must be signed in to change notification settings - Fork 21
Using with virtual machines
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.
- Open target virtual machine Settings.
- Go to Network tab.
- 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.
- If you want to keep direct connection to WWW as alternative route or for non-HTTP protocols:
- 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.
- Open target virtual machine Settings.
- Go to Networking configuration.
- Set Number of network adapters to 1.
- Open Adapter 1 type selection, and choose your real network card name.
- 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.
- Making connections from guest system to host is impossible via SLIRP. Use PCAP mode (not available in Basilisk II, SheepShaver, not fully supported by PCem).
- Another method is to rent a virtual hosting (VPS), and run WebOne on it. So the proxy server will have a public white IP and will be accessible through Internet even via SLIRP on your PC. In case of using a VPS it is important to set proxy password, as the server will be found via port scanners and will be used by hackers too.
- 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.
- 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.
- Go to 86box and set up an configuration with virtualized adapter, connected to PCap->Microsoft KM-TEST Loopback Adapter.
- 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.
- 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.
Assuming you're using default configuration, looking like this: qemu-system-ppc.exe (...) -device sungem,netdev=network01 -netdev user,id=network01. It allowing access to host machine services at 10.0.2.2, so just configure guest system to use Web Proxy and Secure Web Proxy at 10.0.2.2:8080.
On VOGONS, author of UniPCemu (superfury) said interesting things about work with WebOne.
- https://www.vogons.org/viewtopic.php?p=811811#p811811 (and below)
- https://www.vogons.org/viewtopic.php?p=1037578#p1037578
- https://www.vogons.org/viewtopic.php?p=1061620#p1061620
Currently I have not tested all, but all sounds very interesting.
- Release Archive
- Websites edits / Syntax of traffic edits
- Known bugs / Report a new bug
- Windows installation
- Linux installation
- macOS installation
- Android installation
- Configuration file
- Command line arguments
Usage:
- Installing the Root Certificate
- YouTube playback
- Using with ViewTube
- Using with virtual machines
- Using with FTP servers
- Using with MSN Messenger
Web standards timeline:
Troubleshooting guides:
Developer corner: