ProFTPD and OpenBSD

Below are the steps I followed in the past to install ProFTPD (1.2.0rc2) on my OpenBSD machine. Now that programs like WinSCP make copying files from Windows to Unix machines a lot easier, I disabled FTP service on my machine.

But for people still using the FTP service:

  1. Download the ProFTPD source package:

    wget ftp://ftp.proftpd.net/pub/proftpd/proftpd-1.2.0rc2.tar.gz

  2. Extract the sources:

    tar xvfz proftpd-1.2.0rc2.tar.gz

    And cd to the proftpd-1.2.0rc2 directory.

  3. Configure ProFTPD:

    ./configure

  4. Compile ProFTPD:

    make > /dev/null

  5. Install ProFTPD:

    make install > /dev/null

  6. Edit /etc/inetd.conf so that ProFTPD can take over:

    ftp stream tcp nowait root /usr/libexec/tcpd /usr/local/sbin/in.proftpd

  7. Edit /etc/hosts.allow so that users may actually use your new shiny FTP daemon:

    in.proftpd: 192.168.0.

Comments are closed.