I'm trying to connect to a VPN network using openconnect with the following command:
sudo openconnect -s /etc/vpnc/vpnc-script SERVER
I manage to connect to the VPN, so that I can connect to PCs in the remote network, but the internet traffic is not routed through the VPN. Is this the default behavior? How can I route all the traffic?
I've tried with:
sudo route add default dev tun0
but at that point I cannot even ping google.
My system is Manjaro linux, with openconnect v7.06
superuser.coma more suitable site for this question? There you could find also answers like this, superuser.com/questions/692027/…