From: "Massimo S." Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 251450 for virtualized_ecs_users@2rosenthals.com; Tue, 14 Jan 2020 05:26:03 -0500 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:45964 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1irJOf-0001bB-12 for virtualized_ecs_users@2rosenthals.com; Tue, 14 Jan 2020 05:26:05 -0500 Received: from mail2.quasarbbs.net ([80.86.52.115]:10103) by mail2.2rosenthals.com with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1irJFY-0003aM-0C for virtualized_ecs_users@2rosenthals.com; Tue, 14 Jan 2020 05:16:40 -0500 Received: from [192.168.10.199] (dtp [192.168.10.199]) by srv2 (Weasel v2.71) for ; 14 Jan 2020 11:16:38 X-CTCH-RefID: str=0001.0A020211.5E1D973D.0028,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-RefID: str=0001.0A020207.5E1D9508.0017,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Reply-To: ml@ecomstation.it Subject: Re: [Virtualized eCS] virtual box VM and internet public IP - success To: Virtualized eCS Users Mailing List References: Organization: eComStation dot it Message-ID: Date: Tue, 14 Jan 2020 11:16:37 +0100 User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; it-IT; rv:1.7.13) Gecko/20060424 Thunderbird/1.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it-IT Content-Transfer-Encoding: 7bit Il 14/01/2020 10:14, Massimo S. ha scritto: > > > Il 14/01/2020 01:09, Doug Bissett ha scritto: >> On 2020-01-13, at 22:55:05, Massimo S. wrote: >>> >>> Hi all, >>> >>> is it possible to assign an internet public IP to a virtual box guest >>> VM? >>> >>> i can't find that anywere on the internet/docs/forums etc.. >>> >>> massimo >> >> Yes. Do it EXACTLY the same way that you would do it for a real >> machine, but you may need to try different options in the VBox >> network configuration. I think that NAT would likely work, but you >> also need to look in the Advanced settings, specifically the Port >> Forwarding button. I haven't actually done that, but it should work. > > NAT and port forwarding can be OK for VM with a web server, or a VM with a database machine, a > db machine can also not seing the internet at all > > but not for mail servers (i've 2), mail servers must have static/public ip > on the NIC were the mail server itself is binded > > i want to virtualize my infrastructure, now 2 bare metal servers > > and create 3 VMs 2 for mail servers and db and one only for apache+php > since apache+php is the most problematic application server > > > massimo Ok, we got it now the host OS has intranet lan IP 192.168..... and the AOS503 guest VM has one of my static public IP the VM can be reached from inside my office lan 192.168.... and from the internet too this is very good i've used connection "bridge" Name: the host machine nic advanced: pc-netfast III permit all cable: connected and it works ;-) good massimo