title: How to setup vault on an external server
body: <p>I have been able to use vault on local host with the following .hcl file.</p>
  
  <pre><code>backend "consul" {
    address = "127.0.0.1:8500"
    path = "vault"
  }
  
  listener "tcp" {
   address = "127.0.0.1:8200"
   tls_disable = 1
  }
  </code></pre>
  
  <p>I want to install vault on a box in the cloud and my team needs to query and use vault individually. Any tips on how I can do this? </p>
  
  <p>Should I redirect all traffic from port 80 to the localhost on the box to use the API?</p>
  
  <p>Using the following library <a href="https://github.com/ianunruh/hvac" rel="nofollow">https://github.com/ianunruh/hvac</a></p>
  
  <p>Thank you</p>