Cisco Anyconnect Block Connections To Untrusted Servers



Click the start button, look in your applications and click the Cisco AnyConnect Secure Mobility Client application. Uncheck Block connections to untrusted servers, close this window then click Connect. Check Always trust this VPN server and import the certificate and click Connecty Anyway.

Cisco Anyconnect Block Connections To Untrusted Servers List

Uncheck Block connections to untrusted servers, close this window then click Connect. Check Always trust this VPN server and import the certificate and click Connecty Anyway. Enter your ORI credentials and click OK. Uncheck the Block connections to untrusted servers option. After changing this setting, you can successfully connect to the VPN and only receive a warning Check the Always trust this VPN server and import the certificate checkbox, to never see the warning again. In cases where just installed or connecting the first time with CISCO AnyConnect, a window will pop up stating that the 'Untrusted VPN Server Blocked!' This is normal in the Managed.com Private Cloud environment. To remove this warning you can do the following. From the Windows System Tray, you will see your icon to open CISCO AnyConnect, right-click on.

I have 2 VPN and sometimes I should switch them very often. I decided to create .bat file which could connect to desired VPN with credentials set in this file.

So I create .bat file with following code:

Where 1.txt contains credentials of VPN #1 which has trusted cerficate.
here's what 1.txt contains:

Untrusted

Where 1 goes for GROUP with number 1.

The second VPN is untrusted and I have this prompt awaring me what VPN is untrusted. I used similar code for .bat file:

And following data in 2.txt:

Cisco Anyconnect Block Connections To Untrusted Servers Ip

('y' goes for accepting untrusted server)

Cisco Anyconnect Block Connections To Untrusted ServersAllow

Cisco Anyconnect Block Connections To Untrusted Servers Download

But now it says 'Login failed' after entering password is prompted and then it appears in loop and never stops.

Cisco Anyconnect Block Connections To Untrusted Servers

The question is: how should I modify my 2.txt file to make script connect to VPN #2?