<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: CentOS / Redhat Iptables Firewall Configuration Tutorial</title>
	<atom:link href="http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Sun, 21 Mar 2010 09:24:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vivek Gite</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-45510</link>
		<dc:creator>Vivek Gite</dc:creator>
		<pubDate>Mon, 11 Jan 2010 04:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-45510</guid>
		<description>@pd,

Thanks, I&#039;ve commented out those lines in script, since output policy is set to established.

HTH</description>
		<content:encoded><![CDATA[<p>@pd,</p>
<p>Thanks, I&#8217;ve commented out those lines in script, since output policy is set to established.</p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pd</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-45507</link>
		<dc:creator>pd</dc:creator>
		<pubDate>Mon, 11 Jan 2010 01:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-45507</guid>
		<description>Yes, I found the problem in below lines, OUTPUT should be with &quot;-o&quot; not &quot;-i&quot;

&lt;pre&gt;# allow incomming ICMP ping pong stuff
$IPT -A INPUT -i ${PUB_IF} -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p icmp --icmp-type 0 -m state --state ESTABLISHED,RELATED -j ACCEPT
 
# Allow port 53 tcp/udp (DNS Server)
$IPT -A INPUT -i ${PUB_IF} -p udp --dport 53 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p udp --sport 53 -m state --state ESTABLISHED,RELATED -j ACCEPT
 
$IPT -A INPUT -i ${PUB_IF} -p tcp --destination-port 53 -m state --state NEW,ESTABLISHED,RELATED  -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p tcp --sport 53 -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;/pre&gt;

Vivek need to update this script.</description>
		<content:encoded><![CDATA[<p>Yes, I found the problem in below lines, OUTPUT should be with &#8220;-o&#8221; not &#8220;-i&#8221;</p>
<pre># allow incomming ICMP ping pong stuff
$IPT -A INPUT -i ${PUB_IF} -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p icmp --icmp-type 0 -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow port 53 tcp/udp (DNS Server)
$IPT -A INPUT -i ${PUB_IF} -p udp --dport 53 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p udp --sport 53 -m state --state ESTABLISHED,RELATED -j ACCEPT

$IPT -A INPUT -i ${PUB_IF} -p tcp --destination-port 53 -m state --state NEW,ESTABLISHED,RELATED  -j ACCEPT
$IPT -A OUTPUT -i ${PUB_IF} -p tcp --sport 53 -m state --state ESTABLISHED,RELATED -j ACCEPT</pre>
<p>Vivek need to update this script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pd</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-45506</link>
		<dc:creator>pd</dc:creator>
		<pubDate>Mon, 11 Jan 2010 01:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-45506</guid>
		<description>I run this firewall script on centos 5.4 and got these errors
&lt;pre&gt;[root@localhost scripts]# ./iptables.sh
Setting sysctl IPv4 settings...
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
error: &quot;net.ipv4.icmp_ignore_bogus_error_messages&quot; is an unknown key
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
kernel.exec-shield = 1
kernel.randomize_va_space = 1
Starting IPv4 Firewall...
iptables v1.3.5: Can&#039;t use -i with OUTPUT

Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.
iptables v1.3.5: Can&#039;t use -i with OUTPUT

Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.
iptables v1.3.5: Can&#039;t use -i with OUTPUT

Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I run this firewall script on centos 5.4 and got these errors</p>
<pre>[root@localhost scripts]# ./iptables.sh
Setting sysctl IPv4 settings...
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
error: "net.ipv4.icmp_ignore_bogus_error_messages" is an unknown key
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
kernel.exec-shield = 1
kernel.randomize_va_space = 1
Starting IPv4 Firewall...
iptables v1.3.5: Can't use -i with OUTPUT

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Can't use -i with OUTPUT

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Can't use -i with OUTPUT

Try `iptables -h' or 'iptables --help' for more information.</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: gorfou</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-44732</link>
		<dc:creator>gorfou</dc:creator>
		<pubDate>Tue, 17 Nov 2009 16:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-44732</guid>
		<description>Hi,
I am trying to install a custom iptables configuration within a fresh centos/kickstart install.
I have my custom package which installs the file /etc/sysconfig/iptables during kickstart installation.
However, this file is erased by the default one upon first reboot.

Does anyone know what script is responsible for resetting it ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am trying to install a custom iptables configuration within a fresh centos/kickstart install.<br />
I have my custom package which installs the file /etc/sysconfig/iptables during kickstart installation.<br />
However, this file is erased by the default one upon first reboot.</p>
<p>Does anyone know what script is responsible for resetting it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoander (sedlav)</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-44565</link>
		<dc:creator>yoander (sedlav)</dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-44565</guid>
		<description>&lt;a href=&quot;http://easyfwgen.morizot.net/gen/index.php&quot; rel=&quot;nofollow&quot;&gt;Easy Firewall Generator for IPTables&lt;/a&gt; is an iptables script generator, you can play with different options is an excellent tool for newbie.</description>
		<content:encoded><![CDATA[<p><a href="http://easyfwgen.morizot.net/gen/index.php" rel="nofollow">Easy Firewall Generator for IPTables</a> is an iptables script generator, you can play with different options is an excellent tool for newbie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Gite</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-44563</link>
		<dc:creator>Vivek Gite</dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-44563</guid>
		<description>@Marcus,

I don&#039;t think so there are any such program under Linux. Almost all network program open privileged or unprivileged ports. You can run netstat program to find out port number and add rule manually.</description>
		<content:encoded><![CDATA[<p>@Marcus,</p>
<p>I don&#8217;t think so there are any such program under Linux. Almost all network program open privileged or unprivileged ports. You can run netstat program to find out port number and add rule manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-44562</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Tue, 10 Nov 2009 13:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-44562</guid>
		<description>I&#039;m curious, can you set it up so a certain program is authorized to send/receive data? This is a feature of the Windows Firewall. It makes it easier for programs that don&#039;t publish the ports they work on.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious, can you set it up so a certain program is authorized to send/receive data? This is a feature of the Windows Firewall. It makes it easier for programs that don&#8217;t publish the ports they work on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Baily</title>
		<link>http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/comment-page-1/#comment-44554</link>
		<dc:creator>Bill Baily</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/?p=5721#comment-44554</guid>
		<description>No mention of *all* the tables then. Mmmm. Perhaps this is just an iptable (rather than an iptables) guide, :-P</description>
		<content:encoded><![CDATA[<p>No mention of *all* the tables then. Mmmm. Perhaps this is just an iptable (rather than an iptables) guide, :-P</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.092 seconds -->
<!-- Cached page served by WP-Cache -->
