I have built a Debian virtual machine running in VirtualBox on a Linux Mint host.
I am confused about the choices for networking configuration.
I wish to achieve the following behavior:
- Resolve host name of guest when queried on host (even though guest is not registered on external DNS or DHCP server).
- Allow guest to access public internet services (e.g. web).
- Allow host to access services running on guest (e.g. SSH) through hostname of guest.
- Block access to services on guest originating outside the host.
As a matter not directly related to the virtualization system, I would like the SSH server to accept a login for any registered user without a password or key (which is sensible, since access from outside the host would be blocked).
Which configution settings should I choose for the results I have explained?