Routing or bridging between two vpn connection
Posted on 2006-11-03
I am trying to route traffic from one remote to another remote via my VPN network. Here is the situation.
My main office has a Netopia R9100 installed. (10.1.2.1) Remote A also has a R9100. (126.96.36.199) Main and Remote A are connected via a PPTP VPN tunnel, which works great. I can ping them, and they can ping me.
Remote B is a hosting center for our web server and SQL. Main and Remote B have an IPSec VPN connection that works great, the IP address range for that network system is 188.8.131.52-23.
My problem is Remote A needs to access the server at Remote B. Is it possible to pass traffic through the main router. I have tried entering a static route in the main router: 184.108.40.206 next hop 220.127.116.11, but the traffic keeps routing out the main routers WAN interface instead of following Remote B VPN tunnel.
So I need traffic to flow like this 18.104.22.168 (PC) ---LAN---> 22.214.171.124 (routerA) ---VPN---> 10.1.2.1(routerMain) ---VPN---> 126.96.36.199(routerB) ---LAN---> 188.8.131.52 (Server)
I hope I explained this correctly...
thank you in advance.