Problem getting openconnect work with ocserv

İsmail Dönmez ismail at
Thu Sep 11 10:04:29 PDT 2014


On Thu, Sep 4, 2014 at 11:46 AM, İsmail Dönmez <ismail at> wrote:
> On Mon, Sep 1, 2014 at 4:43 PM, Nikos Mavrogiannopoulos <nmav at> wrote:
>> 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?
> Both 2&3 didn't work so I'll do some more debugging when I am at home
> and let you guys know if I find anything.

Tested again and your modified version of the vpnc script (
) works out of the box.


More information about the openconnect-devel mailing list