#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "local_umask=000" "local_umask=022" "$CONFIG"
pc_replace "connect_from_port_20=YES" "connect_from_port_20=NO" "$CONFIG"
pc_replace "ssl_enable=NO" "ssl_enable=YES" "$CONFIG"
pc_replace "ftpd_banner=Welcome to ASUS RT-AC68U FTP service." "ftpd_banner=Welcome to Router man's unbelievable FTP service." "$CONFIG"
pc_append "max_per_ip=5" "$CONFIG"
pc_append "use_sendfile=NO" "$CONFIG"
pc_append "ssl_ciphers=HIGH" "$CONFIG"
pc_append "pasv_min_port=10500" "$CONFIG"
pc_append "pasv_max_port=10520" "$CONFIG"
pc_append "require_ssl_reuse=NO" "$CONFIG"
pc_append "force_local_data_ssl=YES" "$CONFIG"
pc_append "force_local_logins_ssl=YES" "$CONFIG"
pc_append "rsa_cert_file=/jffs/configs/vsftpd.pem" "$CONFIG"
All versions of the firmware support standard FTP. Go to USB application > Servers Center > FTP Share.Or even better, is it possible to have FTP running on RMerlins FW?
Status: Connecting to 192.168.1.1:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,1,41,12)
Command: LIST
Response: 150 Here comes the directory listing.
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Response: 226 Directory send OK.
Error: Failed to retrieve directory listing
Use FlashFXP client instead.
You can choose other client to test it, did it work?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!