Can I bridge the same subnet across a VPN?
kraduk at gmail.com
Wed May 4 15:19:13 UTC 2011
On 3 May 2011 20:44, Kevin Wilcox <kevin.wilcox at gmail.com> wrote:
> On Tue, May 3, 2011 at 15:19, Geoff Roberts <geoff at apro.com.au> wrote:
> > Is it possible to join two sites with the same subnet across a VPN?
> > I have two sites that have the same subnet/mask.
> > I need these two separated networks to behave as one across a VPN.
> That's understandable. You may want to consider breaking the /24 into
> two /25s, one at each site, and routing the connection instead but
> that's not necessary and you can indeed use a bridge with few issues.
> > Happy to use either IPSec or OpenVPN to actually encrypt the traffic.
> We've done it as a demo of what you can do with OpenVPN, it's trivial
> once you get some configuration issues straight in your head (or
> that's how it worked for me).
> To bridge in OpenVPN, take a look at:
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
you can do this with a combination of openvpn (using tap, not tun) and
if_bridge both ends. However I have found it to be flakey and not really
worth the effort. Better to go with a routed solution.
More information about the freebsd-questions