[ubuntu] Pure-ftpd : ForcePassiveIP

2011.06.24 17:29

Shadow 조회 수:40342

http://samiux.wordpress.com/2009/08/18/howto-passive-mode-for-pure-ftpd-on-ubuntu-server-9-04/


HOWTO : Passive mode for Pure-FTPd on Ubuntu Server 9.04

I used to use vsFTPd. However, I recently need to test ISPConfig 3 which requires to install Pure-FTPd. My testing server is behind NAT and FTP should be running in passive mode. How to do it on Pure-FTPd?

Assumed that your server IP is 192.168.50.100 and you want to specify a port range 50000-50100 for the passive mode.

Step 1 :

sudo nano /etc/pure-ftpd/conf/PassivePortRange
50000 50100

sudo nano /etc/pure-ftpd/conf/ForcePassiveIP
192.168.50.100

Step 2 :

Restart the service.

sudo /etc/init.d/pure-ftpd restart

That’s all!

사용자 로그인