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. (220.127.116.11) 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 18.104.22.168-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: 22.214.171.124 next hop 126.96.36.199, 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 188.8.131.52 (PC) ---LAN---> 184.108.40.206 (routerA) ---VPN---> 10.1.2.1(routerMain) ---VPN---> 220.127.116.11(routerB) ---LAN---> 18.104.22.168 (Server)
I hope I explained this correctly...
thank you in advance.