I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks.
I have configured the ssh tunnel on both sides with routes to the other network trough tun0 interface. I can contact any server I want on the other network from both ssh servers/client.
In the firewalls on both sides I have added new route and default gateway to the SSH servers for contact with the other network.
The problem is if a server on site1 tries to contact another server on site2 it stops on the ssh server. The ssh server wont route traffic received on eth0 interface over to tun0 interface. I don't want to use NAT anywhere only routing. The ssh server/client is ubuntu 14.04 server.