Hi Dave,

Am 01.08.14 16:06, schrieb davidg12...@fast-email.com:

> My question is what specific routes do I need to put on what boxes?
> Do I need to just put some sort of a static route on the desktop?
> Something also on the Location2 router? Or something in the Openvpn config?

The configuration depends on your setup and your goals.

The most simple setup would be a network route on both routers that
sends ALL traffic for the other location through the tunnel.

In this case you would just need to add the peer's local network to the
openvpn config, like:

route 192.168.2.0 255.255.255.0

on the "Location1 router".

As long as all hosts on the local networks use the two routers as their
default gateway that should do the trick.

If you *really* want to send everthing else except your "service
traffic" over the internet that would require more configuration on both
routers. See also http://www.lartc.org/.

However, it would be interesting why would you want to have such an
error-prone setup.

If you want to get a secure connection between two hosts you could, as
another option, also setup an additional tunnel between both and use the
tunnel IP addresses for communication.

Cheers,
Mathias.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to