# cd /usr/ports/ftp/proftpd/
# make install
В файл /etc/rc.conf добавить строку proftpd_enable="YES"
Конфигурационный файл /usr/local/etc/proftpd.conf
#########################
ServerName "FTP server"
ServerType standalone
DefaultServer on
ServerIdent off
Port 21
Umask 002
TimesGMT off
DefaultTransferMode binary
MaxInstances 30
UseReverseDNS off
IdentLookups off
PassivePorts 35500 35600 # порты для passive mode
AuthPamConfig proftpd
User nobody
Group nobody
<limit LOGIN>
AllowUser user1
AllowUser user2
DenyALL
</limit>
<global>
RequireValidShell off
DefaultRoot ~
DefaultChdir ~
<directory ~/*>
<limit all>
AllowAll
</limit>
</directory>
</global>
<directory />
AllowOverwrite on
</directory>
#в конце файла оставим пустую строку
#####################
Для freebsd в настройки ipfw добавим правила
fwcmd="/sbin/ipfw"
${fwcmd} -q add pass tcp from any to ${IPInet} 20,21,35500-35600 via ${LanInet}
${fwcmd} -q add pass tcp from ${IPInet} 20,21,35500-35600 to any via ${LanInet}
Где IPInet - IP адрес внешнего интерфейса, LanInet - внешний интерфейс.
Обсудить сообщение можно в форуме admins.arg.su