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

Re: [Openvpn-users] Remote address conflict (Was: Possible minor bug with IP aliases)


  • Subject: Re: [Openvpn-users] Remote address conflict (Was: Possible minor bug with IP aliases)
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Mon, 26 Nov 2007 09:50:41 +0100

Read the openvpn man page on routing: the options
  route
  net_gateway
  vpn_gateway
probably do what you need, e.g. use
  push "route 10.1.0.10 255.255.255.0"
in the server config file.

HTH,

JJK

Erhard Weinell wrote:
> Side note:
>
>   
>> I understand this issue, BUT I would like to create an additional
>> route on the client, i.e. to 10.1.0.10 using the current default
>> connection. If I do this manually (e.g. route add 10.1.0.10 default
>> gw 192.168.0.1), the vpn connection works fine. Is there a config
>> directive to do this automatically?
>>     
>
> the desired route is added by the redirect-gateway option, so OVPN is 
> able to do this :). Unfortunately, redirect-gateway does other things I 
> do not want, e.g. removing the previous default route etc. Can the 
> dedicated server route I need be added by other config options?
>
> Best,
> Erhard
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   

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