What's new

two openvpn clients at the same time?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

janosek

Regular Contributor
Has anyone gotten two openvpn clients working at the same time? I have one selectively routing devices on my RT-AC66U, but when I tried two, the second client seemed to take over. Any thoughts?
 
Can you post your routing table and ip rules when both VPNs are up and running?

Code:
ip route show table main

Code:
ip rule show
 
So I was wrong. My internet doesn't work at all with that script version.

Code:
ip route show table main

10.162.1.1 via 10.162.1.9 dev tun0
10.170.1.1 via 10.170.1.9 dev tun1
46.19.141.166 via 24.212.140.129 dev eth0
10.162.1.9 dev tun0 proto kernel scope link src 10.162.1.10
10.170.1.9 dev tun1 proto kernel scope link src 10.170.1.10
50.7.32.50 via 24.212.140.129 dev eth0
24.212.140.129 dev eth0 scope link
24.212.140.128/27 dev eth0 proto kernel scope link src 24.212.140.142
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
127.0.0.0/8 dev lo scope link
0.0.0.0/1 via 10.162.1.9 dev tun0
0.0.0.0/1 via 10.170.1.9 dev tun1
128.0.0.0/1 via 10.162.1.9 dev tun0
128.0.0.0/1 via 10.170.1.9 dev tun1
default via 24.212.140.129 dev eth0

Code:
ip rule show

0: from all lookup local
32766: from all lookup main
32767: from all lookup default
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top