Yes, IP forwarding is enabled on both VPN endpoints.
10.24.1.25 has the following masquerading rules:
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 172.16.0.0/16 anywhere
and 10.24.0.11
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 172.16.0.0/16 anywhere
If I understand correctly, the masquerading is only required so that packets bound for the foreign 10.24/1-0.0/27 network can traverse the openVPN endpoint IPs on the 172.16.0.0/16 network.
The thing is, this works when we create a VPN tunnel from 10.24.1.0/27 IPs to 10.24.1.25. Then they successfully hop through 2 VPNs to access the opposite network. Which makes me think Amazon is doing something funny with our packets destined for a foreign network (and yes, we have configured the VPC router to route 10.24.1-0.0/27 to the correct VPN endpoint.
I guess we'll approach Amazon next.
Thanks again for your help.