I hadn't used my VPN connection to the office in a while and for the past week I've been having problems connecting. I haven't had time to sort it out until this morning and as I had problems nailing down why I wasn't able to connect I thought I'd share the solution in case anyone else has the same issue and set up.
I've been connecting to the office using the Cisco AnyConnect VPN Client and after entering my username and password and clicking connect my system administrator tells me that the authentication at the server end was successful. But still I get the message when I try and connect:
"The VPN client is unable to establish a connection."
No reason is provided and delving through the log file didn't indicate anything sinister either.
By complete dumb luck, I remembered that I'd installed Kaspersky Anti-Virus about a month ago - maybe a bit longer. I disabled virus scanning and attempted to connect again and the connection was successful.
Surfing without protection enabled isn't something I particularly want to do, so I needed to figure out how to go about fixing this. It turns out the solution is simple - disable port scanning on port 443, that is all.
- Fire up the Kaspersky GUI.
- Select the Online activity option.
- In the online activity window that follows, select the Web Anti-Virus option.
- In the web anti-virus page select Network from the options down the left hand side.
- The network settings options will now be displayed on the right side of the window.
- In the Monitored ports section, select Monitor selected ports only and click the Select... button.
- The Network ports window will now be displayed.
- In the top part of the window, scroll down until you find HTTP SSL (https://) in the list - port 443.
- Uncheck this port and click OK to confirm the setting change and close the network window.
- Click the OK button to close the web anti-virus window.
- Click the Close to close the online security window.
- Click the red X in the top right corner of the Kaspersky Anti-Virus window to close the GUI
You should now find that your Cisco AnyConnect VPN adapter works again now even when Kaspersky Anti-Virus and Online Scanning is enabled.