Reconnect after wifi drop and reconnect, no route, no dns etc.
Hi,
i have an issue with openconnect reconnection after wifi reconnect.
Setup:
- Wifi connection running
- Openconnect connection established -> tun0 with ip address, routes fine, dns resolf over vpn ok
Scenario: Wifi drop connection, ip address lost and later reconnect wifi.
Problems: Because of tun0 with ip address still present, default route still on tun0 and no route to openconnect server via wifi: no openconnect reconnect possible. After i add a route, and openconnect reconnect was successful: no dns resolv over vpn.
Fix:
- add route to server via upcomming interface
- after establish vpn connection again(which works after i add a route manually), add dns resolf from vpn again to tun0
Is it possible to fix this in openconnect?
ragards