<?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>iptables-save command &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/iptables-save-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Wed, 18 May 2011 06:01:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Save/Restore Iptables Rules</title>
		<link>https://lifelinux.com/how-to-saverestore-iptables-rules/</link>
					<comments>https://lifelinux.com/how-to-saverestore-iptables-rules/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 18 May 2011 05:49:46 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[iptables-restore command]]></category>
		<category><![CDATA[iptables-save command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[ubuntu iptables]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[ubuntu save firewall]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=598</guid>

					<description><![CDATA[<p>Save Iptables rules Rules created with the iptables command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root: # /etc/init.d/iptables save If you are using IPv6, enter: # /etc/init.d/ip6tables save The above commands will write [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-saverestore-iptables-rules/">How To Save/Restore Iptables Rules</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>Save Iptables rules</h3>
<p>Rules created with the <strong>iptables</strong> command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root:</p>
<pre>
# /etc/init.d/iptables save 
</pre>
<p><span id="more-598"></span><br />
If you are using IPv6, enter:</p>
<pre>
# /etc/init.d/ip6tables save 
</pre>
<p>The above commands will write the current iptables configuration to <strong>/etc/sysconfig/iptables</strong>. The next time the system boots, the iptables init script reapplies the rules saved in /etc/sysconfig/iptables. You can also save the iptables rules to a separate file for distribution, backup or other purposes. Type the following command as root</p>
<pre>
# iptables-save > /root/iptables.rules
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# ip6tables-save  > /root/iptables.rules
</pre>
<h3>Restore Iptables rules</h3>
<p>To restore it use the command iptables-restore, type the following command as root:</p>
<pre>
# iptables-restore < /root/iptables.rules
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# ip6tables-restore < /root/iptables.rules
</pre>
<g:plusone href="https://lifelinux.com/how-to-saverestore-iptables-rules/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-saverestore-iptables-rules/">How To Save/Restore Iptables Rules</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-saverestore-iptables-rules/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
