Hi,

I have a managed database, and I would like to restrict access to it to VPC only.

I have setup a droplet in the same VPC as the managed DB, and configured WireGuard on it.
I can succesfully connect to the Wireguard VPN but I cannot seem to access the VPC (telnet private.....db.digitalocean PORT times out).

Can this be done?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi @dr42,

You are correct! I’m glad to hear you managed to find the solution. In such cases what I like to do si visit the docs.

Managed Databases:

https://www.digitalocean.com/docs/databases/

VPC Docs:

https://www.digitalocean.com/docs/networking/vpc/

The funny thing is every time I need to check something is I learn something new about any of the services.

Regards,
KDSys

Nevermind, I think this was because I have “Trusted Sources” configured for my managed DB, and it explicitely says that any non-explicitly whitelisted clients (from private or public networks) will be denied.

Submit an Answer