cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2797
Views
0
Helpful
4
Replies

How to limit client VPN connection time in Router2821

Lasandro Lopez
Level 1
Level 1

I've setup a cisco router 2821 with VPN (client) and it is working fine.

All the configuration i've done via CLI

BUt i want that a user vpn client to have:

Maximum connection time 30 min

Maximum idle time 15 min

Where i've to put this commands?

Regards!

1 Accepted Solution

Accepted Solutions

Hi Lasandro,

Looks like max connect timer is not yet available, but idle timeout is.

You can configure it in the dynamic map by using the "set security-association idle-timeout" command.

Or apply it globally with idle-time of 60secs just to check:

"crypto ipsec security-association idle-time 60"

HTH.

Portu.

Please rate any helpful posts.

View solution in original post

4 Replies 4

Hi Lasandro,

Looks like max connect timer is not yet available, but idle timeout is.

You can configure it in the dynamic map by using the "set security-association idle-timeout" command.

Or apply it globally with idle-time of 60secs just to check:

"crypto ipsec security-association idle-time 60"

HTH.

Portu.

Please rate any helpful posts.

Thank you Javier!
Your answer is what i was looking for.
Regards!

Hi Lasandro,

Great news to hear

Have a nice weekend!

A trick that may help you out for the session time-out timer, is the following:

1- Disable the "save password" option in the PCF file (which is on the client's machine) and ISAKMP client group on the IOS.

2- Set the Phase I lifetime to something less than 8 hours, so then, the clients will be forced to reconnect when the Phase I rekey occurs.

HTH.

Portu.

Please rate any helpful posts.