title: Connect to internet a VM on VMware throught another VM
body: <p>I'm using VMware Workstation and I've two virtual machines (Ubuntu 64-bit). Both VMs are connected to the internet via Network Adapter NAT on the VMware settings.</p>
  <p>My host machine is a classic Windows 10 with a VMware Network adapter (<strong>VMnet8</strong>) used by both VMs (from what I've understood). I'm already able to ping both VMs from each other (they're on the same subnet)</p>
  <p>I would like to use one of the two VMs as a &quot;gate&quot; to access the internet (which is provided by the host machine) on the other VM but, I can't understand how do I need to link the virtual network adapter to achieve my goal.</p>
  <p>I would like to use a VM as a &quot;gate&quot; to the internet because I'm testing <em>iptables</em> and I would like to exercise to use it as a firewall, filtering traffic on the &quot;gate&quot; VM</p>