Re: State of virtualization on FreeBSD

From: Dale Scott <dalescott_at_shaw.ca>
Date: Wed, 17 May 2023 14:39:49 UTC
<div dir='auto'><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I also just encountered iocage today. Going to compare.<br></div><div>Is it possible to make VMs/Jails externally/publicly accessible when you have only 1 public IP address?</div></div>
</blockquote></div><br></div><div class="gmail_extra" dir="auto">I don't know about jails, but vm's may require configuring a virtual network, a DHCP server and a firewall with NAT rules if you only have one public IP address. This will be required with a bhyve vm, but it built-in with virtualbox-ose.</div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">If you used an external NAT router, you could configure the guest vm to bridge the host Ethernet interface (the default for bhyve), which would allow both the host and guest vm to access the internet, but only one would be reachable from the internet (by configuring the "pass-thru" feature on the NAT router).</div><div class="gmail_extra" dir="auto"><br></div></div></div>