I am planning to allow few services to be accessible from outside network. Mostly ssh and http. My initial plan was to run them in a jail. However recently I have been considering to set up a separate virtual machine in order to raise the level of isolation from the host.
I am quite aware of the strengths and weaknesses of both of them when it comes to resources and operating systems that they can run, but I am not sure if there is any substantial difference in terms of security. I will be running FreeBSD in both of them (host and guest) and I have plenty of CPU and memory to waste, so their initial limitations are not so much of a concern. Security is more of a priority.
What do you suggest? Any security caveats for these two models?
I am quite aware of the strengths and weaknesses of both of them when it comes to resources and operating systems that they can run, but I am not sure if there is any substantial difference in terms of security. I will be running FreeBSD in both of them (host and guest) and I have plenty of CPU and memory to waste, so their initial limitations are not so much of a concern. Security is more of a priority.
What do you suggest? Any security caveats for these two models?