What's new

How to block FTP access from WAN on RT-N66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

cool, try this;

iptables -A INPUT -i ppp0 -p tcp --dport 21 -j DROP
 
I've a RT-N66U with 3.0.0.4.374.35_4 FW. I'd like to use FTP only on intranet and should be not accessible from WAN. How can I do that? By default FTP is accessible from WAN (port 21 is open on WAN).

For example on rt-n56u ther is a switch that turns access to FTP server from WAN on/off... Not found in RT-N66U.

Thank you.

Marco B.
the simplest solution i found is to create a rule in wan -> virtual server and redirect port 21 FTP is using to a black hole; i used the router ip with port 2121 for example
 
the simplest solution i found is to create a rule in wan -> virtual server and redirect port 21 FTP is using to a black hole; i used the router ip with port 2121 for example
This thread is over 3 years old. :rolleyes: There's been a menu option to disable WAN FTP access since April 2014.
 
Last edited:
not entirely true, on AC66U_B1 the optios is not there ..so my fix might help others
Well its there. "Enable WAN access" Have you upgraded from older sw without factory reset? That might be your problem.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top