-
-
Save andyzhang26503/6792237 to your computer and use it in GitHub Desktop.
Revisions
-
MaTrine revised this gist
May 21, 2013 . 1 changed file with 1 addition and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,11 +22,4 @@ *注意* 当使用新的vpn地址,或者原来的ip地址发生变化时,会拨号失败。 解决方法:复制原来的`.conf`文件,名字以及文件内部的ip地址修改为新ip即可。 -
MaTrine revised this gist
May 19, 2013 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,3 +19,14 @@ `lifetime time 24 hours;` 10. 重新链接 Cisco IPSec (让系统使用修改后的配置文件) 11. 经测试连接5小时以上未断线 *注意* 当使用新的vpn地址,或者原来的ip地址发生变化时,会拨号失败。 解决方案: 01. 打开终端,输入(不执行) `sudo cp /var/run/racoon/*.conf /etc/racoon/` 02. vpn拨号(新地址) 03. 在终端执行刚才输入的命令 04. 按照前面的步骤(vim xxx.conf)修改配置文件 -
MaTrine revised this gist
Mar 14, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ 05. 将下面一行添加到文件末尾,**包含分号**(使用定制的配置文件): `include "/etc/racoon/xxx.xxx.xxx.xxx.conf" ;` 06. 修改 IPSec 配置文件: `$ sudo vim /etc/racoon/xxx.xxx.xxx.xxx.conf` 07. 取消 dead peer 检测: `dpd_delay 0;` 08. 修改请求方式为 claim(**重要**,原来为 obey): -
MaTrine renamed this gist
Aug 27, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
MaTrine revised this gist
Aug 26, 2012 . No changes.There are no files selected for viewing
-
MaTrine renamed this gist
Aug 26, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
MaTrine created this gist
Aug 26, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ 解决方案来自:[Apple Support Communities] (https://discussions.apple.com/thread/3275811?start=0&tstart=0) 01. 连接 VPN Cisco IPSec (让系统生成配置文件) 02. 拷贝配置文件到`/etc/racoon`打开终端执行: `$ sudo cp /var/run/racoon/xxx.xxx.xxx.xxx.conf /etc/racoon` 03. 修改 racoon 配置文件: `$ sudo vim /etc/racoon/racoon.conf` 04. 将最后一行注释掉(目的是不使用系统生成配置): `# include "/var/run/racoon/*.conf" ;` 05. 将下面一行添加到文件末尾,**包含分号**(使用定制的配置文件): `include "/etc/racoon/xxx.xxx.xxx.xxx.conf" ;` 06. 修改 IPSec 配置文件: `$ sudo vim /etc/racoon/xxx.xxx.xxx.xxx.co07` 07. 取消 dead peer 检测: `dpd_delay 0;` 08. 修改请求方式为 claim(**重要**,原来为 obey): `proposal_check claim;` 09. 修改请求周期 (所有 proposal 中的值原来是3600 sec): `lifetime time 24 hours;` 10. 重新链接 Cisco IPSec (让系统使用修改后的配置文件) 11. 经测试连接5小时以上未断线