<?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>Pario TechnoBlob &#187; Linux</title>
	<atom:link href="http://pario.no/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Some iptables tricks</title>
		<link>http://pario.no/2008/05/27/some-iptables-tricks/</link>
		<comments>http://pario.no/2008/05/27/some-iptables-tricks/#comments</comments>
		<pubDate>Tue, 27 May 2008 22:17:31 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://pario.no/?p=457</guid>
		<description><![CDATA[Multiport The Multiport extension allows you to specify multiple ports and ranges and makes it possible to create complex rules in one line. Here&#8217;s an example of how you can allow SSH, Web, IMAP and X terminal traffic iptables -A INPUT -p tcp -m multiport --dports 22,80,143,6000:6003 -j ACCEPT The alternative to using this rule [...]]]></description>
			<content:encoded><![CDATA[<h2>Multiport</h2>
<p>The <strong>Multiport</strong> extension allows you to specify multiple ports and ranges and makes it possible to create complex rules in one line. Here&#8217;s an example of how you can allow SSH, Web, IMAP and X terminal traffic </p>
<pre>
iptables -A INPUT -p tcp -m multiport --dports 22,80,143,6000:6003 -j ACCEPT</pre>
<p>The alternative to using this rule would be</p>
<pre>
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 143 -j ACCEPT
iptables -A INPUT -p tcp --dport 6000:6003 -j ACCEPT</pre>
<p>The multiport directive saves you a lot of lines to maintain and requires less system processing.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDUvMjcvc29tZS1pcHRhYmxlcy10cmlja3MvPHdwdGI%2BU29tZSBpcHRhYmxlcyB0cmlja3M8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/05/27/some-iptables-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

