Hi,

On Wed, Feb 24, 2016 at 12:06:24AM -0500, Selva Nair wrote:
> Having said that, if the idea is to make a tunnel between two routers its
> much simpler to use a point-to-point set up:
[..]
> Then use up scripts to add routes:
> On router 1 a route to server side LAN with gateway as router 2 tun IP and
> a reciprocal one on router2: i.e.,
> 
> on router 1: ip route add router2-net/mask via 10.8.0.2
> on router 2: ip route add router1-net/mask via 10.8.0.1

If I'm not totally mistaken (haven't used p2p in ages) you can put the
route into the openvpn config as well - so config file one has

route router2-net mask

and config file two has

route router1-net mask

and openvpn will take care of installation and removal on startup/exit.

> Note the gateways are on the other end of the tunnel, no iroute needed.

Indeed, iroute is only needed for the multipoint-end of a --server setup.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to