AnyConnect Script

Hi,

I would like to create a script that is invoked when remote users initiate a VPN connection using AnyConnect VPN client. The script would be a message box that asks users to accept terms and conditions for access to the network. I would like for when the users click yes, the connection is established and if they click no to terminate the connection.

I have research this but cant seem to find an example I can use to write the script. I have downloaded a few examples from cisco site but nothing that is close to what I want to do.
seaprAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
seaprConnect With a Mentor Author Commented:
I found out how to do it. You need to go to Configuration>Remote Access VPN>Clientless SSL VPN Access>Portal>Group Policies.

Select the correct policy and click on Edit. In General remove check mark next to Banner and compose message in text box.
0
 
seaprAuthor Commented:
alienXeno,

Thanks for the link, I took a look at it and tried a few things but then I noticed that it is for clientless SSL VPN access. Our users are using the AnyConnect client for VPN.

Do you have a link for the same but for client vpn?

Thanks again for your help
0
 
alienXenoCommented:
I am not sure ; the link says "Setting the AnyConnect Pre-Login Banner "

Unfortunately, I don't have any other link.
0
 
seaprAuthor Commented:
Solution from Expert pointed me in right direction but was not correct. I supplied the correct solution in my comment which is why I accepted it as a solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.