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

此答案有用麼?

 列印

建議閱讀

Error 734

This issue caused by Encryption options incorrect.Find in VPN Connections propertise, under...

Still Can not open website when VPN connected

1.  DNS Hijacking is used very often in most ISP network. If you have such problem, please change...

Error 868

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

How to change NAT Type in PS3/PS4

Here’s a quick guide to get you on your way with changing the NAT type: The first thing you’ll...

Error 789/768

This issue happened in WindowsXP the most, mainly caused by IPSec service stopped.Solutions:Open...