Date: Tue, 11 Aug 2020 13:53:59 +0200 From: infoomatic <infoomatic@gmx.at> To: freebsd-virtualization@freebsd.org Subject: Re: FreeBSD a server and bhyve Message-ID: <1c1e71ea-9f4f-b4a6-c6bb-f7cd201c0182@gmx.at> In-Reply-To: <CAAdA2WP0hOZUWS9WLKpb_Pvz3HKp-WPdg5Bq_QEEf8JA6=gCRw@mail.gmail.com> References: <CAAdA2WP0hOZUWS9WLKpb_Pvz3HKp-WPdg5Bq_QEEf8JA6=gCRw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yes, just use an internal network within your vms. I suggest you have the following firewall rules: *) public_ip port {80, 443} -> vm_web *) public_ip port {25, 143, 993 } -> vm_mail However, you do not even need virtualization for this, you could just use normal packages like nginx or postfix. You could also use jails - much better in terms of latency and resource consumption. regards, infoomatic On 11.08.20 13:48, Odhiambo Washington wrote: > Hi, > > I have a FreeBSD 12.1 server, with 16GB RAM and several CPU cores. > It has just 1 public IP. > Although it has 2 NICs, I am only using one, and it is hosted on a Data > Centre. > > Dumb question: Is it possible to virtualize a webserver/mail server withing > a physical mail/web server with just one public IP? > > Thanks. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1c1e71ea-9f4f-b4a6-c6bb-f7cd201c0182>