<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nomorebluescreen.de/index.php?action=history&amp;feed=atom&amp;title=Iptables-Beispiel</id>
	<title>Iptables-Beispiel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nomorebluescreen.de/index.php?action=history&amp;feed=atom&amp;title=Iptables-Beispiel"/>
	<link rel="alternate" type="text/html" href="https://wiki.nomorebluescreen.de/index.php?title=Iptables-Beispiel&amp;action=history"/>
	<updated>2026-05-05T13:22:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.nomorebluescreen.de/index.php?title=Iptables-Beispiel&amp;diff=116&amp;oldid=prev</id>
		<title>Sunflower at 21:58, 6 February 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.nomorebluescreen.de/index.php?title=Iptables-Beispiel&amp;diff=116&amp;oldid=prev"/>
		<updated>2016-02-06T21:58:20Z</updated>

		<summary type="html">&lt;p&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 21:58, 6 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;gefunden wird.&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;gefunden wird.&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;div&gt;&amp;lt;br&amp;gt;&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;&amp;lt;br&amp;gt;&lt;/div&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;In diesem Beispiel soll ssh und grafisches Login auf &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eine&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VM&lt;/del&gt; erlaubt werden.&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;In diesem Beispiel soll ssh und grafisches Login auf &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einen&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VMware-Server&lt;/ins&gt; erlaubt werden.&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;&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;Allen Input verbieten (Policy)&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;Allen Input verbieten (Policy)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:1.41:old-11:rev-116:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Sunflower</name></author>
	</entry>
	<entry>
		<id>https://wiki.nomorebluescreen.de/index.php?title=Iptables-Beispiel&amp;diff=11&amp;oldid=prev</id>
		<title>Sunflower: Die Seite wurde neu angelegt: „Iptables ist die Linux-Firewall für Arme. &lt;br&gt;  Sinnvoll ist in jedem Fall erstmal alles zu verbieten und dann nach und nach die Dinge zu erlauben, die man brauc…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.nomorebluescreen.de/index.php?title=Iptables-Beispiel&amp;diff=11&amp;oldid=prev"/>
		<updated>2012-03-07T21:36:17Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Iptables ist die Linux-Firewall für Arme. &amp;lt;br&amp;gt;  Sinnvoll ist in jedem Fall erstmal alles zu verbieten und dann nach und nach die Dinge zu erlauben, die man brauc…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Iptables ist die Linux-Firewall für Arme. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sinnvoll ist in jedem Fall erstmal alles zu verbieten und dann nach und nach die&lt;br /&gt;
Dinge zu erlauben, die man braucht. Iptables funktioniert nach dem Prinzip&lt;br /&gt;
&amp;quot;First match wins&amp;quot;, d.h. die erste zutreffende Regel wird ausgeführt, die&lt;br /&gt;
restlichen Regeln werden nicht mehr angewendet. Eine Ausnahme sind die Policies&lt;br /&gt;
(Parameter -P). Diese treffen erst dann zu, wenn keine speziellere Regel&lt;br /&gt;
gefunden wird.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In diesem Beispiel soll ssh und grafisches Login auf eine VM erlaubt werden.&lt;br /&gt;
&lt;br /&gt;
Allen Input verbieten (Policy)&lt;br /&gt;
 iptables -P INPUT DROP&lt;br /&gt;
&lt;br /&gt;
Antworten auf bestehende tcp-Verbindungen erlauben (stateful Filter)&lt;br /&gt;
 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
ssh und ping erlauben&lt;br /&gt;
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT&lt;br /&gt;
 iptables -A INPUT -p icmp -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
allow all VMware MUI HTTP traffic to the management interface NIC&lt;br /&gt;
 iptables -I INPUT 3 -j ACCEPT -p TCP -d 192.168.63.128 --destination-port 8222&lt;br /&gt;
&lt;br /&gt;
allow all VMware MUI HTTPS traffic to the management interface NIC&lt;br /&gt;
 iptables -I INPUT 4 -j ACCEPT -p TCP -d 192.168.63.128 --destination-port 8333&lt;br /&gt;
&lt;br /&gt;
allow all VMware Authorization Daemon traffic to the management interface NIC&lt;br /&gt;
 iptables -I INPUT 5 -j ACCEPT -p TCP -d 192.168.63.128 --destination-port 902&lt;br /&gt;
&lt;br /&gt;
ausgehende Verbindungen generell erlauben&lt;br /&gt;
 iptables -P OUTPUT  ACCEPT&lt;/div&gt;</summary>
		<author><name>Sunflower</name></author>
	</entry>
</feed>