Can DBeaver create two SSH tunnels and then connect to a database?
I have successfully created one SSH tunnel but not two.
I am trying to connect to an AWS RDS database via Bastion host. Bastion host only allows SSH access from my corporate IP range. This means that when I am in the office I can connect to the RDS from DBeaver just fine:
- My computer is in the allowed IP range
- DBeaver creates an SSH tunnel to a Bastion host in my VPC inside the AWS cloud
- DBeaver connects to the RDS database
The issue arises when I work from home. I would have to add "zero" step to have an allowed IP address for the Bastion host connection: 0) Connect to the machine inside the office
I have not yet managed to achieve this. Has anyone got an idea of how to do this?