<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post/1522/</link>
<title><![CDATA[Linux如何关闭防火墙和查看防火墙的具体情况]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 22 Dec 2008 07:17:45 +0000</pubDate> 
<guid>http://www.jackxiang.com/post/1522/</guid> 
<description>
<![CDATA[ 
	1.Linux下关闭和开启防火墙<br/>&nbsp;&nbsp;<br/>1) 重启后生效 <br/><div class="code">开启： chkconfig iptables on <br/>关闭： chkconfig iptables off </div><br/><br/>2) 即时生效，重启后失效 <br/><div class="code">开启： service iptables start <br/>关闭： service iptables stop </div><br/><br/>需要说明的是对于Linux下的其它服务都可以用以上命令执行开启和关闭操作。 <br/><br/>在开启了防火墙时，做如下设置，开启相关端口， <br/>修改/etc/sysconfig/iptables 文件，添加以下内容： <br/>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT <br/>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT 字串6<div class="code">&#91;root@101/udp socket_interface&#93;# /sbin/iptables -L<br/>Chain INPUT (policy ACCEPT)<br/>target&nbsp;&nbsp;&nbsp;&nbsp; prot opt source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/><br/>Chain FORWARD (policy ACCEPT)<br/>target&nbsp;&nbsp;&nbsp;&nbsp; prot opt source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/><br/>Chain OUTPUT (policy ACCEPT)<br/>target&nbsp;&nbsp;&nbsp;&nbsp; prot opt source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; destination</div><br/><br/>2.查看防火墙：<br/><div class="code">iptables -L</div>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post/1522/#blogcomment51485</link>
<title><![CDATA[[评论] Linux如何关闭防火墙和查看防火墙的具体情况]]></title> 
<author>ove &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 27 Nov 2009 02:21:13 +0000</pubDate> 
<guid>http://www.jackxiang.com/post/1522/#blogcomment51485</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post/1522/#blogcomment51522</link>
<title><![CDATA[[评论] Linux如何关闭防火墙和查看防火墙的具体情况]]></title> 
<author>12 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 09 Feb 2010 05:11:47 +0000</pubDate> 
<guid>http://www.jackxiang.com/post/1522/#blogcomment51522</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>