<?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>dennis henry &#187; IPTables</title>
	<atom:link href="http://dennishenry.net/category/linux/iptables/feed/" rel="self" type="application/rss+xml" />
	<link>http://dennishenry.net</link>
	<description>ramblings of an IT professional</description>
	<lastBuildDate>Mon, 26 Sep 2011 16:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Simple IPTables OpenVZ Setup</title>
		<link>http://dennishenry.net/2010/08/02/simple-iptables-openvz-setup/</link>
		<comments>http://dennishenry.net/2010/08/02/simple-iptables-openvz-setup/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 21:02:28 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[IPTables]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=81</guid>
		<description><![CDATA[So after looking and failing to find a good article on how to describe the simple process to set up IPTables on an OpenVZ server, I figured I would write one here. The process is incredibly simple and can be broken down into 3 steps: Empty out the contents of /etc/sysconfig/iptables cat "" > /etc/sysconfig/iptables]]></description>
			<content:encoded><![CDATA[<p>So after looking and failing to find a good article on how to describe the simple process to set up IPTables on an OpenVZ server, I figured I would write one here. The process is incredibly simple and can be broken down into 3 steps:</p>
<ol>
<li>Empty out the contents of /etc/sysconfig/iptables
<pre>cat "" > /etc/sysconfig/iptables</pre>
</li>
<li>Use the following line in /etc/sysconfig/iptables-config:
<pre>IPTABLES_MODULES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"</pre>
</li>
<li>Use the following line in /etc/vz/vz.conf: 
<pre>IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state"</pre>
</li>
</ol>
<p>After ensuring these three things, just stop both vz and iptables, start iptables, then start vz. You should then be able to use iptables within a virtualized container.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2010/08/02/simple-iptables-openvz-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
