Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Is it possible to create custom routing for private addresses?
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 184.108.40.206/24 via <private_ip_of_first_droplet>
The rule is added, but packets for network 220.127.116.11/24 still does not go through first droplet. Tcpdump sees nothing. Is it possible to configure such scheme?