
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=gentoo_iptables_rules_survive_reboot</id>
		<title>gentoo iptables rules survive reboot - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=gentoo_iptables_rules_survive_reboot"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=gentoo_iptables_rules_survive_reboot&amp;action=history"/>
		<updated>2026-05-01T15:29:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=gentoo_iptables_rules_survive_reboot&amp;diff=154&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;gentoo will automatically load rules from when starting iptables...  /var/lib/iptables/rules-save  the file above is saved by running...  /etc/init.d/iptables save  So, as lon...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=gentoo_iptables_rules_survive_reboot&amp;diff=154&amp;oldid=prev"/>
				<updated>2013-04-04T17:36:05Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;gentoo will automatically load rules from when starting iptables...  /var/lib/iptables/rules-save  the file above is saved by running...  /etc/init.d/iptables save  So, as lon...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;gentoo will automatically load rules from when starting iptables...&lt;br /&gt;
 /var/lib/iptables/rules-save&lt;br /&gt;
&lt;br /&gt;
the file above is saved by running...&lt;br /&gt;
 /etc/init.d/iptables save&lt;br /&gt;
&lt;br /&gt;
So, as long as iptables is in your default run level for automatic startup, and you rules are saved, they will survive a reboot.  Don't forget about ipforwarding too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== fwbuilder ==&lt;br /&gt;
&lt;br /&gt;
When using fwbuilder to install rules to gentoo, the easiest way for the rules to survive reboot is to...&lt;br /&gt;
&lt;br /&gt;
Firewall object -&amp;gt; Firewall Settings... -&amp;gt; Prolog/Epilog -&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add &amp;quot;/etc/init.d/iptabels save&amp;quot; to Epilog (bottom) window under the header &amp;quot;The following commands will be added veratim after generated configuration&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[category:iptables]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>