<?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>SplatDot.com &#187; firewall</title>
	<atom:link href="http://splatdot.com/tag/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>http://splatdot.com</link>
	<description>software. systems. solutions.</description>
	<lastBuildDate>Mon, 04 Apr 2011 01:12:54 +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>Running vsftpd Behind a NAT Firewall</title>
		<link>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/</link>
		<comments>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 01:50:09 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[vsftp]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I needed to set up a vsftpd server recently but I needed it running behind a NAT firewall. I set up port 21 in the port forwarding table. And it didn&#8217;t work. That&#8217;s because on Ubuntu 8.10 Intrepid Ibix the vsftpd config defaults to passive mode. I tried changing it to active mode but could [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to set up a <a href="http://vsftpd.beasts.org/">vsftpd</a> server recently but I needed it running behind a <a href="http://en.wikipedia.org/wiki/Network_address_translation">NAT firewall</a>. I set up port 21 in the port forwarding table. And it didn&#8217;t work. That&#8217;s because on <a href="http://www.ubuntu.com/">Ubuntu 8.10 Intrepid Ibix</a> the vsftpd config defaults to passive mode. I tried changing it to active mode but could not get that to work either. Since passive mode is recommended for vsftpd I went back to trying to make passive mode work. I needed to change <code>vsftpd.conf</code> to set the value of <code>pasv_address</code> to my public static IP address. Then in addition to forwarding port 21 I also needed to forward all of the ports in the range between <code>pasv_min_port</code> and <code>pasv_max_port</code> (inclusive) as defined in <code>vsftpd.conf</code>. In my case that was ports 32000-32127.</p>
<div style="text-align:center;"><img src="http://www.splatdot.com/wp-content/uploads/vsftpd_passive_ports.png" alt="vsftpd_passive_ports" title="vsftpd_passive_ports" width="541" height="181" class="aligncenter size-full wp-image-36" /></div>
<p>After adding that range to the port forwarding table in the NAT firewall it works great. You can increase or decrease the range of the passive ports and you can move it around in the port numbering space to suit your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/running-vsftpd-behind-a-nat-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

