[vbox-dev] NAT: port forwarding issues / collision

Frank Mehnert frank.mehnert at oracle.com
Fri Jan 9 14:53:52 UTC 2015


On Wednesday 07 January 2015 12:18:03 Alexey Eromenko wrote:
> Host: Windows 7, Core i7, VBox 4.3.18
> Guests: Linux, RHEL6 (CLI-only)
> Setup localhost + 2 web servers VMs.
> VM1: NAT host at 1443 -> guest:443 (default IP)
> VM2: NAT host at 2443 -> guest:443 (default IP)
> I connect by typing in local web browser:
> https://localhost:1443
> When I connect via HTTPS to first VM, it's okay, but when I connect to
> second VM, the first one disconnects (connection timeout), and then I
> get access to 2nd VM, and after I try to reconnect to 1st VM, 2nd VM
> immediately disconnects, so there is some collision between NAT engine
> on both VMs.
> No way to connect to both VMs, from localhost web browser.
> Not sure why this happens, as SLIRP NAT module is supposed to be
> user-space, per-VM process.

are you using 'NAT' or 'NAT network' for both VMs?

Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

More information about the vbox-dev mailing list