cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 129 forks source link

Slack can't connect while VPN is active #50

Open allista opened 4 years ago

allista commented 4 years ago

As soon as I connect to an AnyConnect VPN, Slack loses its websockets and is unable to reconnect until the VPN connection is terminated. Otherwise everything works: dns queries, internet and vpn hosts are accessible.

Nothing in the logs except keep-alives.

And it does work with the native AnyConnect client for the same VPN.

Update: ha, tried to post this using a GitHub client native app while connected to the VPN; same thing -- connection error until I terminated the VPN. So it's a general problem.

bcheeves commented 4 years ago

That sounds like a problem with the dns used when connecting with the client, did you notice in the config you can specify if you want to use a local dns server or the remote VPN's DNS server? ALso, if you are connecting to a corporate VPNm they could have network access control which prevents you from accessing those sites until you authenticate again somehow. BTW, you can also enable split tunneling on the client, so that it only routes certain IP routes (provided from the VPN server) through the VPN connection.