Access to sftp through FortiClient on NodeJS

809 Views Asked by At

I have a NodeJS backend, in some function I need to read a remote file on an external sftp server, but I need to access through a FortiClient VPN, there's no way to access that sftp without VPN.

Is there a way to connect to sftp with that VPN client?

I've read about clients for OpenVPN like https://www.npmjs.com/package/node-vpn-client but I need it for FortiClient

1

There are 1 best solutions below

0
On BEST ANSWER

If your function is running in a cloud service (AWS, GCP, Azure, etc), you can access the VPN through a Virtual Private Cloud (VPC) which can be used by the function to connect to; although if your service is running in a private server/host, you can deploy a VPN connection from the console using Forticlient in your server, which is available for several distributions.

Here are some links that could be useful: