iproute and forward
Here is my senario...
Our head office is located in Uk on 10.1.1.0/255.255.255.0 network.
gateway and router ip is 10.1.1.1.
Our branch office located in India on 10.2.1.1/255.255.255.0 network.
gateway is 10.2.1.1.
These two offices are connected using hardware VPN so we can ping and connect both end.
Now we need to connect to a particular ip in Uk from India side through the Uk office. ie traffic to that particilar ip should pass through the 10.1.1.1 router.
Is there any way to do that on linux using route or some iptables rule?
Thanks in adv