• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 766
  • Last Modified:

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.
0
seapr
Asked:
seapr
  • 3
  • 2
2 Solutions
 
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:
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:
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.

Join & Write a Comment

Featured Post

The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now