Openconnect does not forward traffic through tun0

Amirmohsen Ahanchi ahanchi at gmail.com
Mon Aug 15 14:34:59 PDT 2016


When i use openconnect sometimes a i'm connected to vpn, sometimes i'm not.

this is the output of route when i'm connected to vpn.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 tun0
default         gateway         0.0.0.0         UG    600    0        0 wlp3s0
10.10.0.0       *               255.255.240.0   U     0      0        0 tun0
6d7b7202.rdns.s gateway         255.255.255.255 UGH   0      0        0 wlp3s0
link-local      *               255.255.0.0     U     1000   0        0 wlp3s0
192.168.1.0     *               255.255.255.0   U     600    0        0 wlp3s0
and this is the output when i'm not (but openconnect is running):

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    600    0        0 wlp3s0
10.10.0.0       *               255.255.240.0   U     0      0        0 tun0
6d7b7202.rdns.s gateway         255.255.255.255 UGH   0      0        0 wlp3s0
link-local      *               255.255.0.0     U     1000   0        0 wlp3s0
192.168.1.0     *               255.255.255.0   U     600    0        0 wlp3s0
what could be the issue here, why is it that only sometimes the route
is created?

here are the log files:
https://github.com/openconnect/openconnect-gui/issues/123

i'm using ubuntu 15.10 and
openconnect 7.06

thanks in advance



More information about the openconnect-devel mailing list