[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] how to add route to openvpn internal routing table


  • Subject: Re: [Openvpn-users] how to add route to openvpn internal routing table
  • From: Konrad Karl <kk_konrad@xxxxxx>
  • Date: Thu, 6 Oct 2005 12:09:39 +0200

On Wed, Oct 05, 2005 at 04:28:17PM -0500, /dev/rob0 wrote:
> On Wednesday 2005-October-05 16:20, Konrad Karl wrote:
> > > A reaches B through client-to-client on M
> >
> > Yes
> >
> > > A has static route to D using M as gateway
> >
> > Yes
> >
> > > M has static route to D using B as gateway
> >
> > This exactly is my problem. How do I specify B's address on M? I got
> > the already mentioned errors when I tried to establish a route for D.
> 
> Use the openvpn client IP as the gateway. The trick is that you must 
> have a direct route to any IP you want to specify as a gateway.
> 
> > I just discovered (or re-discovered) the iroute option, perhaps it
> > will enable me to do what I want.

It seems that iroute will do what I want. I will have to add 
D's subnet to B's client-config-dir file as well as B's eth0
subnet. Not tested yet but I am quite sure that this will do
exactly what I want.

Thanks again,

Konrad


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users