For some hours I'm already trying to setup a virtual private network between two physical locations (Location A, 192.168.1.0/24), and (Location B, 192.168.2.0/24). I am forced to use a tunnel instead of bridged networking. 192.168.4.0/24 is the VPN network. The connection between the two locations works fine, server has 192.168.4.1 and the client 192.168.4.6. But now I want the server to access a server on the client-side network, which address is 192.168.1.44.
How do I achive this with routes and iptable entries (presumably NAT postrouting?)?