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

Re: [Openvpn-users] route delete failed on windows client

  • Subject: Re: [Openvpn-users] route delete failed on windows client
  • From: "Rob MacGregor" <rob.macgregor@xxxxxxxxx>
  • Date: Mon, 31 Dec 2007 19:22:07 +0000

On Dec 31, 2007 4:01 PM, Sonnie Hook <sonnie.hook@xxxxxxxxx> wrote:
> That's right. The content of the script:
>     route delete mask
> or
>     route delete mask %ifconfig_local%
> Same error.
> The corresponding command in script under linux works good:
>     route del -net dev $1

As a confirmation step it would be good to add a "netstat -rn" to the
script, just before the route command.

> The reason why I want to delete the route pushed by server, might be
> that I'm trying to use bridge method on a single NIC. I hope client
> can obtain an IP from the same subnet where server locates. Then it
> can access certain machine which hasn't set default
> gateway(

Can you arrange for for the server simply not to push that route to
you - that's probably easier (and cleaner).

> Here is my server.conf:
>     server-bridge

That's the entire config file?

> Although I can see the warning "local and remote addresses cannot be
> inside of the --ifconfig subnet", it works as I expected.

That error suggests that you're not providing some information.  What
command line options have you set?

                 Please keep list traffic on the list.
OpenVPN mailing lists