
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://mediawiki.ceinge.unina.it/skins/common/feed.css?63"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://mediawiki.ceinge.unina.it/index.php?action=history&amp;feed=atom&amp;title=biolocal%3AOpen_firewall_for_proftpd</id>
		<title>biolocal:Open firewall for proftpd - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://mediawiki.ceinge.unina.it/index.php?action=history&amp;feed=atom&amp;title=biolocal%3AOpen_firewall_for_proftpd"/>
		<link rel="alternate" type="text/html" href="http://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;action=history"/>
		<updated>2026-04-08T17:14:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.10.0</generator>

	<entry>
		<id>http://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1209&amp;oldid=prev</id>
		<title>Gianluca: Bioinfolocal:open firewall for proftpd moved to biolocal:Open firewall for proftpd: moving to the right namespace</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1209&amp;oldid=prev"/>
				<updated>2008-02-18T10:53:35Z</updated>
		
		<summary type="html">&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;</summary>
		<author><name>Gianluca</name></author>	</entry>

	<entry>
		<id>http://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1096&amp;oldid=prev</id>
		<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 rel="alternate" type="text/html" href="http://mediawiki.ceinge.unina.it/index.php?title=biolocal:Open_firewall_for_proftpd&amp;diff=1096&amp;oldid=prev"/>
				<updated>2007-10-04T09:27:42Z</updated>
		
		<summary type="html">&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;</summary>
		<author><name>Gianluca</name></author>	</entry>

	</feed>