Multiple VPN tunnels
Posted: Tue Oct 11, 2011 8:20 pm
Hello,
I have 3 remote offices each running Open VPN Server. I can connect to each of them individually with no problem but when I try multiple vpn connections the routing get all messed up.
I am using MacOSX and tunnel blick. when I have multiple connections all routes point to the first VPN tunnel created (See Below)
How do I control the route being created?
Gregorys-MacBook:~ gbrogna$ netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default home UGSc 32 0 en1
10/24 172.16.3.14 UGSc 0 0 tun1[
10.0.1/24 172.16.0.10 UGSc 0 0 tun0
127 localhost UCS 0 0 lo0
localhost localhost UH 5 90614 lo0
169.254 link#5 UCS 0 0 en1
172.16.0.1/32 172.16.0.10 UGSc 0 0 tun0
172.16.0.10 172.16.0.9 UH 4 0 tun0
172.16.3.1/32 172.16.3.14 UGSc 0 0 tun1
172.16.3.14 172.16.3.13 UH 3 0 tun1
192.168.0 172.16.3.14 UGSc 0 0 tun1
192.168.2 link#5 UCS 3 0 en1
home b0:e7:54:e9:35:d9 UHLWIi 47 270 en1 1200
user-40be054920 0:d:60:3c:1d:cc UHLWIi 0 0 en1 813
192.168.2.135 localhost UHS 0 0 lo0
192.168.3 172.16.0.10 UGSc 0 0 tun0
192.168.5 172.16.0.10 UGSc 0 0 tun0
I have 3 remote offices each running Open VPN Server. I can connect to each of them individually with no problem but when I try multiple vpn connections the routing get all messed up.
I am using MacOSX and tunnel blick. when I have multiple connections all routes point to the first VPN tunnel created (See Below)
How do I control the route being created?
Gregorys-MacBook:~ gbrogna$ netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default home UGSc 32 0 en1
10/24 172.16.3.14 UGSc 0 0 tun1[
10.0.1/24 172.16.0.10 UGSc 0 0 tun0
127 localhost UCS 0 0 lo0
localhost localhost UH 5 90614 lo0
169.254 link#5 UCS 0 0 en1
172.16.0.1/32 172.16.0.10 UGSc 0 0 tun0
172.16.0.10 172.16.0.9 UH 4 0 tun0
172.16.3.1/32 172.16.3.14 UGSc 0 0 tun1
172.16.3.14 172.16.3.13 UH 3 0 tun1
192.168.0 172.16.3.14 UGSc 0 0 tun1
192.168.2 link#5 UCS 3 0 en1
home b0:e7:54:e9:35:d9 UHLWIi 47 270 en1 1200
user-40be054920 0:d:60:3c:1d:cc UHLWIi 0 0 en1 813
192.168.2.135 localhost UHS 0 0 lo0
192.168.3 172.16.0.10 UGSc 0 0 tun0
192.168.5 172.16.0.10 UGSc 0 0 tun0