Problem getting openconnect work with ocserv

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


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?

regards,
Nikos



More information about the openconnect-devel mailing list