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

Alexey Eromenko al4321 at gmail.com
Fri Jan 9 17:03:54 GMT 2015


I am using the good-old NAT, available since VirtualBox v1.x

On Fri, Jan 9, 2015 at 4:53 PM, Frank Mehnert <frank.mehnert at oracle.com> wrote:
> Alexey,
>
> 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 10.0.2.15 IP)
>> VM2: NAT host at 2443 -> guest:443 (default 10.0.2.15 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?
>
> Frank
> --
> 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
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev



-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list