<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Iptables</id>
	<title>Iptables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Iptables"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Iptables&amp;action=history"/>
	<updated>2026-04-10T14:34:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Iptables&amp;diff=29651&amp;oldid=prev</id>
		<title>Prabuanand: changed  to :Category:Firewall</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Iptables&amp;diff=29651&amp;oldid=prev"/>
		<updated>2025-04-09T11:26:28Z</updated>

		<summary type="html">&lt;p&gt;changed  to &lt;a href=&quot;/wiki/Category:Firewall&quot; title=&quot;Category:Firewall&quot;&gt;Category:Firewall&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:26, 9 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://www.netfilter.org/ Official website]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://www.netfilter.org/ Official website]  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Security]][[Category:Networking&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Firewall&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prabuanand</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Iptables&amp;diff=28731&amp;oldid=prev</id>
		<title>Prabuanand: moved content from Configure Networking page</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Iptables&amp;diff=28731&amp;oldid=prev"/>
		<updated>2025-01-10T05:45:56Z</updated>

		<summary type="html">&lt;p&gt;moved content from &lt;a href=&quot;/wiki/Configure_Networking&quot; title=&quot;Configure Networking&quot;&gt;Configure Networking&lt;/a&gt; page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://www.netfilter.org/ Iptables] is a generic firewalling software that allows you to define rulesets. Each rule within an IP table consists of a number of classifiers (iptables matches) and one connected action (iptables target). iptables is the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset. It is targeted towards system administrators. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install iptables/ip6tables ==&lt;br /&gt;
* To install iptables (includes ip6tables in alpine 3.19 and up):&lt;br /&gt;
: {{Cmd|# apk add {{pkg|iptables|arch=}}}}&lt;br /&gt;
&lt;br /&gt;
* To install ip6tables (Alpine older than 3.19 only):&lt;br /&gt;
: {{Cmd|# apk add {{pkg|ip6tables|branch=v3.18|arch=}}}}&lt;br /&gt;
&lt;br /&gt;
* To install the man pages for iptables and ip6tables:&lt;br /&gt;
: {{Cmd|# apk add {{pkg|iptables-doc|arch=}}}}&lt;br /&gt;
&lt;br /&gt;
== Configure iptables/ip6tables ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Save Firewall Rules ==&lt;br /&gt;
&lt;br /&gt;
=== For iptables ===&lt;br /&gt;
# Set iptables to start on reboot&lt;br /&gt;
#* {{ Cmd|# rc-update add iptables }}&lt;br /&gt;
# Write the firewall rules to disk&lt;br /&gt;
#* {{ Cmd|# rc-service iptables save}}&lt;br /&gt;
# If you use Alpine Local Backup:&lt;br /&gt;
&amp;lt;!-- Not needed on Alpine &amp;gt; 2.3&lt;br /&gt;
## Add the firewall rules to Alpine Local Backup&lt;br /&gt;
##* {{ Cmd|# lbu add /var/lib/iptables/rules-save }}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
## Save the configuration&lt;br /&gt;
##* {{ Cmd|# lbu ci }}&lt;br /&gt;
&lt;br /&gt;
== For ip6tables ==&lt;br /&gt;
# Set ip6tables to start on reboot&lt;br /&gt;
#* {{ Cmd|# rc-update add ip6tables }}&lt;br /&gt;
# Write the firewall rules to disk&lt;br /&gt;
#* {{ Cmd|# rc-service ip6tables save}}&lt;br /&gt;
# If you use Alpine Local Backup:&lt;br /&gt;
&amp;lt;!-- Not needed on Alpine &amp;gt; 2.3&lt;br /&gt;
## Add the firewall rules to Alpine Local Backup&lt;br /&gt;
##* {{ Cmd|# lbu add /var/lib/ip6tables/rules-save }}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
## Save the configuration&lt;br /&gt;
##* {{ Cmd|# lbu ci }}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
[https://www.netfilter.org/ Official website] &lt;br /&gt;
&lt;br /&gt;
[[Category:Security]][[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Prabuanand</name></author>
	</entry>
</feed>