Windows client adds the wrong gateway
I have installed openconnect together with the openconnect-gui for Windows 10.
Using protocol GP and split-tunneling on the gateway. Everything works as expected. However routes is getting added with the wrong gateway.
The client gets and IP address and this information:
2021-08-30 22:53:21 | 4e34 | Internal Address: 100.94.150.6
2021-08-30 22:53:21 | 4e34 | Internal Gateway: 100.94.150.7 <- seems wrong to me?
Routes is being added with the wrong gateway:
2021-08-30 22:53:21 | 4e34 | <<-- [EXEC] route add 192.168.0.0 mask 255.255.0.0 100.94.150.7
2021-08-30 22:53:21 | 4e34 | OK!
C:\WINDOWS\system32>route print 192.168.0.0
IPv4 Route Table
Active Routes:
Network Destination Netmask Gateway Interface Metric
192.168.0.0 255.255.0.0 100.94.150.7 192.168.11.126 26
Regards
-John
Edited by Daniel Lenski