Code: Select all
LAN Shibby Tomato Router A Router B Bridged LAN
___________________________ _____________________
| | | |
| OpenVPN Bridge Server | | OpenVPN Client | 10.10.0.0/24
| 10.8.0.1 |------| 10.8.0.2 |
| tun21 | |_____________________|
| |
| |
| | Private Internet Access The Internet
| | _____________________________
| OpenVPN Client | | |
10.10.1.0/24 | 10.5.10.6 |--------------------------- | 10.5.10.5 -- 46.166.288.241 | *
| tun11 | |_____________________________|
| |
| |
| | ISP The Internet
| | ______________________________
| | | |
| vlan2 |--------------------------- | 82.24.196.1 | *
| | |______________________________|
| |
|___________________________|
Code: Select all
10.50.10.1 via 10.50.10.5 dev tun11
10.50.10.5 dev tun11 proto kernel scope link src 10.50.10.6
10.8.0.2 dev tun21 proto kernel scope link src 10.8.0.1
82.24.196.1 dev vlan2 scope link
46.166.188.241 via 82.24.196.1 dev vlan2
10.10.0.0/24 via 10.8.0.2 dev tun21
10.10.1.0/24 dev br0 proto kernel scope link src 10.10.1.1
82.24.196.0/22 dev vlan2 proto kernel scope link src 82.24.197.229
127.0.0.0/8 dev lo scope link
0.0.0.0/1 via 10.50.10.5 dev tun11
128.0.0.0/1 via 10.50.10.5 dev tun11
default via 82.24.196.1 dev vlan2
Code: Select all
10.8.0.2 dev tun21 proto kernel scope link src 10.8.0.1
82.24.196.1 dev vlan2 scope link
10.10.0.0/24 via 10.8.0.2 dev tun21
10.10.1.0/24 dev br0 proto kernel scope link src 10.10.1.1
82.24.196.0/22 dev vlan2 proto kernel scope link src 82.24.197.229
127.0.0.0/8 dev lo scope link
default via 82.24.196.1 dev vlan2
I've verified that, in the non-working case, an attempt to ping 10.8.0.2 from 10.8.0.1 on Router A [i.e. ping -I 10.8.0.1 10.8.0.2] does not increment the number of bytes received on the client at Router B, so I'm pretty sure this is a routing issue on Router A.
I have set the OpenVPN bridge server on Router A up to listen only on the vlan2 address so that it is unaffected by the OpenVPN client going up and down, and the OpenVPN client on Router B is connecting to Router A using Router A's vlan2 address.
It is very repeatable: OpenVPN client up on Router A, bridge to Router B doesn't respond, OpenVPN client down on Router A, bridge to Router B works perfectly (i.e. I can ping from 10.10.1.x to 10.10.0.x).
Can anyone suggest why my OpenVPN bridge is not working, or what I might do to debug why it is not working?