I've got three locations that I'm attempting to connect together via IPsec VPN... I am attempting to make one of the locations the "main hub". Here is what it looks like today:
Location A - Main Hub - 172.16.2.1
Location B - 172.16.1.1
Location C - 172.16 10.1
I've established VPN tunnels between connecting Location A and Location B together, and Location A and Location C together. I can ping Location B from Location A and vice versa, and can ping Location C from Location A and vice versa.
Now I want to be able to ping Llocation C from Location B by routing the traffic through Location A... From Location B, I can ping Location A, so I figured I could add a route like this:
But after adding this, I cant ping 172.16.10.1 from Llocation B. Since I can ping 172.16.2.1, and 172.16.2.1 can ping 172.16.10.1, I thought this route would let me ping 172.16.10.1 from 172.16.1.1 via 172.16.2.1.
I hope that made some sense, basically I don't want to have to set up tunnels back and fourth between each network, I'd rather just set up a tunnel from each remote site to the central hub for which the networks talk together through.
Any advice would be great.
Location A - Main Hub - 172.16.2.1
Location B - 172.16.1.1
Location C - 172.16 10.1
I've established VPN tunnels between connecting Location A and Location B together, and Location A and Location C together. I can ping Location B from Location A and vice versa, and can ping Location C from Location A and vice versa.
Now I want to be able to ping Llocation C from Location B by routing the traffic through Location A... From Location B, I can ping Location A, so I figured I could add a route like this:
Code:
route add -net 172.16.10.0/24 172.16.2.1
I hope that made some sense, basically I don't want to have to set up tunnels back and fourth between each network, I'd rather just set up a tunnel from each remote site to the central hub for which the networks talk together through.
Any advice would be great.