[deleted]
Hi everyone.
I have two routers sharing same subnet via OpenVPN bridge.
Each router physicaly connected to few other networks.
Something like this:
<eth0:10.0.1.1/24>
[Router1]
<bridge0(tap0, eth1):10.0.0.1/24>
|
(VPN over internet)
|
<bridge0(tap0,eth1):10.0.0.2/24>
[Router2]
<eth0:10.0.2.1/24>
On [Router1] OpenVPN act as server, [Router2] as client.
Connection establishes and each router can ping any address in any network, but there is a problem with clients especially at [Router1] side.
I can ping 10.0.1.0/24 network from 10.0.2.0/24, but it did not work in opposite direction.
Seems like OpenVPN on [Router1] have no idea about 10.0.2.0/24 network behind [Router2] and i dont understand how to tell it to him.
In server([Router1]) config i have:
route 10.0.2.0 255.255.255.0
push "route 10.0.1.0 255.255.255.0"
and in ccd/client config file:
iroute 10.0.2.0 255.255.255.0
in general fw settings i allow any traffic on any interface except, of course, WAN
in routing tables on [Router1]:
10.0.2.0/24 -> 10.0.0.2
in routing tables on [Router2]:
10.0.1.0/24 -> 10.0.0.1