title: How to connect VPN using nodejs in ubuntu
body: <p>I have the code in my <code>nodejs</code> file which gives me the following information </p>
  
  <pre><code>host:"147.0.40.145"
  method:"aes-256-cfb"
  password:"9c359ad1ebeec200"
  port:38473
  </code></pre>
  
  <p>I need to use above information and want to connect VPN through it. I have used below code to extract the above information.</p>
  
  <pre><code>const connectServer = (serverId) =&gt; {
    const token = store('access_token')
    httpOptions.Authorization = token.token_type+' '+token.access_token
    return new Promise((resolve, reject) =&gt; {  
     const response = await axios.post(`${baseUrl}/servers/${serverId}/connect`, {'serverId':serverId},{headers: httpOptions})     
     console.log(response.data)
      resolve(response.data)
    })
  }
  </code></pre>
  
  <p>So I need to know whether it is possible using <code>nodejs</code> to <strong>connect or create</strong> <code>VPN</code>? </p>
  
  <p>Thank you in advance!!!</p>