Problem getting openconnect work with ocserv

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


Hi,

On Thu, Sep 4, 2014 at 11:46 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
> On Mon, Sep 1, 2014 at 4:43 PM, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
>> On Sun, Aug 31, 2014 at 9:29 PM, İsmail Dönmez <ismail at donmez.ws> 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
>>>           0.0.0.0          0.0.0.0      192.168.1.1      192.168.1.4     25
>>>           0.0.0.0          0.0.0.0         10.8.0.1       10.8.0.121      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:
>> http://windows.microsoft.com/en-us/windows/configuring-multiple-network-gateways#1TC=windows-7
>>
>> 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 (
https://github.com/nmav/openconnect-gui/blob/master/nsis/vpnc-script-win.js
) works out of the box.

Thanks!



More information about the openconnect-devel mailing list