mercredi 24 février 2021

Connecting to an SQL server (via VPN) using laravel

I need to connect to a SQL server and luckily Laravel supports this database. But my luck ran out when the company that manages this SQL server doesn't allow connection to this database because of confidential data that can be found in the database.

I suggested to use a white list and only to allow a connection from listed IP addresses. Unfortunately, this proposal was turned down because they don't want to risk someone 'sniffing' in the connection between the 2 servers (is this even a realistic assumption?).

They suggested to use a VPN connection to establish a connection between the 2 servers. Is this even possible? How could I use Eloquent to connect to a database via a VPN connection?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire