Question

Link home network to DO to manage droplets

I want to establish a site to site connection between my home the private network between my droplets. Not to route my home traffic to DO but to secure the management of droplets without having to install a VPN client on each individual droplet. Is this possible? I know other providers have a methods to set this up but I did not see this option for DO


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
August 26, 2022

Hi there,

What you could do in order to access your servers in your VPC without exposing them directly to the internet is to setup a single Droplet that acts as a gateway:

How to Configure a Droplet as a VPC Gateway Validated on 29 December 2020 • Posted on 7 April 2020

You can follow the steps on how to set that up here:

https://docs.digitalocean.com/products/networking/vpc/how-to/configure-droplet-as-gateway/

After that you can use the gateway Droplet as a jump host and SSH directly to the Droplets inside the VPC as follows:

ssh -J <username>@<public_ip_of_jump_host> <username>@<private_ip_of_droplet>

However, if it is not only SSH access that you need but being able to access other services running inside the VPC, then indeed as you mentioned this could also be achieved with a VPN, in case you decide to go that route, you can install OpenVPN using this 1-Click installation:

https://marketplace.digitalocean.com/apps/openvpn-access-server

Best,

Bobby