I have setup two instances of S2S OpenVPN between 3 homes using AsusWRT routers just like I have drawing on dirgrams.net
There is one server and are two clients. The site with server side has two VPN instances running. Each Client sites connect to the server. Hosts on each client side can talk to the hosts on the server side Net and vice versa.
What I want to achieve is that hosts on the client side KL be able to talk to other hosts on side JÖ and vice versa. Please take a look at the diagram one more time to get the idea.
Now here are the route specific configs from the Server OpenVPN. Keep in mind that there are 2 OpenVPN instances running in it.
I have tried to play with push routes specifying cross network addresses but that did not make it work. I know this should be possible. But I think it is not enough to tell the client to route the traffic via the server router. I think the server needs to be able to route the packets between these two client nets in some way.
As an example routing table on KL client side router looks like this.
There is one server and are two clients. The site with server side has two VPN instances running. Each Client sites connect to the server. Hosts on each client side can talk to the hosts on the server side Net and vice versa.
What I want to achieve is that hosts on the client side KL be able to talk to other hosts on side JÖ and vice versa. Please take a look at the diagram one more time to get the idea.
Now here are the route specific configs from the Server OpenVPN. Keep in mind that there are 2 OpenVPN instances running in it.
Code:
Server1
push "route 192.168.0.0 255.255.255.0 vpn_gateway 500"
route 192.168.1.0 255.255.255.0
push "route 192.168.1.0 255.255.255.0"
Code:
Server2
push "route 192.168.0.0 255.255.255.0 vpn_gateway 500"
route 192.168.2.0 255.255.255.0
push "route 192.168.2.0 255.255.255.0"
I have tried to play with push routes specifying cross network addresses but that did not make it work. I know this should be possible. But I think it is not enough to tell the client to route the traffic via the server router. I think the server needs to be able to route the packets between these two client nets in some way.
As an example routing table on KL client side router looks like this.
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
default hi.link 0.0.0.0 UG 0 0 0 eth7
10.8.0.0 * 255.255.255.0 U 0 0 0 tun13
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
192.168.8.0 * 255.255.255.0 U 0 0 0 eth7
192.168.8.1 * 255.255.255.255 UH 0 0 0 eth7