<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: firewall and ftp in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225347#M10801</link>
    <description>also open 21 and 20 udp ports&lt;BR /&gt;you need to have in your list the open ports first and the deny rule should come after it...</description>
    <pubDate>Mon, 22 Mar 2004 08:50:24 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2004-03-22T08:50:24Z</dc:date>
    <item>
      <title>firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225346#M10800</link>
      <description>I want to make ftp from one of the pcÂ´s on my net, but as i have configured a firewall in linux, i canÂ´t. In the firewall ports 20 and 21 are open, but i can only set a ftp conection but not get data. With iptables line must i put in the linux firewall to permit active ftp</description>
      <pubDate>Mon, 22 Mar 2004 07:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225346#M10800</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2004-03-22T07:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225347#M10801</link>
      <description>also open 21 and 20 udp ports&lt;BR /&gt;you need to have in your list the open ports first and the deny rule should come after it...</description>
      <pubDate>Mon, 22 Mar 2004 08:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225347#M10801</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-22T08:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225348#M10802</link>
      <description>-A INPUT -i eth0 -p tcp -m tcp -- dport 21 -j okay&lt;BR /&gt;&lt;BR /&gt;-A INPUT -i eth0 -p tcp -m tcp -- dport 20 -j okay&lt;BR /&gt;&lt;BR /&gt;in /etc/sydconfig/iptables&lt;BR /&gt;&lt;BR /&gt;if the firewall is not on eth0 adjust that.&lt;BR /&gt;&lt;BR /&gt;save&lt;BR /&gt;&lt;BR /&gt;service iptables restart&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Mar 2004 13:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225348#M10802</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-22T13:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225349#M10803</link>
      <description>You've not detailed what sort of firewalling you're doing, whether you're NAT/Masquerading your local connections via  a single 'net connection etc..&lt;BR /&gt;&lt;BR /&gt;My guess is that you are.&lt;BR /&gt;&lt;BR /&gt;You'll also need to insert a few new modules:&lt;BR /&gt;&lt;BR /&gt;modprobe ip_nat_ftp ip_conntrack_ftp&lt;BR /&gt;&lt;BR /&gt;With those two, all should be happy.</description>
      <pubDate>Tue, 23 Mar 2004 01:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225349#M10803</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-23T01:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225350#M10804</link>
      <description>Actually I think it would be beter to use:&lt;BR /&gt;&lt;BR /&gt; iptables -A INPUT -p tcp --dport 21 -j ACCEPT&lt;BR /&gt; iptables -A INPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;if still no go, include some lines for the OUTPUT chain too:&lt;BR /&gt; iptables -A OUTPUT -p tcp --sport 21 -j ACCEPT&lt;BR /&gt; iptables -A OUTPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;this would use stateful filtering and take care of both active and passive FTP.&lt;BR /&gt;Of course, these are just raw rules, you might wish to adjust them depending on your setup, to only allow traffic from certain machines, through certain interfaces, and so on.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Mar 2004 01:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225350#M10804</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2004-03-23T01:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: firewall and ftp</title>
      <link>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225351#M10805</link>
      <description>Thanks to all, the problem was that ip_nat_ftp wasnÂ´t load, the 10 points to Stuart Brown</description>
      <pubDate>Tue, 23 Mar 2004 04:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/firewall-and-ftp/m-p/3225351#M10805</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2004-03-23T04:08:00Z</dc:date>
    </item>
  </channel>
</rss>

