Access VPC via Wireguard


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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

VPC Docs:

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.