Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Anyway to set a idle timeout on VPN? I want my VPN connection to drop automatically after idling for 5 minutes.

Using Lion 10.7.3 and built-in VPN Client (Cisco IPsec).

share|improve this question
add comment

2 Answers

Go to System Preferences > Network. Select your VPN connection from the sidebar. Click on Advanced. In the first tab ("Options"), there should be the option "Disconnect if idle for X minutes".

share|improve this answer
2  
Thanks for your reply. That works for normal VPN, but when you choose Cisco IPSec, that option is not there :( –  Rogier Jun 25 '12 at 16:01
add comment

There is no way to do it through the VPN connector. This setting is determined by the administrator of Cisco/IPSEC VPN endpoint.

This not to say that you could not write a script that monitors network traffic and disconnects the client after a prescribed idle time - just that it is not available as a setting or attribute of the VPN connection on the client side.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.