NullMind's Lair

Blog of a cranky web-hosting geek !!

Iptables w/ Proftpd

To minimize the range of open ports for iptables to allow “Passive” or “PASV” connections

in /etc/proftpd insert:

PassivePorts 60150 60200

Put in under the “Port” entry

then in Iptables rules:

iptables -t filter -A INPUT -p tcp –dport 60150:60200 -j ACCEPT

6 responses to “Iptables w/ Proftpd”

  1. Oliver Demetz Avatar
  2. Greg Forrest Avatar
  3. Greg Forrest Avatar
  4. nullmind Avatar
  5. Greg Forrest Avatar
  6. nullmind Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *