By halbertn
Hello, I am using the OpenVPN droplet on marketplace for my setup. I am trying to figure out how I can configure it to allow a client access to the private networks on each of my VPC (which may be hosted in separate regions).
My Setup:
SFO3 VPC: OpenVPN droplet SFO3 VPC: Misc droplet AMS3 VPC: Testing Environment droplets NYC1 VPC: Production Environment droplets
client: my laptop
I would like to configure OpenVPN so that I, the client, can connect via ssh to each servers (droplets) in each of the VPCs listed above via their private network. Then I will use iptables/firewall to reject all connections to each servers public ip address (ie. effectively dropping public network access on all hosts, except the OpenVPN server)
Is this possible and allowed with DigitalOcean’s VPC?
Currently, I am only able to ssh into the hosts that are in the SFO3 VP3. Attempting to ssh or ping hosts in the other VPCs timeout.
I’ve updated the OpenVPN’s Routing configuration to allow each VPC’s private subnets. However, I am still unable to connect to any other host other than the ones under SFO3 VPC.
Please help.
Thank you!
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!
In OpenVPN’s admin panel, go to VPN settings, and under the Routing section, add the subnet of the VPC to the section --> “Specify the private subnets to which all clients should be given access (one per line)”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.