Child pages
  • Cisco VPN disconnect workaround
Skip to end of metadata
Go to start of metadata

– copied from http://simon.heimlicher.com/articles/2011/03/17/cisco-vpn-10.6.0-3 to save some typing.

  • start VPN connection so racoon config file exists

sudo mkdir /etc/racoon/remote
sudo mv /var/run/racoon/*.conf /etc/racoon/remote
sudo sed -i.bak 's/lifetime time 3600 sec/lifetime time 168 hours/' /etc/racoon/remote/*.conf
sudo patch /etc/racoon/racoon.conf <<EOF
— /etc/racoon.orig/racoon.conf 2009-06-23 09:09:08.000000000 +0200
+++ /etc/racoon/racoon.conf 2009-12-11 13:52:11.000000000 +0100
@@ -135,4 +135,5 @@

  1. by including all files matching /var/run/racoon/*.conf
  2. This line should be added at the end of the racoon.conf file
  3. so that settings such as timer values will be appropriately applied.
    +include "/etc/racoon/remote/*.conf" ;
    include "/var/run/racoon/*.conf" ;
    EOF
    sudo launchctl stop com.apple.racoon
    sudo launchctl start com.apple.racoon
  • No labels