06-02-2021 12:26 AM - edited 06-02-2021 12:27 AM
Hi i am new to cisco ASA i need to control the users to access vpn on particular time only ,like morning 7am to evening 7 pm any one can help me on this thanks
06-02-2021 12:31 AM
You can use an EEM script to logoff users after a certain time, example:-
06-02-2021 01:11 AM
Probably, the last example in that link logged off all users:-
event manager applet VPN-Disconnect
event timer absolute time 17:00:00
action 2 cli command "vpn-sessiondb logoff anyconnect noconfirm"
output none
Just amend the "action" with the command you want to run, you could use the following to logoff a named user:-
vpn-sessiondb logoff name USERNAME
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide