ifconfig tun11 ifconfig tun12 ip route show table main ip route show table ovpnc1 ip route show table ovpnc2
Whenever you're using multiple, concurrent OpenVPN clients, you have to make 100% sure the tunnels used by each OpenVPN client are NOT overlapping! And it's esp. easy to have this happen when connected to the same VPN provider. But you can still have this happen w/ different VPN providers. In all likelihood, this is the problem.
P.S. The following commands will reveal if indeed you're having this particular problem.
While I'm not a networking expert, what you are saying may be spot-on. Yes, I'm using the same VPN provider. Here's my output from the commands, where the bolded red lines probably indicates the problem - the second bolded line should be reading
default via 10.8.8.1 dev tun1"2", etc ?
(I've switched out all my ISP and VPN provider's public ips with ab.cd.ef.gh, hopefully that doesn't make things difficult in this context)
What would be the fix ?
Thanks for your help!
admin@router:/tmp/home/root# ifconfig tun11
tun11 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.8.2 P-t-P:10.8.8.2 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:349716 errors:0 dropped:0 overruns:0 frame:0
TX packets:224748 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:373174790 (355.8 MiB) TX bytes:56745185 (54.1 MiB)
admin@router:/tmp/home/root# ifconfig tun12
tun12 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.8.4 P-t-P:10.8.8.4 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60 (60.0 B) TX bytes:68 (68.0 B)
admin@router:/tmp/home/root# ip route show table main
default via ab.cd.ef.gh dev eth4
10.0.0.0/24 dev br0 proto kernel scope link src 10.0.0.1
10.8.8.0/24 dev tun11 proto kernel scope link src 10.8.8.2
10.8.8.0/24 dev tun12 proto kernel scope link src 10.8.8.4
ab.cd.ef.gh/21 dev eth4 proto kernel scope link src ab.cd.ef.gh
ab.cd.ef.gh dev eth4 proto kernel scope link
127.0.0.0/8 dev lo scope link
admin@router:/tmp/home/root# ip route show table ovpnc1
default via 10.8.8.1 dev tun11
10.0.0.0/24 dev br0 proto kernel scope link src 10.0.0.1
10.8.8.0/24 dev tun11 proto kernel scope link src 10.8.8.2
ab.cd.ef.gh/21 dev eth4 proto kernel scope link src ab.cd.ef.gh
ab.cd.ef.gh dev eth4 proto kernel scope link
127.0.0.0/8 dev lo scope link
ab.cd.ef.gh via ab.cd.ef.gh dev eth4
admin@router:/tmp/home/root# ip route show table ovpnc2
default via 10.8.8.1 dev tun11
10.0.0.0/24 dev br0 proto kernel scope link src 10.0.0.1
10.8.8.0/24 dev tun11 proto kernel scope link src 10.8.8.2
ab.cd.ef.gh/21 dev eth4 proto kernel scope link src ab.cd.ef.gh
ab.cd.ef.gh dev eth4 proto kernel scope link
ab.cd.ef.gh via ab.cd.ef.gh dev eth4
127.0.0.0/8 dev lo scope link