Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2008 14:50:31 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        d@delphij.net
Cc:        freebsd-net@freebsd.org, Xin LI <delphij@delphij.net>, Quake Lee <quakelee@geekcn.org>
Subject:   Re: Routing: local link vs VPN provided route
Message-ID:  <20080806145031.9c94326a.wmoran@collaborativefusion.com>
In-Reply-To: <4899F1AB.8080409@delphij.net>
References:  <4899F1AB.8080409@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Xin LI <delphij@delphij.net>:
> 
> We have recently working on an OpenVPN scenario and we have found that
> when there is a locally linked network, the route provided by OpenVPN
> would not work:
> 
> - - Local network uses 192.168.1.0/24 network (thus we have a flags 'UC'
> route)
> 
> - - Upon connection, the VPN would provide a route to 192.168.1.0/24
> through the tun0 device.
> 
> It seems, however, that the packets would just go to local network.  Is
> it possible to get packets to non-conflicting IP addresses (i.e. only
> exist in either local network, or remote VPN'ed network) to go through
> the tun0 device?

Any hack you would do to make this work is going to be unreliable at best.

Renumber your network so that routing can work as designed.

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080806145031.9c94326a.wmoran>