Routing: local link vs VPN provided route
Bill Moran
wmoran at collaborativefusion.com
Wed Aug 6 19:00:42 UTC 2008
In response to Xin LI <delphij at 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 at collaborativefusion.com
Phone: 412-422-3463x4023
More information about the freebsd-net
mailing list