I have 2 droplets in one region. Both of them have private ip addresses and they can reach each other by those addresses. I need one droplet to act as a router for second droplet for specific network ranges. First droplet in configured as a simple router. For example I add custom route on second droplet ip ro add 1.1.1.0/24 via <private_ip_of_first_droplet> The rule is added, but packets for network 1.1.1.0/24 still does not go through first droplet. Tcpdump sees nothing. Is it possible to configure such scheme?
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!
Hi there,
Just a quick follow-up on this, it is now possible to achieve this with the new VPC offering.
In case anyone comes across this in the future, you can follow the steps here:
https://docs.digitalocean.com/products/networking/vpc/how-to/configure-droplet-as-gateway/
Best,
Bobby
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.