PDA

Bekijk de volledige versie : vsftpd.conf Kfurge Help!!!



sollie
05-02-2007, 20:41
Kfurge,

I need your help. Can you add the following lines into /etc/vsftpd.conf:


pasv_enable=YES
pasv_min_port=65000
pasv_max_port=65535

I hope this will enable pasv support into the wl-700ge. Which mean, windows xp's explorer can view the content.

Sollie.

d3viant
06-02-2007, 19:55
Sollie, you could also use optware to install a new ftp server and use that instead of the one included with the ASUS firmware.

sollie
06-02-2007, 20:08
I like to use the webinterface :)
So i thought to use the default one.
Sollie.

kfurge
07-02-2007, 03:20
No problem. At a minimum I can re-route the conf file through /tmp allowing it to be redirected elsewhere at startup.

- K.C.

sollie
07-02-2007, 07:16
K, thank you. Let me know if i can test something.

Sollie.

sollie
10-02-2007, 10:06
Do this:

Step1: Copy vsftpf conf
"cp /etc/vsftpd.conf /opt/etc"

Step 2: add pasv-mode support to vsftpd.conf
"nano /opt/etc/vsftpd.conf"

Add the following lines to the end of this file:
pasv_enable=YES
pasv_min_port=65000
pasv_max_port=65535
pasv_address=85.145.44.81
(WAN-ip)

Step 3: (re)start vsftpd with the new vsftpd.conf file at boot. Add the following lines to your rc.local file:
#Enable pasv-mode for vsftpd
killall vsftpd
/sbin/vsftpd /opt/etc/vsftpd.conf &

Thats all.

Sollie.

PS: the WAN-ip setting in vsftp.conf breaks pasv-mode support for local users.