If you want network accessible virtual machines or containers on your Ubuntu or Mint server or workstation, you will need to pop open tcp forwarding on the UFW (Uncomplicated Firewall) on your host. It’s easy:
sudo vi /etc/default/ufw
Then save & exit vi. Finally reload the firewall with
sudo ufw reload
Now your VM packets won’t be blocked due to forwarding.