Mac OS Cisco VPN auto disconnect

Refer to http://imwuyu.me/talk-about/something-about-vpn.html/

Create a new Cisco IPSec connection.

Copy the created conf file to /etc/racoon in Terminal

  sudo cp /var/run/racoon/xxx.xxx.xxx.xxx.conf /etc/racoon

Edit the racoon.conf:

  sudo vim /etc/racoon/racoon.conf

Comment the last line

  # include "/var/run/racoon/*.conf" ;

Add the follow line to the bottom

1 include "/etc/racoon/xxx.xxx.xxx.xxx.conf" ;

Edit IPSec conf file

  sudo vim /etc/racoon/xxx.xxx.xxx.xxx.conf

Disable dead peer detection:

  dpd_delay 0;

Change Proposal to claim(**Important**, default is obey):

  proposal_check claim;

Edit lifetime (default is 3600 sec):

  lifetime time 24 hours;

Reconnect Cisco IPSec

Was this answer helpful?

 Print this Article

Also Read

Error 711

This error caused by important system services terminated. including Telephony, Remote Access...

Error 678

This issue caused by PPTP blocked by ISP.Solutions:Switch to other solutions like L2TP/CISCO IPSEC

Error 868

This issue caused by server address incorrect or DNS resolve issue. Solutions: 1. Verify your...

Error 628

This issue caused by incorrect encryption mode used.Solutions:Follow and Find Step 8 in...

Error 809/800

This issue caused by PPTP blocked by ISP.Solutions:Switch to other solutions like L2TP/CISCO IPSEC