Could you advice is it possible (how if yes) to route to specific site through gateway which is belong to remote network (via Site-to-Site)?
In my case: there are 2 networks (192.168.10.0 and 192.168.70.0) connected via site-to-site. My question is how to get from 192.168.10.0 to, for example, 220.127.116.11 via gateway for 192.168.70.0?
you mean (site to site Ipsec VPN ) ???
By the way, if you are using a Cisco IOS, Cisco IOS routers are doing Recursive lookup by default, so as long as you can reach the gateway 192.168.70.0, you can just install the route to 18.104.22.168 via 192.168.70.X for example and the router will do two lokups in its routing table to reach the destination.
aslo you need to adjust the proper routing configuration on 22.214.171.124 to be able to reach 192.168.10.0 through 192.168.70.xx
Yes, I mean IPsec VPN. How can I install the route to 126.96.36.199 (cisco site) via 192.168.70.x?
Because it's cisco site, so I have no access to it routing config.
Sorry, I'm very bad painter. So in few words I need to get to cisco site with public IP of remote gateway. For all other internet with public IP of local gateway. I'm not sure how to setup it.
from your network, how many gateway are there to the internet?
normal routing decision based on cost/path. if you want to have diffrent route than the normal routing decision, perhaps you need to use route map to alter the normal routing decision.
There is 1 router\gateway in my network. As I understood it's impossible to use gateway from remote network even if remote network connected via VPN. Am I right?
routing is done hop per hop basis.
- your site to site vpn peer is x.x.x.x
- the gateway for network 192.168.70.0 is 192.168.70.1
on your router you can add ip route 188.8.131.52 255.255.255.255 192.168.70.1
but then, your router gonna try to find what is the next hop ip for 192.168.70.1, which is x.x.x.x
then the packet is on x.x.x.x router, trying to find how to get to 184.108.40.206. at this point the routing decision is totaly based on the routing table of this router. if there is no entry in the routing table on how to reach 220.127.116.11, then the packet is dropped. if there is an entry for 18.104.22.168, the router will pass the ip packet to the next hop ip.