Problem getting openconnect work with ocserv

Nikos Mavrogiannopoulos nmav at
Mon Sep 1 06:43:55 PDT 2014

On Sun, Aug 31, 2014 at 9:29 PM, İsmail Dönmez <ismail at> wrote:
>>> One question remains though. Even though my server config has no route
>>> = lines, client is not pushing all the traffic through VPN (I can ping
>>> the VPN gateway just fine.) Any idea why would that happen?
>> You'd best check the routing table.
> Routing table is like this:
> Network Destination        Netmask          Gateway       Interface  Metric
>      25
>       2
> (10.8.x.x is VPN) I am guessing Windows is not picking it up because
> its not the first element?

As far as I understand from:

It could be that having multiple default routes wouldn't work. Have
you tried playing with REDIRECT_GATEWAY_METHOD in the vpnc-script-win?
Do options 1 or 2 work better in your case?


More information about the openconnect-devel mailing list