title: SSH forward port to local host name
body: <p>I have next setup:</p>
  
  <ul>
  <li>Local host - my work PC</li>
  <li>Project VM - Vagrant box with project files, runned on my work PC</li>
  <li>Remote host - remote PC, from which I need to access hosts on Project VM </li>
  </ul>
  
  <p>Project VM setup (/etc/hosts on Local host):</p>
  
  <pre><code>192.168.100.102 host1.vm.private
  192.168.100.102 sub1.host1.vm.private
  192.168.100.102 sub2.host1.vm.private
  </code></pre>
  
  <p>"host1" subdomains resolved by application router and served by nginx (config for "host1.vm.private" on Project VM):</p>
  
  <pre><code>server {
      listen 80;
      server_name ~^(.+\.)?host1\.vm\.private$;
      ...
  }
  </code></pre>
  
  <p>I need to make "sub(1|2|N).host1.vm.private" reachable from remote host. How this can be done?</p>