A problem with openconnect On Windows

xiao mybluebluesky2 at 163.com
Thu Nov 6 17:59:03 PST 2014


Hello,

I compiled the  newest openconnect in git for Windows,And run it on Win 7 (in a LAN) to connect the ocserv 0.8.4 (in the public network)。
Everything is OK when connecting.

And I  can visit the internet by browser  through the VPN tunnel.

But sometimes I can't  visit the internet through the VPN tunnel,although the VPN tunnel exists well.

At this moment ,I find the route table is right. like below


IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
         0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.216     20
         0.0.0.0          0.0.0.0         10.1.1.1       10.1.1.209      2
        10.1.1.0    255.255.255.0         On-link        10.1.1.209    257
      10.1.1.209  255.255.255.255         On-link        10.1.1.209    257
      10.1.1.255  255.255.255.255         On-link        10.1.1.209    257
   104.149.5.138  255.255.255.255      192.168.0.1    192.168.0.216     21
       127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
       127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
 127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
     192.168.0.0    255.255.255.0         On-link     192.168.0.216    276
   192.168.0.216  255.255.255.255         On-link     192.168.0.216    276
   192.168.0.255  255.255.255.255         On-link     192.168.0.216    276
    192.168.71.0    255.255.255.0         On-link      192.168.71.1    276
    192.168.71.1  255.255.255.255         On-link      192.168.71.1    276
  192.168.71.255  255.255.255.255         On-link      192.168.71.1    276
   192.168.252.0    255.255.255.0         On-link     192.168.252.1    276
   192.168.252.1  255.255.255.255         On-link     192.168.252.1    276
 192.168.252.255  255.255.255.255         On-link     192.168.252.1    276
       224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
       224.0.0.0        240.0.0.0         On-link     192.168.0.216    276
       224.0.0.0        240.0.0.0         On-link        10.1.1.209    257
       224.0.0.0        240.0.0.0         On-link      192.168.71.1    276
       224.0.0.0        240.0.0.0         On-link     192.168.252.1    276
 255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
 255.255.255.255  255.255.255.255         On-link     192.168.0.216    276
 255.255.255.255  255.255.255.255         On-link        10.1.1.209    257
 255.255.255.255  255.255.255.255         On-link      192.168.71.1    276
 255.255.255.255  255.255.255.255         On-link     192.168.252.1    276
===========================================================================
Persistent Routes:
 Network Address          Netmask  Gateway Address  Metric
         0.0.0.0          0.0.0.0         10.1.1.1       1
===========================================================================



But when I use the tracert tool under cmd  ,I find that the first hop is not the interface " 10.1.1.209" but  my  real public IP.

And when I wait for sometime, I use the tracert tool under cmd ,the first hop change to  the interface " 10.1.1.208" ,And at this moment I can visist the internet Again.

This Situation will Repeat.

best regards
xiao


More information about the openconnect-devel mailing list