Multiple VPN tunnels

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
gbrogna
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 11, 2011 8:08 pm

Multiple VPN tunnels

Post by gbrogna » 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

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: Multiple VPN tunnels

Post by Mimiko » Tue Oct 11, 2011 8:28 pm

How do I control the route being created?
In your OpenVPN client's configs use: --route-nopull
And add routers manualy.

Post Reply