<?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:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>雨豪博客 &#187; routeros专题</title>
	<atom:link href="http://www.wx35.cn/catalog/routeros%e4%b8%93%e9%a2%98/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wx35.cn</link>
	<description>以互联网与电脑科技为主的独立博客</description>
	<lastBuildDate>Sun, 29 Jan 2012 13:11:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ros的修改-防止syn攻击,内外网卡绑定!</title>
		<link>http://www.wx35.cn/archives/237/</link>
		<comments>http://www.wx35.cn/archives/237/#comments</comments>
		<pubDate>Sun, 27 May 2007 16:59:32 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://www.wx35.com/blog/archives/237</guid>
		<description><![CDATA[&#160; 今天改动routeros的是首先防御syn攻击用winbox连接，在 ip――firewall――connections――tracking――connections tracking中修改tcp syn sent timeout 这项的时间为00：00：50。再修改tcp syn received timeout 这项... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="COLOR: red">今天改动routeros的是首先防御syn攻击</span><br />用winbox连接，在 ip――firewall――connections――tracking――connections tracking中修改tcp syn sent timeout 这项的时间为00：00：50。再修改tcp syn received timeout 这项的时间为00：00：30。</p>
<p><a href="http://www.wx35.cn/upload/200705271301312318.jpg"><img height="429" width="400" alt="" src="http://www.wx35.cn/upload/200705271301312318.jpg" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.wx35.cn/upload/200705271302002423.jpg"><img height="429" width="400" alt="" src="http://www.wx35.cn/upload/200705271302002423.jpg" /></a></p>
<p><span style="COLOR: red">内网IP和MAC帮定</span></p>
<p>A. 打开所有子网电脑，并随便浏览什么网页。</p>
<p>B.在 winbox 里，点击 IP － ARP，出现 ARP list ，前面有 D 的表示是 routeros 动态捕捉到的，我们可以用copy 的办法把这个绑定留下来。</p>
<p>C.双击 这个前面有 D 的，依次点击 Tools &#8211; Copy，按 OK 即可。 <br />D.依次做，当你所有的需要上网的电脑的 IP- MAC 绑定都 Copy 好以后选择 主菜单 中的 interface ，双击其中 </p>
<p>的 内网网卡，其中General 选项卡 中的 ARP 项选 reply－only ，按 OK 就行了。</p>
<p>掉线是因为你还没有绑定IP-MAC，做 reply－only 了。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/237/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/237/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2.9系列 ROS 防火墙</title>
		<link>http://www.wx35.cn/archives/153/</link>
		<comments>http://www.wx35.cn/archives/153/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 03:59:01 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=153</guid>
		<description><![CDATA[&#160;&#160; jan/12/2006 21:47:17 by RouterOS 2.9.7# software id = 3FMQ-Z6N#/ ip firewall filter add chain=input src-address-list=black_list action=drop comment=&#34;Drop Black list 屏蔽黑名单IP &#34; disabled=no add chain=input connection-state=inv... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp; jan/12/2006 21:47:17 by RouterOS 2.9.7<br /># software id = 3FMQ-Z6N<br />#<br />/ ip firewall filter <br />add chain=input src-address-list=black_list action=drop comment=&quot;Drop Black list 屏蔽黑名单IP &quot; disabled=no <br />add chain=input connection-state=invalid action=drop comment=&quot;drop invalid <br />&nbsp; packets&quot; disabled=no <br />add chain=input connection-state=related action=accept comment=&quot;accept related <br />&nbsp; packets&quot; disabled=no <br />add chain=input connection-state=established action=accept comment=&quot;accept <br />&nbsp; established packets&quot; disabled=no <br />add chain=input protocol=tcp psd=21,3s,3,1 action=drop comment=&quot;detect and <br />&nbsp; drop port scan connections&quot; disabled=no <br />add chain=input protocol=tcp connection-limit=3,32 src-address-list=black_list <br />&nbsp; action=tarpit comment=&quot;suppress DoS attack&quot; disabled=no <br />add chain=input protocol=tcp connection-limit=10,32 <br />&nbsp; action=add-src-to-address-list address-list=black_list <br />&nbsp; address-list-timeout=1d comment=&quot;detect DoS attack&quot; disabled=no <br />add chain=input dst-address-type=!local action=drop comment=&quot;drop all that is <br />&nbsp; not to local&quot; disabled=no <br />add chain=input protocol=icmp action=jump jump-target=ICMP comment=&quot;jump to <br />&nbsp; chain ICMP&quot; disabled=no <br />add chain=input action=jump jump-target=services comment=&quot;Jump to service&quot; <br />&nbsp; disabled=no <br />add chain=input action=jump jump-target=virus comment=&quot;jump to Virus&quot; <br />&nbsp; disabled=no <br />add chain=ICMP protocol=icmp icmp-options=0:0-255 limit=5,5 action=accept <br />&nbsp; comment=&quot;0:0 and limit for 5pac/s&quot; disabled=no <br />add chain=ICMP protocol=icmp icmp-options=3:3 limit=5,5 action=accept <br />&nbsp; comment=&quot;3:3 and limit for 5pac/s&quot; disabled=no <br />add chain=ICMP protocol=icmp icmp-options=3:4 limit=5,5 action=accept <br />&nbsp; comment=&quot;3:4 and limit for 5pac/s&quot; disabled=no <br />add chain=ICMP protocol=icmp icmp-options=8:0-255 limit=5,5 action=accept <br />&nbsp; comment=&quot;8:0 and limit for 5pac/s&quot; disabled=no <br />add chain=ICMP protocol=icmp icmp-options=11:0-255 limit=5,5 action=accept <br />&nbsp; comment=&quot;11:0 and limit for 5pac/s&quot; disabled=no <br />add chain=services protocol=tcp dst-port=8291 action=accept comment=&quot;Allow <br />&nbsp; winbox&quot; disabled=no <br />add chain=services protocol=tcp dst-port=20-21 action=accept comment=&quot;allow <br />&nbsp; ftp&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=8080 action=accept comment=&quot;allow Web <br />&nbsp; Proxy&quot; disabled=yes <br />add chain=services src-address=127.0.0.1 dst-address=127.0.0.1 action=accept <br />&nbsp; comment=&quot;accept localhost&quot; disabled=no <br />add chain=services protocol=tcp dst-port=22 action=accept comment=&quot;allow sftp, <br />&nbsp; ssh&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=23 action=accept comment=&quot;allow <br />&nbsp; telnet&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=80 action=accept comment=&quot;allow http, <br />&nbsp; webbox&quot; disabled=yes <br />add chain=services protocol=udp dst-port=20561 action=accept comment=&quot;allow <br />&nbsp; MACwinbox &quot; disabled=yes <br />add chain=services protocol=tcp dst-port=2000 action=accept comment=&quot;Bandwidth <br />&nbsp; server&quot; disabled=yes <br />add chain=services protocol=udp dst-port=5678 action=accept comment=&quot; MT <br />&nbsp; Discovery Protocol&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=53 action=accept comment=&quot;allow DNS <br />&nbsp; request&quot; disabled=yes <br />add chain=services protocol=udp dst-port=53 action=accept comment=&quot;Allow DNS <br />&nbsp; request&quot; disabled=yes <br />add chain=services protocol=udp dst-port=1701 action=accept comment=&quot;allow <br />&nbsp; L2TP&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=1723 action=accept comment=&quot;allow <br />&nbsp; PPTP&quot; disabled=yes <br />add chain=services protocol=gre action=accept comment=&quot;allow PPTP and EoIP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=ipencap action=accept comment=&quot;allow IPIP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=udp dst-port=1900 action=accept comment=&quot;UPnP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=tcp dst-port=2828 action=accept comment=&quot;UPnP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=udp dst-port=67-68 action=accept comment=&quot;allow <br />&nbsp; DHCP&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=123 action=accept comment=&quot;allow NTP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=tcp dst-port=161 action=accept comment=&quot;allow <br />&nbsp; SNMP&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=443 action=accept comment=&quot;allow <br />&nbsp; https for Hotspot&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=1080 action=accept comment=&quot;allow <br />&nbsp; Socks for Hotspot&quot; disabled=yes <br />add chain=services protocol=udp dst-port=500 action=accept comment=&quot;allow <br />&nbsp; IPSec connections&quot; disabled=yes <br />add chain=services protocol=ipsec-esp action=accept comment=&quot;allow IPSec&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=ipsec-ah action=accept comment=&quot;allow IPSec&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=tcp dst-port=179 action=accept comment=&quot;Allow BGP&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=udp dst-port=520-521 action=accept comment=&quot;allow <br />&nbsp; RIP&quot; disabled=yes <br />add chain=services protocol=ospf action=accept comment=&quot;allow OSPF&quot; <br />&nbsp; disabled=yes <br />add chain=services protocol=udp dst-port=5000-5100 action=accept <br />&nbsp; comment=&quot;allow BGP&quot; disabled=yes <br />add chain=services protocol=tcp dst-port=1720 action=accept comment=&quot;allow <br />&nbsp; Telephony&quot; disabled=yes <br />add chain=services protocol=udp dst-port=1719 action=accept comment=&quot;allow <br />&nbsp; Telephony&quot; disabled=yes <br />add chain=services protocol=vrrp action=accept comment=&quot;allow VRRP &quot; <br />&nbsp; disabled=yes <br />add chain=forward connection-state=invalid action=drop comment=&quot;drop invalid <br />&nbsp; packets&quot; disabled=no <br />add chain=forward p2p=all-p2p action=drop comment=&quot;Drop BT and All P2P&quot; <br />&nbsp; disabled=yes <br />add chain=output connection-state=invalid action=drop comment=&quot;drop invalid <br />&nbsp; packets&quot; disabled=no <br />add chain=output connection-state=related action=accept comment=&quot;accept <br />&nbsp; related packets&quot; disabled=no <br />add chain=output connection-state=established action=accept comment=&quot;accept <br />&nbsp; established packets&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=135-139 action=drop comment=&quot;&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=82 action=drop <br />&nbsp; comment=&quot;Worm.NetSky.Y@mm&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=113 action=drop <br />&nbsp; comment=&quot;W32.Korgo.A/B/C/D/E/F-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2041 action=drop <br />&nbsp; comment=&quot;W33.Korgo.A/B/C/D/E/F-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3067 action=drop <br />&nbsp; comment=&quot;W32.Korgo.A/B/C/D/E/F-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6667 action=drop <br />&nbsp; comment=&quot;W32.Korgo.A/B/C/D/E/F-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=445 action=drop <br />&nbsp; comment=&quot;W32.Korgo.A/B/C/D/E/F-5&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1000-1001 action=drop <br />&nbsp; comment=&quot;Backdoor.Nibu.B-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2283 action=drop <br />&nbsp; comment=&quot;Backdoor.Nibu.B-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=10000 action=drop <br />&nbsp; comment=&quot;Backdoor.Nibu.E/G/H&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3422 action=drop <br />&nbsp; comment=&quot;Backdoor.IRC.Aladinz.R-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=43958 action=drop <br />&nbsp; comment=&quot;Backdoor.IRC.Aladinz.R-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5554 action=drop <br />&nbsp; comment=&quot;W32.Dabber.A/B-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8967 action=drop <br />&nbsp; comment=&quot;W32.Dabber.A/B-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6789 action=drop <br />&nbsp; comment=&quot;Worm.NetSky.S/T/U@mm&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8787 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8879 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=31666 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=31337-31338 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=54320-54321 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-5&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=12345-12346 action=drop <br />&nbsp; comment=&quot;Block.NetBus.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=20034 action=drop <br />&nbsp; comment=&quot;Block.NetBus.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=21554 action=drop <br />&nbsp; comment=&quot;GirlFriend.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=41 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3150 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=999 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6670 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6771 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-5&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=60000 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-6&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2140 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-7&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=10067 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=10167 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3700 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=9872-9875 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6883 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=26274 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=4444 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=47262 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3791 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3801 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=65390 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5880-5882 action=drop <br />&nbsp; comment=&quot;Y3K.RAT.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5888-5889 action=drop <br />&nbsp; comment=&quot;Y3K.RAT.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=30100-30103 action=drop <br />&nbsp; comment=&quot;NetSphere.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=30133 action=drop <br />&nbsp; comment=&quot;NetSphere.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=7300-7301 action=drop <br />&nbsp; comment=&quot;NetMonitor.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=7306-7308 action=drop <br />&nbsp; comment=&quot;NetMonitor.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=79 action=drop <br />&nbsp; comment=&quot;FireHotcker.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5031 action=drop <br />&nbsp; comment=&quot;FireHotcker.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5321 action=drop <br />&nbsp; comment=&quot;FireHotcker.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6400 action=drop <br />&nbsp; comment=&quot;TheThing.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1047 action=drop <br />&nbsp; comment=&quot;GateCrasher.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6969-6970 action=drop <br />&nbsp; comment=&quot;GateCrasher.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2774 action=drop comment=&quot;SubSeven-1&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=27374 action=drop comment=&quot;SubSeven-2&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=1243 action=drop comment=&quot;SubSeven-3&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=1234 action=drop comment=&quot;SubSeven-4&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=6711-6713 action=drop <br />&nbsp; comment=&quot;SubSeven-5&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=16959 action=drop comment=&quot;SubSeven-7&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=11000 action=drop <br />&nbsp; comment=&quot;Senna.Spy.Trojan-1 洛奇&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=25685-25686 action=drop <br />&nbsp; comment=&quot;Moonpie.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=25982 action=drop <br />&nbsp; comment=&quot;Moonpie.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1024-1030 action=drop <br />&nbsp; comment=&quot;NetSpy.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1033 action=drop <br />&nbsp; comment=&quot;NetSpy.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=31337-31339 action=drop <br />&nbsp; comment=&quot;NetSpy.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8102 action=drop comment=&quot;Trojan&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=7306 action=drop <br />&nbsp; comment=&quot;Netspy3.0Trojan&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8011 action=drop comment=&quot;WAY.Trojan&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=7626 action=drop comment=&quot;Trojan.BingHe&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=19191 action=drop <br />&nbsp; comment=&quot;Trojan.NianSeHoYian&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=23444-23445 action=drop <br />&nbsp; comment=&quot;NetBull.Trojan&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2583 action=drop <br />&nbsp; comment=&quot;WinCrash.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3024 action=drop <br />&nbsp; comment=&quot;WinCrash.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=4092 action=drop <br />&nbsp; comment=&quot;WinCrash.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5714 action=drop <br />&nbsp; comment=&quot;WinCrash.Trojan-4&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1010-1012 action=drop <br />&nbsp; comment=&quot;Doly1.0/1.35/1.5trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1015 action=drop <br />&nbsp; comment=&quot;Doly1.0/1.35/1.5trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1999 action=drop <br />&nbsp; comment=&quot;TransScout.Trojan-1 &quot; disabled=no <br />add chain=virus protocol=tcp dst-port=9878 action=drop <br />&nbsp; comment=&quot;TransScout.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2773 action=drop <br />&nbsp; comment=&quot;Backdoor.YAI..Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=7215 action=drop <br />&nbsp; comment=&quot;Backdoor.YAI.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=54283 action=drop <br />&nbsp; comment=&quot;Backdoor.YAI.Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1003 action=drop <br />&nbsp; comment=&quot;BackDoorTrojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5598 action=drop <br />&nbsp; comment=&quot;BackDoorTrojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5698 action=drop <br />&nbsp; comment=&quot;BackDoorTrojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2716 action=drop <br />&nbsp; comment=&quot;PrayerTrojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=21544 action=drop <br />&nbsp; comment=&quot;SchwindlerTrojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=31554 action=drop <br />&nbsp; comment=&quot;SchwindlerTrojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=18753 action=drop <br />&nbsp; comment=&quot;Shaft.DDoS.Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=20432 action=drop <br />&nbsp; comment=&quot;Shaft.DDoS.Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=65000 action=drop <br />&nbsp; comment=&quot;Devil.DDoS.Trojan&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=11831 action=drop <br />&nbsp; comment=&quot;LatinusTrojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=29559 action=drop <br />&nbsp; comment=&quot;LatinusTrojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1784 action=drop <br />&nbsp; comment=&quot;Snid.X2Trojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3586 action=drop <br />&nbsp; comment=&quot;Snid.X2Trojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=7609 action=drop <br />&nbsp; comment=&quot;Snid.X2Trojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=12348-12349 action=drop <br />&nbsp; comment=&quot;BionetTrojan-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=12478 action=drop <br />&nbsp; comment=&quot;BionetTrojan-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=57922 action=drop <br />&nbsp; comment=&quot;BionetTrojan-3&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=3127-3198 action=drop <br />&nbsp; comment=&quot;Worm.Novarg.a.Mydoom.a.-1&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=6777 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.a.Bagle.a.&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=8866 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.b&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2745 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.c-g/j-l&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2556 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.p/q/r/n&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=20742 action=drop <br />&nbsp; comment=&quot;Worm.BBEagle.m-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=4751 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.s/t/u/v&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=2535 action=drop <br />&nbsp; comment=&quot;Worm.BBeagle.aa/ab/w/x-z-2&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=5238 action=drop <br />&nbsp; comment=&quot;Worm.LovGate.r.RpcExploit&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1068 action=drop comment=&quot;Worm.Sasser.a&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=5554 action=drop <br />&nbsp; comment=&quot;Worm.Sasser.b/c/f&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=9996 action=drop <br />&nbsp; comment=&quot;Worm.Sasser.b/c/f&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=9995 action=drop comment=&quot;Worm.Sasser.d&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=10168 action=drop <br />&nbsp; comment=&quot;Worm.Lovgate.a/b/c/d&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=20808 action=drop <br />&nbsp; comment=&quot;Worm.Lovgate.v.QQ&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1092 action=drop <br />&nbsp; comment=&quot;Worm.Lovgate.f/g&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=20168 action=drop <br />&nbsp; comment=&quot;Worm.Lovgate.f/g&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=593 action=drop comment=&quot;&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1214 action=drop comment=&quot;&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1363-1364 action=drop <br />&nbsp; comment=&quot;ndm.requester&quot; disabled=no <br />add chain=virus protocol=tcp dst-port=1368 action=drop comment=&quot;screen.cast&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=1373 action=drop comment=&quot;hromgrafx&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=1377 action=drop comment=&quot;cichlid&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=tcp dst-port=3410 action=drop <br />&nbsp; comment=&quot;Backdoor.OptixPro&quot; disabled=no <br />add chain=virus protocol=udp dst-port=135-139 action=drop comment=&quot;&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=udp dst-port=8787 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-6&quot; disabled=no <br />add chain=virus protocol=udp dst-port=8879 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-7&quot; disabled=no <br />add chain=virus protocol=udp dst-port=31666 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-8&quot; disabled=no <br />add chain=virus protocol=udp dst-port=31337-31338 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-9&quot; disabled=no <br />add chain=virus protocol=udp dst-port=54320-54321 action=drop <br />&nbsp; comment=&quot;Back.Orifice.2000.Trojan-10&quot; disabled=no <br />add chain=virus protocol=udp dst-port=12345-12346 action=drop <br />&nbsp; comment=&quot;Block.NetBus.Trojan-3&quot; disabled=no <br />add chain=virus protocol=udp dst-port=20034 action=drop <br />&nbsp; comment=&quot;Block.NetBus.Trojan-4&quot; disabled=no <br />add chain=virus protocol=udp dst-port=21554 action=drop <br />&nbsp; comment=&quot;GirlFriend.Trojan-2&quot; disabled=no <br />add chain=virus protocol=udp dst-port=41 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-8&quot; disabled=no <br />add chain=virus protocol=udp dst-port=3150 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-9&quot; disabled=no <br />add chain=virus protocol=udp dst-port=999 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-10&quot; disabled=no <br />add chain=virus protocol=udp dst-port=6670 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-11&quot; disabled=no <br />add chain=virus protocol=udp dst-port=6771 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-12&quot; disabled=no <br />add chain=virus protocol=udp dst-port=60000 action=drop <br />&nbsp; comment=&quot;DeepThroat.Trojan-13&quot; disabled=no <br />add chain=virus protocol=udp dst-port=10067 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-5&quot; disabled=no <br />add chain=virus protocol=udp dst-port=10167 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-6&quot; disabled=no <br />add chain=virus protocol=udp dst-port=3700 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-7&quot; disabled=no <br />add chain=virus protocol=udp dst-port=9872-9875 action=drop <br />&nbsp; comment=&quot;Portal.of.Doom.Trojan-8&quot; disabled=no <br />add chain=virus protocol=udp dst-port=6883 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-5&quot; disabled=no <br />add chain=virus protocol=udp dst-port=26274 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-6&quot; disabled=no <br />add chain=virus protocol=udp dst-port=44444 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-7&quot; disabled=no <br />add chain=virus protocol=udp dst-port=47262 action=drop <br />&nbsp; comment=&quot;Delta.Source.Trojan-8&quot; disabled=no <br />add chain=virus protocol=udp dst-port=3791 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-1&quot; disabled=no <br />add chain=virus protocol=udp dst-port=3801 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-2&quot; disabled=no <br />add chain=virus protocol=udp dst-port=5880-5882 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-3&quot; disabled=no <br />add chain=virus protocol=udp dst-port=5888-5889 action=drop <br />&nbsp; comment=&quot;Eclypse.Trojan-4&quot; disabled=no <br />add chain=virus protocol=udp dst-port=34555 action=drop <br />&nbsp; comment=&quot;Trin00.DDoS.Trojan-1&quot; disabled=no <br />add chain=virus protocol=udp dst-port=35555 action=drop <br />&nbsp; comment=&quot;Trin00.DDoS.Trojan-2&quot; disabled=no <br />add chain=virus protocol=udp dst-port=31338 action=drop <br />&nbsp; comment=&quot;NetSpy.DK.Trojan-1&quot; disabled=no <br />add chain=virus protocol=udp dst-port=69 action=drop <br />&nbsp; comment=&quot;Worm.MsBlaster-2&quot; disabled=no <br />add chain=virus protocol=udp dst-port=123 action=drop comment=&quot;Worm.Sobig.f-1&quot; <br />&nbsp; disabled=no <br />add chain=virus protocol=udp dst-port=995-998 action=drop <br />&nbsp; comment=&quot;Worm.Sobig.f-2&quot; disabled=no <br />add chain=forward dst-address=202.96.155.91 action=drop comment=&quot;Drop 讯雷&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.128.198.97 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.147.119.204 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=210.22.12.53 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward protocol=udp dst-port=3076-3078 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward protocol=tcp dst-port=3076-3078 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=219.134.132.81 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=221.239.198.157 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=220.166.37.179 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=62.241.53.15 action=drop comment=&quot;Drop Emule&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=218.16.125.227 action=drop comment=&quot;DROP <br />&nbsp; Coolgool&quot; disabled=yes <br />add chain=forward dst-address=61.143.210.56 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=218.16.125.226 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.129.115.206 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward protocol=tcp dst-port=16881 action=drop comment=&quot;DROP <br />&nbsp; Bitspirt&quot; disabled=yes <br />add chain=forward protocol=udp dst-port=16881 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.145.126.150 action=drop comment=&quot;Baishitong <br />&nbsp; Tool&quot; disabled=yes <br />add chain=forward dst-address=202.108.156.206 action=drop comment=&quot;drop baidu <br />&nbsp; MP3&quot; disabled=yes <br />add chain=forward protocol=tcp dst-port=50007 action=drop comment=&quot;PTC&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=62.241.53.15 protocol=tcp action=drop <br />&nbsp; comment=&quot;eDonkey2000&quot; disabled=yes <br />add chain=forward dst-address=62.241.53.15 protocol=udp action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=62.241.53.17 protocol=tcp action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=62.241.53.17 protocol=udp action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.145.118.224 action=drop <br />&nbsp; comment=&quot;Poco2005nn&quot; disabled=yes <br />add chain=forward dst-address=210.192.122.147 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=207.46.196.108 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.134.33.5 action=drop comment=&quot;Drop (NetFairy <br />&nbsp; 2004)&quot; disabled=yes <br />add chain=forward dst-address=61.233.75.13 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=61.138.213.251 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=222.240.210.68 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.177.95.140 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.177.95.137 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.172.197.196 action=drop comment=&quot;Drop : <br />&nbsp; 6346&quot; disabled=yes <br />add chain=forward dst-address=218.1.14.3 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=218.1.14.4 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=218.1.14.9 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=61.172.197.209 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.172.197.197 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=218.1.14.5 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=218.5.72.118 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=61.172.197.196 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=211.155.224.67 action=drop comment=&quot;Drop &quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=211.91.135.114 action=drop comment=&quot;Drop <br />&nbsp; RealLink&quot; disabled=yes <br />add chain=forward dst-address=221.233.18.180 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.145.119.55 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=221.3.132.99 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward dst-address=219.136.251.56 action=drop comment=&quot;Drop &quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=61.149.124.173 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=221.229.241.243 action=drop comment=&quot;DROP : <br />&nbsp; 5093 &quot; disabled=yes <br />add chain=forward dst-address=202.96.137.56 action=drop comment=&quot;DROP &quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=218.244.45.67 action=drop comment=&quot;DROP :6801 <br />&nbsp; 6800 7003nn&quot; disabled=yes <br />add chain=forward dst-address=220.169.192.145 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=221.233.19.30 action=drop comment=&quot;DROP P2P : <br />&nbsp; 9000nn&quot; disabled=yes <br />add chain=forward dst-address=66.197.13.166 action=drop comment=&quot;DROP OPENEXT&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=210.22.12.245 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=69.93.222.56 action=drop comment=&quot;&quot; disabled=yes <br />add chain=forward protocol=tcp dst-port=5000 action=drop comment=&quot;DRIP iLink <br />&nbsp; 1.1 :5467 2500 4173 10002 10003&quot; disabled=yes <br />add chain=forward protocol=udp dst-port=5000 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=210.51.168.13 action=drop comment=&quot;DROP DDS <br />&nbsp; 11608&quot; disabled=yes <br />add chain=forward dst-address=212.179.66.17 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=211.157.105.252 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=212.179.66.17 action=drop comment=&quot;DROP iMesh 5 <br />&nbsp; 4662&quot; disabled=yes <br />add chain=forward dst-address=212.179.66.24 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=38.117.175.23 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=64.246.15.43 action=drop comment=&quot;DROP winmx <br />&nbsp; 5690&quot; disabled=yes <br />add chain=forward dst-address=211.152.22.9 action=drop comment=&quot;DROP Wangku <br />&nbsp; port:2122&quot; disabled=yes <br />add chain=forward dst-address=211.152.22.101 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=221.192.132.29 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward dst-address=219.153.0.152 action=drop comment=&quot;Drop Pipi <br />&nbsp; Dog&quot; disabled=yes <br />add chain=forward dst-address=61.145.116.186 action=drop comment=&quot;&quot; <br />&nbsp; disabled=yes <br />add chain=forward connection-state=related action=accept comment=&quot;accept <br />&nbsp; related packets&quot; disabled=yes <br />add chain=forward connection-state=established action=accept comment=&quot;accept <br />&nbsp; established packets&quot; disabled=yes <br />add chain=forward src-address-type=!unicast action=drop comment=&quot;drop all that <br />&nbsp; is not from unicast&quot; disabled=yes <br />add chain=forward protocol=icmp action=jump jump-target=ICMP comment=&quot;jump to <br />&nbsp; chain ICMP&quot; disabled=no <br />add chain=forward action=jump jump-target=virus comment=&quot;jump to virus chain&quot; <br />&nbsp; disabled=no <br />&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p>
<p><font size="4">(因为超过了50000个字节不得不省略 请下载附件)</p>
<p>注意了 任何防火墙都是1种积累的结果</p>
<p>这个世界上永远没有最好的防火墙 只有更加完善的 不断更新的</p>
<p>这个就需要大家的努力和帮助了</p>
<p>希望使用或者认真看过这个防火墙的朋友 慷慨的提出你的建议和实际使用中的调整方案</p>
<p>因为我坚信</p>
<p></font><font color="#dc143c"><font size="5">在技术上 保守就意味着被淘汰</font></font></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>12月30日改进<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>
<div class="quote"><strong>下面是引用jaditid于2005-12-28 17:35发表的:</strong><br />非常感谢楼主的共享，我第一时间就放进我的防火墙了，非常好用．综合前几位前辈对游戏端口的问题，也作了修改，现在都没有什么游戏不能进了．．．</p>
<p>以下我是综合前辈的游戏端口加上了我的一些：<br />2000端口封闭导致联众无法登陆。<br />3076-3078端口封闭导致网络游戏&quot;传奇私服&quot;无法进入游戏.<br />7777端口封闭导致网络游戏&ldquo;天堂2&rdquo;无法进入游戏。<br />11000端口封闭导致网络游戏&quot;洛奇&quot;无法进入游戏.<br />&#8230;&#8230;.
</div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>1月11日</p>
<p>在INPUT里面加入DROP BLACK LIST </p>
<p>把所有ROS判断为DDOS攻击的IP屏蔽直到它停止攻击</p>
<p>附件： <a href="http://www.wx35.cn/upload/200704230017072252.rar">点击下载</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/153/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/153/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>光纤（定时断线）+ ADSL 备份 ROS最简单实现方案</title>
		<link>http://www.wx35.cn/archives/152/</link>
		<comments>http://www.wx35.cn/archives/152/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 03:54:33 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=152</guid>
		<description><![CDATA[&#160;图片： 图片： 图片： 图片： 只要2句命令就OK了 /ip route add gateway=光纤网关 distance=0 check-gateway=ping/ip route add gateway=ADSL1网关 distance=2/ip route add gateway=ADSL2网关 distance=3。。。。你还有多少条... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;图片： <br /><a href="http://www.wx35.cn/upload/200706162225582670.jpg"><img border="0" src="http://www.wx35.cn/upload/200706162225582670.jpg" onclick="if(this.width&gt;screen.width-461) window.open('http://bbs.router.net.cn/attachment/Mon_0704/59_6865_b6f9bd6edefc821.jpg');" alt="" /></a> 图片： <br /><a href="http://www.wx35.cn/upload/200706162226055447.jpg"><img border="0" src="http://www.wx35.cn/upload/200706162226055447.jpg" onclick="if(this.width&gt;screen.width-461) window.open('http://bbs.router.net.cn/attachment/Mon_0704/59_6865_93547b4dc583aa2.jpg');" alt="" /></a> 图片： <br /><a href="http://www.wx35.cn/upload/200706162226112383.jpg"><img width="340" height="142" border="0" src="http://www.wx35.cn/upload/200706162226112383.jpg" onclick="if(this.width&gt;screen.width-461) window.open('http://bbs.router.net.cn/attachment/Mon_0704/59_6865_d275b44b8d951db.jpg');" alt="" /></a> 图片： <br /><a href="http://www.wx35.cn/upload/200706162226164007.jpg"><img border="0" src="http://www.wx35.cn/upload/200706162226164007.jpg" onclick="if(this.width&gt;screen.width-461) window.open('http://bbs.router.net.cn/attachment/Mon_0704/59_6865_029389fabf899ac.jpg');" alt="" /></a>
<div class="tpc_content">只要2句命令就OK了</p>
<p>/ip route add gateway=光纤网关 distance=0 check-gateway=ping<br />/ip route add gateway=ADSL1网关 distance=2<br />/ip route add gateway=ADSL2网关 distance=3<br />。<br />。<br />。<br />。<br />你还有多少条？</p>
<p>这个情况是光纤在通的时候（PING） 不会启用 ADSL 的</p>
<p>光纤断线 自动切换到 ADSL </p>
<p>光纤恢复 自动恢复</p>
<p>不过如果你的DNS不同 需要在客户机器设置2个 DNS</p>
<p>很多菜菜看了头晕</p>
<p>说他们的ADSL是动态的怎么办</p>
<p>1-要把ADSL的自动默认路由去掉</p>
<p>default route 一定要去掉</p>
<p>2-在 IP ROUTES 项目里面自己添加 PPPOE的IP地址进去</p>
<p>具体做法这样</p>
<p>关键1点 这里的 注释 一定要用 adsl 看图片中的 蓝色adsl </p>
<p>3-作1个计划任务</p>
<p>在IP sheduler 里就找到了</p></div>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/152/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/152/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用PPPOE 解决 ARP 问题 100% 解决</title>
		<link>http://www.wx35.cn/archives/151/</link>
		<comments>http://www.wx35.cn/archives/151/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 03:53:03 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=151</guid>
		<description><![CDATA[最近论坛 反反复复讨论 ARP 问题 本来不想多说 因为这个问题涉及的网络设备很多 但是大家总希望往ROS 身上找原因 那么我就按照大家的思路给出1个100% 解决 ARP 的方案 而且在我经手的 几十家... ]]></description>
			<content:encoded><![CDATA[<p>最近论坛 反反复复讨论 ARP 问题</p>
<p>本来不想多说</p>
<p>因为这个问题涉及的网络设备很多</p>
<p>但是大家总希望往ROS 身上找原因</p>
<p>那么我就按照大家的思路给出1个100% 解决 ARP 的方案</p>
<p>而且在我经手的 几十家网吧 都已经实施了</p>
<p>第一: 改ROS</p>
<p>必须把 ROS 改变成 PPPOE 服务器的模式带客户机器上网</p>
<p>关于 PPPOE 的话题大家可以使用论坛的搜索功能 完全可以看到 图文并茂的贴 </p>
<p>推荐看这个 <a href="http://www.routerbbs.com/read-htm-tid-20452-keyword-PPPOE.html" target="_blank">http://www.routerbbs.com/read-htm-tid-20452-keyword-PPPOE.html</a></p>
<p><a href="http://www.wx35.cn/upload/200706162233214172.jpg"><img width="434" height="1430" border="0" src="http://www.wx35.cn/upload/200706162233214172.jpg" onclick="if(this.width&gt;screen.width-461) window.open('http://www.routerbbs.com/attachment/Mon_0703/59_12127_326ac8c0175e584.jpg');" alt="" /></a></p>
<p>第2: 改客户机器</p>
<p>WINDOWS 系统 已经默认带有PPPOE 的拨号方式</p>
<p>大家完全可以建立脚本 的方式来让XP 或者2003 开机自动拨号</p>
<p>[转]</p>
<p>假设我这里的宽带帐号和密码分别是wzl.8878888密码是1234567，我这里只举个例子，当然大家自己输入的时候，需要输入你们真实的宽带拨号的帐号和密码，废话不说了。<br />1.首先 在桌面上，鼠标 右键 新建&nbsp; 文本文档特别注意，命令格式如下：<br />rasdial 宽带连接 wzl.8878888 1234567<br />rasdial命令是windows自带的一个命令，可以实现网通，电信，宽带自动拨号的一个命令。</p>
<p>宽带连接是 你桌面上的拨号连接的程序名，可以自己随便修改，默认的是宽带连接，自己可以修改为adsl，lan等等的名字都可以。</p>
<p>wzl.8878888这个是宽带拨号的帐号。<br />1234567是宽带拨号的密码。<br />特别提醒大家rasdial和宽带连接之间有一个空格，宽带连接 和wzl.8878888之间也有一个空格，wzl.8878888和1234567也有一个空格。</p>
<p>好了，大家知道了上面的命令及，写命令的方法。下面我们开始自己写一个批处理文件把。<br />打开刚刚桌面上新建立的 新建 文本文档然后输入：<br />rasdial 宽带连接 wzl.8878888 1234567</p>
<p>（再次提醒大家：宽带连接，是你点桌面上的拨号程序的名称，如果你的拨号程序名称是adsl那这里的宽带连接就填写adsl，wzl.8878888是宽带拨号帐号，1234567是宽带拨号密码，请都正确填写）</p>
<p>然后大家点 文件&nbsp; 另存为</p>
<p>然后在文件名里输入adsl.bat点保存就可以了，这个时候大家会发现桌面上多了一个adsl.bat的批处理文件，请看</p>
<p>（特别注意的是：adsl.bat里的adsl是我自己随便取的一个批处理文件名，当然大家可以随便取，比如lan，宽带拨号，等名字都可以的）。</p>
<p>好了。现在大家只要把adsl.bat鼠标 左键点着不要放，然后拉到 开始 程序&nbsp; 启动里，或者在计划任务里设置一下就可以实现开机自动拨号连接了了。两种方法，可以任选一种，每种方法都可以，大家觉的哪种方法好就用哪一种，两种方法详细介绍如下：<br />1.把adsl.bat鼠标 左键点着不要放，然后拉到 开始 程序&nbsp; 启动里</p>
<p>已上介绍的方法，同样适合win98/winme/win2000/winxp/win2003等操作系统。</p>
<p>第3步 取消本地 网络 原有的 网关和 DNS </p>
<p>================================</p>
<p>OK 使用上述方式100% 解决ARP 问题</p>
<p>==================================================================<br />以下是转自 xqs428 的文章</p>
<p>ARP欺骗的防御措施</p>
<p>一就是不使用ARP协议,没有ARP协议也就没有ARP欺骗<br />&nbsp; &nbsp; 1)在局域网内可以采用PPPOE的方式上网,PPPOE不使用ARP协议,也就不会产生ARP,而且PPPOE不会改变原来的局域网拓扑结构,它是在802.3的基础上的二次封装数据包.<br />&nbsp; &nbsp; 2)使用PPP方式上网,ADSL就是这个方式,这个有点片面,需要改变原本的拓扑结构.<br />&nbsp; &nbsp; 3)使用IPX协议,难于实施<br />&nbsp; &nbsp; 4)使用其他的模式上网,不再讨论,不是很现实<br />二继续使用ARP协议,从其他的方面防止ARP病毒<br />&nbsp; &nbsp; 1)下层设备和上层设备的双向绑定,双先绑定能解决ARP欺骗所造成的断网现象,但是此方式内的缺陷是在网络内ARP数据包乱飞(影响网络质量,在用户多的情况下,用户端绑定不利于实施,适用于小型网络).<br />&nbsp; &nbsp; 2)用户端处上接可网管交换机,用交换机进行端口和MAC地址以及IP地址的绑定,很好的防止ARP欺骗,但是这个也有一定的缺陷(投资大,需要可网管交换机,适用于小型网络)<br />&nbsp; &nbsp; 3)用户端使用ARP防御工具,比如彩影的ARP防御工具,或者包过滤防火墙,很好的防止ARP欺骗(在用户端比较多的情况下不利于实施,用于小型网络)<br />&nbsp; &nbsp; 4)使用路由器广播网关的MAC地址的ARP包,ARP病毒在发包比较厉害的情况下用处不大(没有根本阻止ARP影响,不怎么地)</p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/151/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/151/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何用ros限一个IP的并发连接数(限线程)</title>
		<link>http://www.wx35.cn/archives/149/</link>
		<comments>http://www.wx35.cn/archives/149/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 04:05:08 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=149</guid>
		<description><![CDATA[&#160; 如何用ros限一个IP的并发连接数&#8211;限线程 这个操作主要是在ip-firewall下的转发链中操作的.如: /ip firewall rule forward add protocol=tcp tcp-options=syn-only connection-limit=25\action=drop 看他们的连接数是... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><font size="3">如何用ros限一个IP的并发连接数&#8211;限线程</font></p>
<p><font size="3"></p>
<p>这个操作主要是在ip-firewall下的转发链中操作的.<br />如:</font></p>
<p><font size="3"><br />/ip firewall rule forward add protocol=tcp tcp-options=syn-only connection-limit=25\<br />action=drop</font></p>
<p><font size="3">
<p>看他们的连接数是在connection项中观看!!</p>
<p>注意:不要放的太小!!不然打开网页很慢</p>
<p>当然也可以对网段做限制!!</p>
<p>对单个IP也可以的!!!</p>
<p></font></p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/149/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/149/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>动态域名更新的实现方法</title>
		<link>http://www.wx35.cn/archives/148/</link>
		<comments>http://www.wx35.cn/archives/148/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 03:56:09 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=148</guid>
		<description><![CDATA[&#160; 一、首先说明，本篇受&#8220;情灭缘尽&#8221;转帖的脚本启发，其发布的原始脚本如下：# Dynamic DNS Update Script v1.1 # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; # This script will perform a... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>一、首先说明，本篇受&ldquo;情灭缘尽&rdquo;转帖的脚本启发，其发布的原始脚本如下：<br /># Dynamic DNS Update Script v1.1 <br /># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; <br /># This script will perform automatic dynamic dns updates on the Mikrotik <br /># router platform.&nbsp;&nbsp;(<a target="_blank" href="http://www.mikrotik.com/%29">http://www.mikrotik.com/)</a>&nbsp;&nbsp;Since Mikrotik does not <br /># support sending http requests we have created a smtp -&gt; ddns proxy service <br /># which will take the http URL querystring used for a dynamic dns update and <br /># process it via email. <br /># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; <br /># Written by Sam Norris, ChangeIP.com <br /># 7/31/04 &#8211; Created script. <br /># 12/9/04 &#8211; Made some values dynamic (smtp server, dhcp interface) <br /># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; <br /># <br /># Instructions: <br />#&nbsp; &nbsp; There are a few variables down below that you need to configure for your <br />#&nbsp; &nbsp; specific setup.&nbsp;&nbsp;Please modify the variables in the &#8216;ddnsInit&#8217; script to <br />#&nbsp; &nbsp; reflect your specific information, ie userid, password, hostname to update. <br /># </p>
<p># Blow away any existing script code, if necessary. <br />/system scheduler remove ddnsJob <br />/system script remove ddnsCheck <br />/system script remove ddnsInit <br />/system script remove ddnsReset <br />/system script remove ddnsSendUpdate </p>
<p># Setup global variables needed to keep track of changing IP address. <br />/system script add name=&quot;ddnsInit&quot; source={ </p>
<p>&nbsp;&nbsp;:log message=&quot;ddnsInit: Creating Dynamic DNS update system.&quot; </p>
<p># ENTER YOUR CHANGEIP.COM USER ID HERE. <br />&nbsp;&nbsp;:global u <br />&nbsp;&nbsp;:set u &quot;<font color="#ff0000">USERID</font>&quot; </p>
<p># ENTER YOUR CHANGEIP.COM PASSWORD HERE. <br />&nbsp;&nbsp;:global p <br />&nbsp;&nbsp;:set p &quot;<font color="#ff0000">PASSWORD</font>&quot; </p>
<p>&nbsp;&nbsp;:global s <br />&nbsp;&nbsp;:set s &quot;Mikrotik&quot; </p>
<p># ENTER THE TARGET HOSTNAME TO UPDATE, *1 is Set 1. <br />&nbsp;&nbsp;:global h <br />&nbsp;&nbsp;:set h &quot;*1&quot; <br /><strong><font color="#ffff00"><br />&nbsp;&nbsp;:global dhcpInterface <br />&nbsp;&nbsp;:set dhcpInterface [ /ip dhcp-client get interface ] <br />&nbsp;&nbsp;:log message=(&quot;ddnsInit: Found dhcp interface &quot; . $dhcpInterface ) </font></strong></p>
<p># EMAIL PROXY ADDRESS &#8211; DO NOT CHANGE FOR PRODUCTION. <br />&nbsp;&nbsp;:global ddnsProxyEmail <br />&nbsp;&nbsp;:set ddnsProxyEmail &quot;<a href="mailto:ddnsUpdate@ChangeIP.com">ddnsUpdate@ChangeIP.com</a>&quot; </p>
<p># ENTER YOUR EMAIL ADDRESS FOR CONFIRMATIONS. <br />&nbsp;&nbsp;:global ddnsFromEmail <br />&nbsp;&nbsp;:set ddnsFromEmail &quot;<font color="#ff0000">youremail@domain.tld</font>&quot; </p>
<p># SMTP DDNS PROXY SERVER &#8211; CHANGE ONLY IF NECESSARY (port 25 blocked?) <br />&nbsp;&nbsp;:global ddnsSmtpServer <br />&nbsp;&nbsp;:set ddnsSmtpServer [:resolve smtp.changeip.com] </p>
<p>&nbsp;&nbsp;:global a <br />&nbsp;&nbsp;:set a [ \ <br />&nbsp; &nbsp; /ip address get \ <br />&nbsp; &nbsp;&nbsp; &nbsp;[/ip address find interface=$dhcpInterface] \ <br />&nbsp; &nbsp;&nbsp; &nbsp;address \ <br />&nbsp; &nbsp; ] </p>
<p>&nbsp;&nbsp;} </p>
<p>/system script add name=&quot;ddnsCheck&quot; source={ <br />&nbsp;&nbsp;:if ([/system scheduler get ddnsJob run-count]&lt;=1) do={ <br />&nbsp; &nbsp; /system script run ddnsInit <br />&nbsp; &nbsp; } <br />&nbsp;&nbsp;:global temp <br />&nbsp;&nbsp;:global b <br />&nbsp;&nbsp;:set temp $a <br />&nbsp;&nbsp;:set b [ \ <br />&nbsp; &nbsp; /ip address get \ <br />&nbsp; &nbsp;&nbsp; &nbsp;[/ip address find interface=$dhcpInterface] \ <br />&nbsp; &nbsp;&nbsp; &nbsp;address \ <br />&nbsp; &nbsp; ] <br />&nbsp;&nbsp;:if ($temp != $b) do={ <br />&nbsp; &nbsp; :log message=&quot;ddnsCheck:&nbsp;&nbsp;Found new IP address.&quot; <br />&nbsp; &nbsp; /system script run ddnsSendUpdate <br />&nbsp; &nbsp; :set a $b <br />&nbsp; &nbsp; } <br />&nbsp;&nbsp;} </p>
<p>/system script add name=&quot;ddnsSendUpdate&quot; source={ <br />&nbsp; &nbsp; :log message=(&quot;ddnsSendUpdate:&nbsp;&nbsp;Sending Dynamic DNS smtp update to &quot; . $ddnsSmtpServer) <br />&nbsp; &nbsp; /tool e-mail send \ <br />&nbsp; &nbsp;&nbsp; &nbsp;to=$ddnsProxyEmail \ <br />&nbsp; &nbsp;&nbsp; &nbsp;from=$ddnsFromEmail \ <br />&nbsp; &nbsp;&nbsp; &nbsp;server=$ddnsSmtpServer \ <br />&nbsp; &nbsp;&nbsp; &nbsp;subject=&quot;New Dynamic IP&quot; \ <br />&nbsp; &nbsp;&nbsp; &nbsp;body=(&quot;u=&quot; . $u . &quot;&amp;p=&quot; . $p . &quot;&amp;hostname=&quot; . $h . &quot;&amp;system=&quot; . $s . &quot;&amp;myip=&quot; . $b) <br />&nbsp;&nbsp;} </p>
<p>/system script add name=&quot;ddnsReset&quot; source={ </p>
<p>&nbsp;&nbsp;:log message=&quot;ddnsReset:&nbsp;&nbsp;Resetting global values.&quot; <br />&nbsp;&nbsp;/system scheduler set ddnsJob run-count=0 <br />&nbsp;&nbsp;:unset u <br />&nbsp;&nbsp;:unset p <br />&nbsp;&nbsp;:unset s <br />&nbsp;&nbsp;:unset h <br />&nbsp;&nbsp;:unset dhcpInterface <br />&nbsp;&nbsp;:unset ddnsProxyEmail <br />&nbsp;&nbsp;:unset ddnsFromEmail <br />&nbsp;&nbsp;:unset ddnsSmtpServer <br />&nbsp;&nbsp;:unset a <br />&nbsp;&nbsp;:unset b <br />&nbsp;&nbsp;:unset temp </p>
<p>&nbsp;&nbsp;} </p>
<p>/system scheduler add name=ddnsJob interval=30s on-event=ddnsCheck </p>
<p>二、红色部分是需要根据个人注册的信息填写</p>
<p>三、黄色部分是我要着重解释的，也是成功的关键。</p>
<p>四、具体说明：<br />1、该脚本是基于<a target="_blank" href="http://www.changeip.com/">www.changeip.com</a>网站申请的免费动态域名，大家可自行申请；<br />2、该脚本的原始作者sam norris就是<a target="_blank" href="http://www.changsip.com/">www.changsip.com</a>的运行者，故此，这个脚本在ros下是绝对支持<a target="_blank" href="http://www.changeip.com/">www.changeip.com</a>申请的域名，至于其他国内的类似<a target="_blank" href="http://www.3322.org/">www.3322.org</a>等我还没有试过，不知可不可以<br />；<br />3、<strong><font color="#ffff00"><br />&nbsp;&nbsp;:global dhcpInterface <br />&nbsp;&nbsp;:set dhcpInterface [ /ip dhcp-client get interface ] <br />&nbsp;&nbsp;:log message=(&quot;ddnsInit: Found dhcp interface &quot; . $dhcpInterface ) </font></strong><br />这是本文的关键部分，sam norris是基于dhcp客户机的架构来设置他的动态域名，而国内用户主要关心的是adsl拨号下得动态域名解析，dhcinterface是一个全局变量，他代表的是dhcp客户机的接口号，也就是分到ip地址的接口设备名，这个变量名可以不改，但如何取得你的系统中adsl设备的接口号呢？请将 [/ip dhcp-client get interface] 改为 <font color="#ff0000">[/interface find type=pppoe-out],</font>好了，dhcpinterface的值就变成了你所建立的adsl拨号接口号了，ros内部的表示一般为*3，当然这个不用关心。至此，你所要做的就是等待了；</p>
<p>4、关于脚本的建立我在此就不多说了，大家只要把上述脚本的各个部分复制-粘帖到命令交互界面，自然会生成，正确的结果是生成四个脚本，分别为： ddnsCheck,ddnsInit,ddnsReset,ddnsSendUpdate;同时生成一个名字为ddnsJob的计划日程。</p>
<p>最后祝大家成功，ros自己能做的事情自己做，从此摆脱ros+windows +域名客户软件的日子。</p>
<p>&nbsp;</p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/148/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/148/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RouterOS之winbox的操作手册！</title>
		<link>http://www.wx35.cn/archives/147/</link>
		<comments>http://www.wx35.cn/archives/147/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 22:30:27 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=147</guid>
		<description><![CDATA[&#160; 关于winbox操作手册的说明,还有如何配置负载均衡的设置! 点击下载 本文章由雨豪博客撰写,采用CC授权分享,转载时请注明原文链接... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><font color="#ff0000" size="3">关于winbox操作手册的说明,还有如何配置负载均衡的设置!</font></p>
<p><font color="#ff0000" size="3"><a href="http://www.wx35.cn/upload/200704211830121776.rar">点击下载</a></font></p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/147/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/147/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROS 做PCQ脚本集体（每IP）自动限速 +带宽按端口管理流量</title>
		<link>http://www.wx35.cn/archives/146/</link>
		<comments>http://www.wx35.cn/archives/146/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 22:11:51 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=146</guid>
		<description><![CDATA[环境：对于带宽紧张的网吧或者其他环境 那些有 100M光纤或 30台+10M光纤的用户可以省略了，因为对你们来说这个没有必要了 我现在做的是基于 ADSL PPPOE的 ROUTER OS 2.9.7 做的 但是光纤用户一样适... ]]></description>
			<content:encoded><![CDATA[<p>环境：对于带宽紧张的网吧或者其他环境 那些有 100M光纤或 30台+10M光纤的用户可以省略了，因为对你们来说这个没有必要了</p>
<p>我现在做的是基于 ADSL PPPOE的 ROUTER OS 2.9.7 做的</p>
<p>但是光纤用户一样适用</p>
<p>我现在开始说说步骤</p>
<p>第一：当然最前提的是你的 ROUTER OS 软件路由器能工作了 NAT共享上网成功</p>
<p>第2步：在所有经过ROUTER OS的数据包+ 上MARK 就像猎人要杀猎物也要先找到目标阿</p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002111217231457.gif"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002111217231457.gif" /></a></p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002110108194020.jpg"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002110108194020.jpg" /></a></p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002110108194122.jpg"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002110108194122.jpg" /></a></p>
<p>第3步：在QUEUE菜单里面选择Queue Types 创作PCQ限速的子项</p>
<p>这里就决定了你的限制每个IP多少K的速度（2.9系列可以直接用K单位2.8 的不行）</p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002111217234405.gif"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002111217234405.gif" /></a></p>
<p>这里多说2句</p>
<p>网吧的带宽和银行道理一样 总带宽不能平均处以IP数量 这个公式不合适</p>
<p>你可以想想 网吧的客人不可能同时全部去下载或者全部去上传</p>
<p>网吧的目标 追求 网络利用最大化 这个IP的限制要看你自己的网吧的需要的</p>
<p>1般来说 每个IP限制下载最高 512K；上传128K已经可以流畅游戏和视频</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>另外： 这个也和你的开关频繁开启和关闭有关系 如果设置得不合理网络带宽浪费严重</p>
<p>客户也会对你的网吧的网络速度抱怨的！（这可是得不尝失）</p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002111217234511.gif"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002111217234511.gif" /></a></p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002110108194224.jpg"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002110108194224.jpg" /></a></p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002110108194306.jpg"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002110108194306.jpg" /></a> </p>
<p>第4步：做好流量监视触发器</p>
<p>就像1个条件过滤器</p>
<p>注意2 和3 红色数字那里</p>
<p>*要选择对你的外网线路</p>
<p>*要注意ABOVE是 &gt; 的意思,就是大于多少K的时候启动这个限制,只要模糊数字就可以</p>
<p>如果你的带宽是10M,你可以直接设置 10000000</p>
<p>*另外1个就是BELOW 当然就是 &lt; 小于的意思，这里很关键的地方就是你刚才设置的</p>
<p>每IP限制数了你们看第2张图的2那里，你这个BELOW的数值一定要 &lt; 它</p>
<p>不然你在限速的时候客户的机器就会1会快1会慢的，其中的道理你们慢慢体会就会理解</p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002111217234553.gif"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002111217234553.gif" /></a> </p>
<p>第5步：做1个执行这个限制的脚本</p>
<p>很简单的就2行，但是注意脚本的名字要和你的在 第四张图EVEN里面的一致</p>
<p>（如果你想我拷贝那几句命令出来给你，你就不要看了，这么懒的都有的！） </p>
<p>做到这里这个PCQ 脚本限速就做好了</p>
<p>以前斑竹也写过命令的</p>
<p>我这里只不过用图片的形式写出来！！</p>
<p>希望大家喜欢</p>
<p><a href="http://www.wx35.cn/upload/2007/11/5002111217234716.gif"><img border="0" src="http://www.wx35.cn/upload/2007/11/5002111217234716.gif" /></a></p>
<p>有些朋友说不会看GIF的图 （其实可以缩放的 用鼠标滚轮就可以）</p>
<p>我特别作了1个图的包给大家下载</p>
<p>（我可花了2个小时的时间 作的）<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>最近有朋友说开关不正常或者限速不明显</p>
<p>刚好另外1个论坛的版主也发了1个关于这个的文章</p>
<p>大家可以在 效果不好的时候参考人家版主的的做法</p>
<p>以下内容是 转贴的 （刚才试验了1下 他的环境应该是 2.8 系列的 ）</p>
<p>地址 <a target="_blank" href="http://www.routerclub.com/viewthread.php?tid=9005&amp;extra=page%3D1">http://www.routerclub.com/viewthread.php?tid=9005&amp;extra=page%3D1</a><br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>怎么保证和按优先级管理流量?</p>
<p>怎么保证和按优先级管理流量?概述<br />队列树通常的应用，是用来限定特殊用户，协议和端口等等。<br />在下边的例子里将介绍：<br />&bull; &nbsp; 怎样保证某一服务的带宽和使用空闲带宽<br />&bull; &nbsp; 怎样优化一个服务(POP3)在其它的服务中(HTTP 、 FTP)<br />看这张图里我们如何共享流量的 ( 192.168.0.0/24是伪装地址):</p>
<p>1. &nbsp; 首先,我们用 mangle 标记 HTTP, FTP 和 POP3 的下载数据流. 在 192.168.0.0/24里, 我们需要用mark-connection参数标记外出的连接</p>
<p>QUOTE:<br />/ip firewall mangle<br />add in-interface=Local dst-address=:80 protocol=tcp action=passthrough <br />mark-connection=http-con comment=&quot;&quot; disabled=no<br />add in-interface=Local dst-address=:110 protocol=tcp action=passthrough <br />mark-connection=pop3-con comment=&quot;&quot; disabled=no<br />add in-interface=Local dst-address=:21 protocol=tcp action=passthrough <br />mark-connection=ftp-con comment=&quot;&quot; disabled=no<br />接着才能用 flow mark标记下载的数据流</p>
<p>QUOTE:<br />/ip firewall mangle<br />add protocol=tcp connection=http-con action=passthrough mark-flow=HTTP <br />comment=&quot;&quot; disabled=no<br />add protocol=tcp connection=pop3-con action=passthrough mark-flow=POP3 <br />comment=&quot;&quot; disabled=no<br />add protocol=tcp connection=ftp-con action=passthrough mark-flow=FTP <br />comment=&quot;&quot; disabled=no<br />2. &nbsp; 然后当我们有了用flow-mark 标记的数据包，我们就可以用它来构建一个队列树<br />添加一个队列保证有全部带宽（512kbps）的80% ，就是409.6kbps ，给HTTP服务。如果其它服务空闲时可以使用全部的带宽：</p>
<p>QUOTE:<br />/queue tree<br />add name=&quot;http-queue&quot; parent=Local flow=HTTP limit-at=409600 max-limit=512000<br />添加一个队列给FTP保证有15% (76,8kbps):</p>
<p>QUOTE:<br />/queue tree<br />add name=&quot;ftp-queue&quot; parent=Local flow=FTP limit-at=76800 max-limit=512000<br />现在添加一个队列保证全部带宽5% (25,6kbps)给POP3 服务使用. 设置这个服务的优先级为优先级7. 这意味着这条队列比其它之前的队列有着更高的优先级（默认的优先级是8） 所以他能在http-queue 和ftp-queue 之前处理:</p>
<p>QUOTE:<br />/queue tree<br />add name=&quot;pop3-queue&quot; parent=Local flow=POP3 limit-at=25600 max-limit=512000 priority=7<br />POP3数据流因为更高的优先级，所以他能够抢先处理，比其他服务有更小的延迟通过路由。<br />使用 limit-at 和 max-limit参数，你能控制给服务允许的最小和最大的带宽。首先，limit-at是能够达到的速率，然后如果有更多的能用带宽，他将使用这些带宽（上边例子里是512kbps）<br />注意：对于正确设置的队列树所有limit-at的值得总和应该小于或低于总的带宽。这里是25,6kbps + 76,8kbps + 409,6kbps = 512kbps.</p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/146/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/146/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROS用流量监控控制限速的开关</title>
		<link>http://www.wx35.cn/archives/145/</link>
		<comments>http://www.wx35.cn/archives/145/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 21:00:23 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=145</guid>
		<description><![CDATA[&#160; 先做好一个PCQ的限速 一个一个限制用simple queue/ queue simple add name=&#34;queue1&#34; target-address=192.168.0.1/32 dst-address=0.0.0.0/0 /interface=all queue=default priority=8 limit-at=330000/330000 /max-limit=400000/400000 disab... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="font-size: 14px;"><span style="padding: 0px 10px; display: block;" id="ContentBody" class="content"></span></span></p>
<p><strong>先做好一个PCQ的限速</strong></p>
<p><strong>一个一个限制用simple queue<br /></strong>/ queue simple <br />add name=&quot;queue1&quot; target-address=192.168.0.1/32 dst-address=0.0.0.0/0 /<br />interface=all queue=default priority=8 limit-at=330000/330000 /<br />max-limit=400000/400000 disabled=no</p>
<p><strong>限制一个网段用PCQ</strong></p>
<p>1. Mark all packets with flow all:用flow all 标记所有数据包<br />/ip firewall mangle add action=accept mark-flow=all</p>
<p>2. Create two PCQ queue types &#8211; one for download and one for upload. For download traffic：创建两条PCQ类型，下载和上传<br />queues will be classified by dst-address and for upload &#8211; by src-address:<br />/queue type add name=PCQ-Download kind=pcq pcq-rate=768000 /<br />pcq-classifier=dst-address<br />/queue type add name=PCQ-Upload kind=pcq pcq-rate=512000 /<br />pcq-classifier=src-address</p>
<p>3. Add two queue rules &#8211; one for download and one for upload:添加PCQ规则，下载和上传/<br />queue tree add parent=Local queue=PCQ-Download flow=all<br />/queue tree add parent=Public queue=PCQ-Upload flow=all </p>
<p>&nbsp;</p>
<p><font size="2"><strong>ROS的流量监控只能监控不同网卡的流量收发<br />假如wan口的带宽是10M我们在9M的时候开启控制条件.</strong></font></p>
<p><font size="2"><strong><br /></strong></font>/tool traffic-monitor<br />add name=pcqon interface=WAN on-event=pcqon threshold=9000000 trigger=above traffic=received</p>
<p>/system script add name=&quot;pcqon&quot; source=&quot;/queue tree enable queue1 &quot; owner=&quot;admin&quot; policy=reboot,read,write,policy,test</p>
<p><font size="2"><strong>在带宽使用低于7M时关闭流量控制</strong></font></p>
<p><font size="2"><strong><br /></strong></font>/tool traffic-monitor<br />add name=pcqoff interface=WAN on-event=pcqoff threshold=7000000 trigger=below traffic=received </p>
<p>/system script add name=&quot;pcqoff&quot; source=&quot;/queue tree disable queue1 &quot; owner=&quot;admin&quot; policy=reboot,read,write,policy,test</p>
<p><img src="http://www.wx35.cn/upload/200706162240030161.jpg" alt="" /></p>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/145/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/145/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ROS下配置DMZ</title>
		<link>http://www.wx35.cn/archives/144/</link>
		<comments>http://www.wx35.cn/archives/144/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 20:29:12 +0000</pubDate>
		<dc:creator>雨豪</dc:creator>
				<category><![CDATA[routeros专题]]></category>

		<guid isPermaLink="false">http://wx35.com/blog/?p=144</guid>
		<description><![CDATA[&#160; 下面将说明怎么样在网络中配置一台DMZ站点 DMZ是英文&#8220;demilitarized zone&#8221;的缩写，中文名称为&#8220;隔离区&#8221;，也称&#8220;非军事化区&#8221;。它是为了解决安装防火墙后外部网络不能... ]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>下面将说明怎么样在网络中配置一台DMZ站点</p>
<p>DMZ是英文&ldquo;demilitarized zone&rdquo;的缩写，中文名称为&ldquo;隔离区&rdquo;，也称&ldquo;非军事化区&rdquo;。它是为了解决安装防火墙后外部网络不能访问内部网络服务器的问题，而设立的一个非安全系统与安全系统之间的缓冲区，这个缓冲区位于企业内部网络和外部网络之间的小网络区域内，在这个小网络区域内可以放置一些必须公开的服务器设施，如企业Web 服务器、FTP服务器和论坛等。另一方面，通过这样一个DMZ区域，更加有效地保护了内部网络，因为这种网络部署，比起一般的防火墙方案，对攻击者来说又多了一道关卡。<br /><!--UserPostedImage--><!--UserPostedImage--></p>
<p>路由器有3块网卡<br /><!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1--><br />[admin@gateway] interface&gt; print<br />Flags: X &#8211; disabled, D &#8211; dynamic, R &#8211; running<br /># &nbsp; &nbsp;NAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TYPE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX-RATE &nbsp; &nbsp;TX-RATE &nbsp; &nbsp;MTU<br />0 &nbsp;R Public &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ether &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1500<br />1 &nbsp;R Local &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ether &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1500<br />2 &nbsp;R DMZ-zone &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ether &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1500<br />[admin@gateway] interface&gt;<!--c2--></div>
<p><!--ec2--></p>
<p>给网卡添加所有需要的ip地址<br /><!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->[admin@gateway] ip address&gt; print<br />Flags: X &#8211; disabled, I &#8211; invalid, D &#8211; dynamic<br /># &nbsp; ADDRESS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NETWORK &nbsp; &nbsp; &nbsp; &nbsp; BROADCAST &nbsp; &nbsp; &nbsp; INTERFACE<br />0 &nbsp; 192.168.0.2/24 &nbsp; &nbsp; 192.168.0.0 &nbsp; &nbsp; 192.168.0.255 &nbsp; Public<br />1 &nbsp; 10.0.0.254/24 &nbsp; &nbsp; &nbsp;10.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp;10.0.0.255 &nbsp; &nbsp; &nbsp;Local<br />2 &nbsp; 10.1.0.1/30 &nbsp; &nbsp; &nbsp; &nbsp;10.1.0.0 &nbsp; &nbsp; &nbsp; &nbsp;10.1.0.3 &nbsp; &nbsp; &nbsp; &nbsp;DMZ-zone<br />3 &nbsp; 192.168.0.3/24 &nbsp; &nbsp; 192.168.0.0 &nbsp; &nbsp; 192.168.0.255 &nbsp; Public<br />[admin@gateway] ip address&gt;<!--c2--></div>
<p><!--ec2--></p>
<p>给路由器添加默认静态路由<br /><!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->[admin@MikroTik] ip route&gt; print<br />Flags: X &#8211; disabled, I &#8211; invalid, D &#8211; dynamic, J &#8211; rejected,<br />C &#8211; connect, S &#8211; static, r &#8211; rip, o &#8211; ospf, b &#8211; bgp<br /># &nbsp; &nbsp;DST-ADDRESS &nbsp; &nbsp; &nbsp; &nbsp;G GATEWAY &nbsp; &nbsp; &nbsp; &nbsp; DISTANCE INTERFACE<br />0 &nbsp;S 0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;r 192.168.0.254 &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; &nbsp;Public<br />1 DC 10.0.0.0/24 &nbsp; &nbsp; &nbsp; &nbsp;r 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;Local<br />2 DC 10.1.0.0/30 &nbsp; &nbsp; &nbsp; &nbsp;r 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;DMZ-zone<br />3 DC 192.168.0.0/24 &nbsp; r 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;Public<br />[admin@MikroTik] ip route&gt;<!--c2--></div>
<p><!--ec2--></p>
<p>给DMZ服务器添加ip地址10.1.0.2 ，网关地址10.1.0.1</p>
<p>配置dst-nat 规则，使DMZ服务器能通过192.168.0.3这个互联网地址访问<br /><!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->[admin@gateway] ip firewall dst-nat&gt; add action=nat \<br />\&#8230; dst-address=192.168.0.3/32 to-dst-address=10.1.0.2<br />[admin@gateway] ip firewall dst-nat&gt; print<br />Flags: X &#8211; disabled, I &#8211; invalid, D &#8211; dynamic<br />0 &nbsp; dst-address=192.168.0.3/32 action=nat to-dst-address=10.1.0.2<br />[admin@gateway] ip firewall dst-nat&gt;</div>
<div class="codemain"></div>
<div class="codemain"></div>
<div class="codemain"></div>
<div class="codemain"></div>
<p>本文章由<a href="http://www.wx35.cn" target="_blank">雨豪博客</a>撰写,采用<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">CC授权分享</a>,转载时请注明<a href="http://www.wx35.cn/archives/144/" target="_blank">原文链接</a>。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wx35.cn/archives/144/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

