Report this

What is the reason for this report?

Is it possible to create custom routing for private addresses?

Posted on October 13, 2017

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!

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 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.