
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://mediawiki.ceinge.unina.it/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>biolocal:Open firewall for proftpd - Revision history</title>
		<link>https://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.10.0</generator>
		<lastBuildDate>Tue, 18 Aug 2026 03:50:56 GMT</lastBuildDate>
		<item>
			<title>Gianluca: Bioinfolocal:open firewall for proftpd moved to biolocal:Open firewall for proftpd: moving to the right namespace</title>
			<link>https://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1209&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;a href=&quot;/index.php/Bioinfolocal:open_firewall_for_proftpd&quot; title=&quot;Bioinfolocal:open firewall for proftpd&quot;&gt;Bioinfolocal:open firewall for proftpd&lt;/a&gt; moved to &lt;a href=&quot;/index.php/biolocal:Open_firewall_for_proftpd&quot; title=&quot;biolocal:Open firewall for proftpd&quot;&gt;biolocal:Open firewall for proftpd&lt;/a&gt;: moving to the right namespace&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 10:53, 18 February 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;</description>
			<pubDate>Mon, 18 Feb 2008 10:53:35 GMT</pubDate>			<dc:creator>Gianluca</dc:creator>			<comments>https://mediawiki.ceinge.unina.it/index.php/:Open_firewall_for_proftpd</comments>		</item>
		<item>
			<title>Gianluca: New page: First of all restrict the data transfer in a defined range of ports, on the ftp server:  Edit the file proftpd.conf and add or modify the following line: &lt;pre&gt; PassivePorts 49152 65534	# 4...</title>
			<link>https://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1096&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: First of all restrict the data transfer in a defined range of ports, on the ftp server:  Edit the file proftpd.conf and add or modify the following line: &amp;lt;pre&amp;gt; PassivePorts 49152 65534	# 4...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;First of all restrict the data transfer in a defined range of ports, on the ftp server:&lt;br /&gt;
&lt;br /&gt;
Edit the file proftpd.conf and add or modify the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PassivePorts 49152 65534	# 49152-65534, the IANA-registered ephemeral port range&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the iptables configuration file should be edited to allow connection on the above port range. Edit /etc/sysconfig/iptables:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@bpd etc]# cat sysconfig/iptables&lt;br /&gt;
# Firewall configuration written by system-config-securitylevel&lt;br /&gt;
# Manual customization of this file is not recommended.&lt;br /&gt;
*filter&lt;br /&gt;
:INPUT ACCEPT [0:0]&lt;br /&gt;
:FORWARD ACCEPT [0:0]&lt;br /&gt;
:OUTPUT ACCEPT [0:0]&lt;br /&gt;
:RH-Firewall-1-INPUT - [0:0]&lt;br /&gt;
-A INPUT -j RH-Firewall-1-INPUT&lt;br /&gt;
-A FORWARD -j RH-Firewall-1-INPUT&lt;br /&gt;
-A RH-Firewall-1-INPUT -i lo -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 20 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 49152:65534 -j ACCEPT		&amp;lt;&amp;lt;== Allow the tranfer on a port range&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT			&amp;lt;&amp;lt;== Allow the connection on port 21&lt;br /&gt;
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited&lt;br /&gt;
COMMIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 04 Oct 2007 09:27:42 GMT</pubDate>			<dc:creator>Gianluca</dc:creator>			<comments>https://mediawiki.ceinge.unina.it/index.php/:Open_firewall_for_proftpd</comments>		</item>
	</channel>
</rss>