<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<channel>
	<title>《X-Only》 - 技术备忘</title>
	<link>http://www.x-only.net/Folder/4/Index.aspx</link>
	<language>zh-CN</language>
	<webMaster>huan_zuo@x-only.net(Huan.Zuo)</webMaster>
	<pubDate>Thu, 28 Feb 2008 15:49:39 GMT</pubDate>
	<copyright>Copyright 2007-2009. All rights reserved.</copyright>
	<generator>Bitrac Free Version</generator>
	<description>私人Blog请勿涂鸦</description>
	<image>
		<title>《X-Only》</title>
		<url>http://www.x-only.net/Client/Banner.gif</url>
		<link>http://www.x-only.net/</link>
		<description>私人Blog请勿涂鸦</description>
	</image>
	<item>
		<link>http://www.x-only.net/Article/86.aspx</link>
		<title>关于IE浏览器被强X了的起始页面</title>
		<author>huan_zuo@x-only.net()</author>
		<category>技术备忘</category>
		<pubDate>Sun, 26 Jul 2009 01:47:43 GMT</pubDate>
		<description>&lt;p&gt;&lt;span style=&quot;font-size:medium;&quot;&gt;&lt;b&gt;虽&lt;/b&gt;&lt;/span&gt;然很少用到Windows系统，但工作上的需要还是保留了2003，也不知是什么时候IE被强X了，哎，就开始了漫长的清除工作了，首先我绝对不会去装什么反强X的软件，因为它们会用强X的方式来去处你当前被强X的页面，我用我所有的高级系统工具扫描、探测、跟踪、调试都没找到这个垃圾是如何强X我的，这里已经是排除了加载项BHO已经注册表等那些高难度的问题，再我失望之余，终于发现了这个垃圾的奥秘，MD，最简单的方式就是最安全的方式......&lt;/p&gt;&lt;p&gt;　　既然在IE的快捷方式里找到了......你只需要编辑你IE的快捷方式既可。靠！&lt;/p&gt;</description>
		<guid>http://www.x-only.net/Article/86.aspx</guid>
		<trackback:ping>http://www.x-only.net/Article/86/Trackback.ashx</trackback:ping>
		<comments>http://www.x-only.net/Article/86.aspx#CommentPostAnchor</comments>
		<wfw:commentRss>http://www.x-only.net/Article/86/Feeds.ashx</wfw:commentRss>
	</item>
	<item>
		<link>http://www.x-only.net/Article/85.aspx</link>
		<title>McAfee Security for Mac 1.0 Release Candidate (ePO)</title>
		<author>huan_zuo@x-only.net()</author>
		<category>技术备忘</category>
		<pubDate>Sat, 25 Jul 2009 07:10:03 GMT</pubDate>
		<description>&lt;h3 style=&quot;margin-top: 0px !important; margin-right: 6px; margin-bottom: 0px !important; margin-left: 6px; padding-top: 5px !important; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb(176, 12, 51); font-size: 14px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(198, 196, 192); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(123, 126, 125); font-size: 12px; font-weight: normal; &quot;&gt;&lt;h3 style=&quot;margin-top: 0px !important; margin-right: 6px; margin-bottom: 0px !important; margin-left: 6px; padding-top: 5px !important; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb(176, 12, 51); font-size: 14px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(198, 196, 192); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(123, 126, 125); font-size: 12px; font-weight: normal; &quot;&gt;&lt;h3 style=&quot;margin-top: 0px !important; margin-right: 6px; margin-bottom: 0px !important; margin-left: 6px; padding-top: 5px !important; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb(176, 12, 51); font-size: 14px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(198, 196, 192); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(123, 126, 125); font-size: 12px; font-weight: normal; &quot;&gt;&lt;h3 style=&quot;margin-top: 0px !important; margin-right: 6px; margin-bottom: 0px !important; margin-left: 6px; padding-top: 5px !important; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb(176, 12, 51); font-size: 14px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(198, 196, 192); &quot;&gt;McAfee Security for Mac 1.0 Release Candidate&lt;/h3&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; &quot;&gt;&lt;strong&gt;Overview&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px; &quot;&gt;McAfee® Security for Mac is an integrated suite of products that uses advanced heuristics and protects your Mac from viruses, trojans, spyware, and other malware. It also protects your Mac from execution of blocked applications, and unauthorized network access. It integrates with ePolicy Orchestrator and enables you to manage product policies and events, and view detailed enterprise-level reporting.&lt;/p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;=======================================&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;以上是说明信息，不用多说，下面提供下载连接：&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;&lt;a href=&quot;ftp://ftp.lonlife.net/x-only/McAfee/MSM_RC.dmg&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255); &quot;&gt;MSM_RC.dmg&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;&lt;a href=&quot;ftp://ftp.lonlife.net/x-only/McAfee/MSM_RC_AV.dmg&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255); &quot;&gt;MSM_RC_AV.dmg&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;支持ePO的版本：&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;&lt;a href=&quot;ftp://ftp.lonlife.net/x-only/McAfee/MSM_RC_ePO.zip&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255); &quot;&gt;MSM_RC_ePO.zip&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;&lt;a href=&quot;ftp://ftp.lonlife.net/x-only/McAfee/MSM_RC_AV_ePO.zip&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255); &quot;&gt;MSM_RC_AV_ePO.zip&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;PC个人版本临时链接：&lt;/p&gt;&lt;p style=&quot;margin-top: 10px; margin-right: 6px; margin-bottom: 10px; margin-left: 6px; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 2px; &quot;&gt;&lt;a href=&quot;ftp://ftp.lonlife.net/x-only/McAfee/McAfee_Person_87i.zip&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255); &quot;&gt;McAfee_Person_87i.zip&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<guid>http://www.x-only.net/Article/85.aspx</guid>
		<trackback:ping>http://www.x-only.net/Article/85/Trackback.ashx</trackback:ping>
		<comments>http://www.x-only.net/Article/85.aspx#CommentPostAnchor</comments>
		<wfw:commentRss>http://www.x-only.net/Article/85/Feeds.ashx</wfw:commentRss>
	</item>
	<item>
		<link>http://www.x-only.net/Article/81.aspx</link>
		<title>Mac OS系统下设置VPN的高级操作手册</title>
		<author>huan_zuo@x-only.net()</author>
		<category>技术备忘</category>
		<pubDate>Sun, 12 Jul 2009 22:07:42 GMT</pubDate>
		<description>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium&quot;&gt;本&lt;/span&gt;&lt;/b&gt;篇文章介绍的是如何在连接VPN之后，使我们的应用程序有选择的使用VPN，不用VPN的应用程序可以使用本地网络连接，如果你能引深下去的话，你也可以在你当前网络中建立若干个VPN来实现多条安全线路噢（电影里都这么说的呀：“给我一条安全线路”）。&lt;/p&gt;&lt;p&gt;　　本文是在《&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold; line-height: 18px; font-family: Verdana, Calibri, Helvetica, Arial, sans-serif&quot;&gt;&lt;a class=&quot;ArticleList.TitleClass&quot; style=&quot;color: rgb(106,138,158); text-decoration: none&quot; href=&quot;http://www.x-only.net/Article/78.aspx&quot; target=&quot;_blank&quot;&gt;Mac OS系统下设置代理(VPN、SOCKS)完全手册&lt;/a&gt;&lt;/span&gt;》基础上扩充的高级操作，没看过这篇文章者请先浏览一番再过来深讨接下来的内容。&lt;/p&gt;&lt;p&gt;　　首先需要知道一个password，就是你的root的密码，你难道不知道你的root的密码？那么你别别人黑的几率就太大了，起初在安装mac的时候如果你没有意识到这个问题或者你根本就不知道这个root是什么或如何设置密码，那就太可怕了，当然了有些哥们知道自己的root密码，这另当别论了，现在我们检测自己的root密码是什么，你在mac系统的“应用程序”目录下的“实用工具”中找到“终端”，点击这个“终端”，实际上就是个命令窗口罢了，在命令提示符后输入：“su root”并回车，接下来会提示问你要“Password:”，你就在这后面输入你的密码并回车，你输入的任何内容将不会显示，也不会提示的，只有当你回车之后才能确认你输入的密码是否正确。&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;93&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/gx9hz3_图片16.png&quot; width=&quot;265&quot; /&gt;&lt;/p&gt;&lt;p&gt;看见没，如果你输入的密码是错误的，那么会提示“su: Sorry”，你可以多试几次的，直到正确为止，我这里可说明清楚了，你必须要搞到你的root的密码，否则你无法继续下面的操作的。&lt;/p&gt;&lt;p&gt;密码正确的提示应该是这样的：&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;51&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/tlqyge_图片18.png&quot; width=&quot;225&quot; /&gt;&lt;/p&gt;&lt;p&gt;原来的命令行提示符将变为内核版本号了，这说明你已经获取最高的系统权限了。&lt;/p&gt;&lt;p&gt;　　以上的说明内容就是要求大家搞到自己的root帐号的密码，但是如果你实在不知道你的root密码是多少，完全忘记了怎么办呢，这个就很麻烦了，难道要重装系统，OMG，你当初怎么就没想到呢，在windows下你可能会给adminsitrator设置个密码，那么你怎么就不会在mac下设置个root的密码呢。&lt;/p&gt;&lt;p&gt;　　表急，接下来就告诉大家如何用最简单的方法来重置你的root密码，重置root密码至少有两种方法，但是有一种方法太过繁琐，有时候我都不一定能记得具体的命令了，不过我这里提供一种最简单的方法，就是你还必须找到你的安装mac的第一张光盘“Mac OS X Install Disk 1”，记住别拿错了噢，然后用这张光盘启动（表告诉我你不会用光盘启动，当重新启动机器的时候你会听见“噹”的一声并按住“option”键，之后屏幕会出先你所有能启动的磁盘），当系统重光盘启动之后，那就呼啦呼啦的等......&lt;/p&gt;&lt;p&gt;　　现在，光盘启动，出现的第一个界面就是“语言”选择了，当初我看这个界面很长时间了，看看到底能支持那些语言结果发现几乎包括所有的人类语言咯（强！），这里我们当然就选择“以简体中文作为主语言”，下一步咯（顺便说下我不知道在这个界面下如何截图，如果有什么方法共享啊！），偌大的一个“欢迎”出现在你眼前了，这是也出现了菜单条了，点击“实用工具”菜单项，然后继续点击“重设密码”，出现了一个“重设密码”的对话框，首先会罗列出你所有的物理硬盘，你只要选中安装mac的硬盘即可，接下来在“选择该卷宗的一个用户以重置他们的密码”列表中找到你的root账号，就是“System Administrator(root)”这个啦，ok，继续，在“请为此用户输入一个新密码”中输入你的root密码噢，这可别忘了噢，但也别设置的过于简单，并在“请再一次输入此用户的新密码”重复输入一遍，我再次强调你万万不要忘记你的root密码了，实在不行，去，找个本子记下来（有了电脑还要本子记，真的很讽刺噢），好了，你的root密码已经重置了，可以直接点击“储存”按钮了。（那个“为此用户输入新的密码提示（可选）”我想不用说了吧，不用管它了，还有那个“重设个人目录权限和ACL”你也别瞎点噢，出了问题我不负责。），那么我们重启机器吧......&lt;/p&gt;&lt;p&gt;　　重新启动后在登录窗口会出现一个“其它”的用户名，这个无需管它的，这就是重置root密码的后果，我觉得不影响美观吧。好，进入系统之后还是打开“终端”程序，并输入：“su root”并输入你的密码，成功之后的命令提示符号是不一样的噢，去参考我上面的图中的提示。那么说我们已经成功的用root账号访问系统了，那么就可以操作一些高级命令了，如果你想继续深造unix的命令的话，这个root的密码对你很有用的噢，现在本节告一段落了，下面开始温习VPN的内容了。&lt;/p&gt;&lt;p&gt;　　还记得上篇文章说的VPN设置中的那个“高级”选项吗。&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;412&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/c7u6o8_图片10.png&quot; width=&quot;500&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;359&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/5f1vrj_图片19.png&quot; width=&quot;500&quot; /&gt;&lt;/p&gt;&lt;p&gt;对，关于这个“通过VPN连接发送所有通信”的问题，我们怎么来理解这个问题呢，如果不选则这个项目的话，就是说不是所有的通信都走VPN的是哇，那么哪些通过VPN，哪些不通过VPN呢，我们怎么能知道呢，我又没做任何设置，那么系统就能通过我的YY让我想要的程序走VPN？哪是不可能滴，看见第二个标签啦“请求VPN域”，对了，就是这个玩意了（但不完全是这东西噢）。&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;359&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/zcphpw_图片13.png&quot; width=&quot;500&quot; /&gt;&lt;/p&gt;&lt;p&gt;你可以再这个自定义的域列表中任意添加需要通过VPN通信的“域名”，记住，是域名，不是IP，我试过IP但似乎没什么效果，或许可以用IP我只是没测出来罢了，我后来看了帮助，靠，帮助怎么说来着，说这个VPN的请求域，只能用于Safari浏览器的，靠，就是说我们在这里设置的任何通过VPN通讯的域，只能用在Safari中，似乎也只有浏览器可用了，或许一些跨国企业才能用的上咯......我郁闷啊。&lt;/p&gt;&lt;p&gt;　　好了，再郁闷也得继续写下去咯，现在说到重要的部分了，一句话我们用路由绑定IP的方法来实现我们真正意义上的VPN吧。好，现在我们开始做准备工作了，要准备的一些东西就是：root的密码，以及那个在高级选项中不需要选中“通过VPN连接发送所有通信”项，再提供一个IP地址专门用来测试用的ping 203.66.120.124（后来我查了一下，靠，既然是wow的TF的ping地址啊，我太有才了！），那么准备的就就绪了。&lt;/p&gt;&lt;p&gt;　　打开“终端”为了测试方便，你可以打开多个标签页，用command+T，你可以再其中一个页里直接输入：“ping 203.66.120.124”，看看你现在的与它通信的速度如何，我的速度就这样（在没用VPN通道的速度）&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;Image&quot; height=&quot;102&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/naqn6p_图片20.png&quot; width=&quot;404&quot; /&gt;&lt;/p&gt;&lt;p&gt;接着，你在下一个标签页里输入你root密码：“su root”，并成功获取root权限，下面我们就介绍一个命令：“route”，路由设置命令，如果你想了解详细的“route”的所有参数和说明，你可以输入：“man route”，将会列出所有的参数和详细说明的，当然你如果看的明白的话.....。&lt;/p&gt;&lt;p&gt;再介绍一个命令：“ifconfig”，该命令列出你当前系统中所有的网络设备名（或别名），如果你已经成功了拨号上了VPN的话，那么在使用“ifconfig”后，列出的最后一项应该是个“PPP0”这个设备，这个设备名就是一个虚拟设备，也就是VPN拨号网络名了。&lt;/p&gt;&lt;p&gt;现在我们用一个提炼的精简的一行命令来处理，“route -nv add -net 203.66 -interface ppp0”。&lt;/p&gt;&lt;p&gt;构思中，表急......&lt;/p&gt;</description>
		<guid>http://www.x-only.net/Article/81.aspx</guid>
		<trackback:ping>http://www.x-only.net/Article/81/Trackback.ashx</trackback:ping>
		<comments>http://www.x-only.net/Article/81.aspx#CommentPostAnchor</comments>
		<wfw:commentRss>http://www.x-only.net/Article/81/Feeds.ashx</wfw:commentRss>
	</item>
	<item>
		<link>http://www.x-only.net/Article/78.aspx</link>
		<title>Mac OS系统下设置代理(VPN、SOCKS)完全手册</title>
		<author>huan_zuo@x-only.net()</author>
		<category>技术备忘</category>
		<pubDate>Thu, 02 Jul 2009 11:03:34 GMT</pubDate>
		<description>&lt;p&gt;&lt;span style=&quot;font-size: small; &quot;&gt;在&lt;/span&gt;MacOS系统下设置网络代理的详细办法。&lt;/p&gt;&lt;p&gt;　　在mac下设置代理有两种一种可以通过socks，还有一种就是VPN方式；socks的设置方式可以查看文章《&amp;nbsp;&lt;a href=&quot;http://www.x-only.net/Article/68.aspx&quot; target=&quot;_blank&quot;&gt;Mac系统代理服务器设置方法（socks部分&lt;/a&gt;）》&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Calibri, Helvetica, Arial, sans-serif; font-weight: normal; &quot;&gt;，但是，由于mac的socks需要代理服务器来支持mac版本的数据格式，所以通常的socks5的服务器都无法正确的或很好的支持mac下的socks代理，这里不做具体研究是为什么；我个人建议推荐使用VPN的虚拟拨号防止来建立一个IP隧道来实现代理服务器的方式。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;　　关于什么是VPN请自己上google去搜搜，在mac下提供了拨号方式的VPN，首先要打开“系统偏好设置”中的“网络”。&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;412&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/4at05a_图片1.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;并且新建一个VPN的网络连接：&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;295&quot; height=&quot;216&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/w4s2vm_图片3.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;当你建立VPN时，会让你选择VPN的模式，即PPTP或L2TP；由于架设VPN代理服务器的供应商所选用的操作系统不同，那么对于我们用户来说就非常之麻烦了，你必须要想代理服务商询问对方使用的是哪种接入模式，不过我个人发现如果使用L2TP模式接入的话虽然方便但是mac客户端必须要使用共享密钥，但绝大多数的VPN代理商即便使用的是L2TP模式，也会强制不使用该密钥的（NND，真TM烦）；不过也有不少VPN代理商提供PPTP的拨号接入模式，这个很方便于用户使用，设置也简单。&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;295&quot; height=&quot;78&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/duxwxj_图片4.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;以下，就针对PPTP拨号接入模式进行具体介绍，至于L2TP模式（自己理解，自己摸索吧）。&lt;/p&gt;&lt;p&gt;好，现在我们就建立一个以PPTP拨号方式的VPN连接：&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;426&quot; height=&quot;208&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/j7zeg6_图片5.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;412&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/heco0b_图片6.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;当建立好一个VPN之后，上图我们可见在左边的网络连接列表的最后一项便是当前建立完成的VPN，接下来是设置VPN的参数：&lt;/p&gt;&lt;p&gt;第一项内容是“配置”内容的设置&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;285&quot; height=&quot;126&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/hpx47a_图片7.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;如果你在同一个VPN上有很多不同的帐号，可以新建不同的配置来应用多个帐号，我在这里只是贴个图出来Look罢了，就用缺省的配置。&lt;/p&gt;&lt;p&gt;接下来就是设置VPN的服务器地址和用户的帐号内容，还有密码，密码的设置是在鉴定设置里完成的，如图：&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;381&quot; height=&quot;236&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/cev7e1_图片9.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;废话一句，这样的密码设置和我们以前的设置密码的界面有所不同，我就不明白为什么这么设计，真不习惯。&lt;/p&gt;&lt;p&gt;既然我们选用的是PPTP拨号模式的VPN，那么这里就给出了加密方式，通常VPN服务提供商是会不加密数据包的，或者强制不加密；他们往往会在服务器端以过滤数据包或用控制数据流量的方式来处理数据流，这不是我们最终用户需要了解的，反正选择“无”即可，话说回来，我建议你还是得问问你那个VPN服务商，到底有没有加密，或用的加密程度，万一他们加密了......&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;285&quot; height=&quot;108&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/3as5oa_图片8.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;如果一切该设置的都设置完毕了，那么就差不多了。&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;412&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/c7u6o8_图片10.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;但是，别以为你什么都ok了，还有一些概念和一些高级的注意事项，瞧，我那个红色的框框，你要点下看看噢。&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;359&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/8vfy1k_图片12.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;对了，就是这个，高级选项了，注意看到那个红色框框内的说明了吗，什么叫做“通过VPN连接发送所有通信”呢，就是全局控制你的网络通信，简单的说就是让你的当前mac下的所有需要上网或必须上网才能工作的应用程序都必须通过现在设置的VPN来进行通信的，但是......&lt;/p&gt;&lt;p&gt;但是绝大部分，或者说99.99%的VPN代理商都有数据包过滤或数据流量控制，那么你一但选择了该项，那么你肯定有很多“东西”都上不了网的（QQ或许可以，那时人家特地为它开的绿灯咯），这怎么办，别怕，肯定是有办法的。&lt;/p&gt;&lt;p&gt;如果你既想让你的某一些程序能使用VPN，又想不影响你其它应用程序的正常上网，我会再另一篇文章《&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Calibri, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 18px; &quot;&gt;&lt;a href=&quot;http://www.x-only.net/Article/81.aspx&quot; class=&quot;ArticleList.TitleClass&quot; style=&quot;color: rgb(21, 100, 123); text-decoration: none; &quot; target=&quot;_blank&quot;&gt;Mac OS系统下设置VPN的高级操作手册&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Verdana, sans-serif; font-weight: normal; line-height: normal; &quot;&gt;》里介绍如果这样实现这样的操作，不过那样的话，很烦很烦噢，对于一点计算机都不明白的同志来说，灰常具有专业水平的操作。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;言归正传，现在我接着介绍在使用“通过VPN连接发送所有通信”该项后，确定那“高级”选项中的内容和上图中的一致即可“确定”了。&lt;/p&gt;&lt;p&gt;然后就是......开始我们的“连接“&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;500&quot; height=&quot;412&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/5do7kg_图片15.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;连接成功后，在上图的左边，VPN的连接便呈现绿灯了，注意VPN的连接是必须在已有的本地网络连接的基础上进行的，现在我们需要注意的就是网络连接后的状态并来分析数据是否真的有通信流量产生了。&lt;/p&gt;&lt;p&gt;&lt;img width=&quot;338&quot; height=&quot;68&quot; class=&quot;Image&quot; alt=&quot;&quot; src=&quot;http://www.x-only.net/Attach/month_0907/trtrll_图片17.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;看见这个状态信息了没，连接时间，IP地址，以及数据发送和接收的流量指示计，这里的IP是一个本机主机的IP，表示你自己现在用的这台机器主机内部的IP（这里不给补课了，自己soso去吧），如果你想设置我那篇《&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Calibri, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 18px; &quot;&gt;&lt;a href=&quot;http://www.x-only.net/Article/81.aspx&quot; class=&quot;ArticleList.TitleClass&quot; style=&quot;color: rgb(21, 100, 123); text-decoration: none; &quot; target=&quot;_blank&quot;&gt;Mac OS系统下设置VPN的高级操作手册&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Verdana, sans-serif; font-weight: normal; line-height: normal; &quot;&gt;》文章里的内容，那么这个IP你就得明白了......&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;现在我们已经成功的使用VPN来进行通讯了，你也可以正常的使用你”那个“需要使用VPN的应用程序了，不过我又要提醒你的就是，你的那个VPN服务提供商是否提供mac客户端的支持呢，你还是要问一下咯，也不是所有的服务商有足够的技术能力来实现的。&lt;/p&gt;&lt;p&gt;高级设置请look《&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Calibri, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 18px; &quot;&gt;&lt;a href=&quot;http://www.x-only.net/Article/81.aspx&quot; class=&quot;ArticleList.TitleClass&quot; style=&quot;color: rgb(21, 100, 123); text-decoration: none; &quot; target=&quot;_blank&quot;&gt;Mac OS系统下设置VPN的高级操作手册&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Verdana, sans-serif; font-weight: normal; line-height: normal; &quot;&gt;》！&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
		<guid>http://www.x-only.net/Article/78.aspx</guid>
		<trackback:ping>http://www.x-only.net/Article/78/Trackback.ashx</trackback:ping>
		<comments>http://www.x-only.net/Article/78.aspx#CommentPostAnchor</comments>
		<wfw:commentRss>http://www.x-only.net/Article/78/Feeds.ashx</wfw:commentRss>
	</item>
	<item>
		<link>http://www.x-only.net/Article/53.aspx</link>
		<title>如何在ISA的网络环境下使用MAC系统</title>
		<author>huan_zuo@x-only.net()</author>
		<category>技术备忘</category>
		<pubDate>Tue, 26 Aug 2008 02:47:31 GMT</pubDate>
		<description>&lt;p&gt;&lt;span style=&quot;font-size: large; &quot;&gt;&lt;b&gt;找&lt;/b&gt;&lt;/span&gt;到一个配置ISA的文章，用来使用MAC系统。&lt;/p&gt;&lt;p&gt;以下原文：&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana; font-size: 13px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold; &quot;&gt;&lt;a class=&quot;post-title&quot; href=&quot;http://simultaneouspancakes.com/Lessons/2005/11/05/internet-access-for-macintoshes-behind-isa-2004/&quot; target=&quot;_blank&quot; rel=&quot;bookmark&quot; target=&quot;_blank&quot; target=&quot;_blank&quot; style=&quot;font-family: Geneva, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); text-decoration: none; background-color: rgb(255, 255, 255); margin-bottom: 0px; &quot; target=&quot;_blank&quot;&gt;Internet Access for Macintoshes behind ISA 2004&lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;post-author&quot; style=&quot;font-size: 8pt; color: rgb(0, 51, 102); background-color: rgb(255, 255, 255); margin-bottom: 3em; &quot;&gt;By Q&lt;/div&gt;&lt;div class=&quot;post-content&quot; style=&quot;font-size: 10pt; color: rgb(51, 51, 51); &quot;&gt;&lt;p&gt;Since the Macintosh platform does not interact with the default authentication requirements of ISA 2004 for web and non-web access, you have to create a special ISA configuration to allow outbound Internet access for Macs.&lt;/p&gt;&lt;p&gt;The remainder of this post will give step-by-step instructions for setting up the ISA configuration.&lt;br /&gt;&lt;br /&gt;First, you will need to identify a range of IP addresses that will belong only to the Macs. By default, SBS creates a DHCP address scope of .1 to .254, but then excludes addresses .1 through .9. Ideally, you’d like for the Macs to fall into a particular address range (the range size will depend on the number of Macs involved) within that DHCP scope. If you have 10 Macs, you might want the address range to be 192.168.16.51-192.168.16.60.&lt;/p&gt;&lt;p&gt;When you have decided on the address range you want to use for the Macs, follow the instructions in the&amp;nbsp;&lt;a href=&quot;http://simultaneouspancakes.com/Lessons/archives/2005/11/configuring_dhc.shtml&quot; target=&quot;_blank&quot; target=&quot;_blank&quot; style=&quot;color: rgb(46, 67, 46); &quot; target=&quot;_blank&quot;&gt;Configuring DHCP Reservations in SBS 2003&lt;/a&gt;&amp;nbsp;post to create the reservations for the Macs. This does two things. First, it guarantees that the Macs will fall into this address range. Second, it guarantees that no other systems will fall into the address range.&lt;/p&gt;&lt;p&gt;Now, to configure ISA:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Open the ISA Server Management Console.&lt;/li&gt;&lt;li&gt;Expand you server name and click&amp;nbsp;&lt;em&gt;Firewall Policy&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;In the right-hand pane, click the&amp;nbsp;&lt;em&gt;Toolbox&lt;/em&gt;&amp;nbsp;tab.&lt;/li&gt;&lt;li&gt;Expand&amp;nbsp;&lt;em&gt;Network Objects&lt;/em&gt;, and then click&amp;nbsp;&lt;em&gt;Computer Sets&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Right-click on&amp;nbsp;&lt;em&gt;Computer Sets&lt;/em&gt;&amp;nbsp;and select&amp;nbsp;&lt;em&gt;New Computer Set&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Enter a name for the set in the&amp;nbsp;&lt;em&gt;Name&lt;/em&gt;&amp;nbsp;field (something like “Mac Group”).&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;, then select&amp;nbsp;&lt;em&gt;Address Range&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Enter a name for the range in the&amp;nbsp;&lt;em&gt;Name&lt;/em&gt;&amp;nbsp;field (something like “Mac Range”).&lt;/li&gt;&lt;li&gt;Enter the starting and ending addresses for the range to match the DHCP reservations you created in DHCP.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;OK&lt;/em&gt;&amp;nbsp;when the range is correct.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;OK&lt;/em&gt;&amp;nbsp;to save the Computer Group.&lt;/li&gt;&lt;li&gt;In the right-hand pane, click the&amp;nbsp;&lt;em&gt;Tasks&lt;/em&gt;&amp;nbsp;tab.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Create a New Access Rule&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Enter a name for the Access Rule (i.e. “Mac Internet Access Rule”) and click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;In the&amp;nbsp;&lt;em&gt;Rule Action&amp;nbsp;&lt;/em&gt;page, click&amp;nbsp;&lt;em&gt;Allow&lt;/em&gt;&amp;nbsp;and then click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;In the&amp;nbsp;&lt;em&gt;Protocols&lt;/em&gt;&amp;nbsp;page, select&amp;nbsp;&lt;em&gt;All outbound traffic&lt;/em&gt;&amp;nbsp;if you don’t want to restrict Internet access for the group, or select&amp;nbsp;&lt;em&gt;Selected Protocols&lt;/em&gt;&amp;nbsp;or&amp;nbsp;&lt;em&gt;All outbound traffic except selected&lt;/em&gt;if you want to restrict the types of traffic for the group. If you choose either of the latter options, you will need to click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;&amp;nbsp;and select the protocols you wish to allow or deny and add them to the list.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;&amp;nbsp;to continue.&lt;/li&gt;&lt;li&gt;In the&amp;nbsp;&lt;em&gt;Access Rule Sources&lt;/em&gt;&amp;nbsp;page, click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Expand&amp;nbsp;&lt;em&gt;Computer Sets&lt;/em&gt;, and select the group you just created.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;, then click&amp;nbsp;&lt;em&gt;Close&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;When you see that the correct computer group is listed, click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;In the&amp;nbsp;&lt;em&gt;Access Rule Destinations&lt;/em&gt;&amp;nbsp;page, click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Expand&amp;nbsp;&lt;em&gt;Networks&lt;/em&gt;, and select&amp;nbsp;&lt;em&gt;External&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Add&lt;/em&gt;, then click&amp;nbsp;&lt;em&gt;Close&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;When you see External listed, click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Next&lt;/em&gt;&amp;nbsp;to accept the&amp;nbsp;&lt;em&gt;All Users&lt;/em&gt;&amp;nbsp;group.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Finish&lt;/em&gt;&amp;nbsp;to create the rule.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;Apply&lt;/em&gt;&amp;nbsp;above the Firewall Policy tab.&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&lt;em&gt;OK&lt;/em&gt;&amp;nbsp;when the changes have completed.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Now you will need to reboot the Mac and make sure it receives the correct address from the DHCP server. If for some reason the Mac does not receive the correct address, you can manually set the IP address to match the number it should have received from the DHCP server.&lt;/p&gt;&lt;p&gt;At this point, the Mac should have access to the Internet based on the restrictions you placed in the rule, if any. Note that you will not need to configure the Mac web browsers to use the proxy server with this configuration.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;引用源：http://simultaneouspancakes.com/Lessons/2005/11/05/internet-access-for-macintoshes-behind-isa-2004/&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;</description>
		<guid>http://www.x-only.net/Article/53.aspx</guid>
		<trackback:ping>http://www.x-only.net/Article/53/Trackback.ashx</trackback:ping>
		<comments>http://www.x-only.net/Article/53.aspx#CommentPostAnchor</comments>
		<wfw:commentRss>http://www.x-only.net/Article/53/Feeds.ashx</wfw:commentRss>
	</item>
</channel>
</rss>