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 22.214.171.124/24 via <private_ip_of_first_droplet>
The rule is added, but packets for network 126.96.36.199/24 still does not go through first droplet. Tcpdump sees nothing. Is it possible to configure such scheme?