hello,
i found on this forum that it's possible to block access to the ftp server from wan, with firewall rules.
https://www.snbforums.com/threads/how-to-block-ftp-access-from-wan-on-rt-n66u.15250/
iptables -I INPUT -p tcp --destination-port 21 -j DROP
iptables -I INPUT -p tcp --destination-port 21 --source `nvram get lan_ipaddr`/`nvram get lan_netmask` -j ACCEPT
it's work good, but after a reboot it's neccessary to do it again
is there a way, on official firmware, to make this rules permanent ?
Or is there another way to proceed ?
final question : is it very bad this access from wan ?
ps : i know that's a recurrent question
i found on this forum that it's possible to block access to the ftp server from wan, with firewall rules.
https://www.snbforums.com/threads/how-to-block-ftp-access-from-wan-on-rt-n66u.15250/
iptables -I INPUT -p tcp --destination-port 21 -j DROP
iptables -I INPUT -p tcp --destination-port 21 --source `nvram get lan_ipaddr`/`nvram get lan_netmask` -j ACCEPT
it's work good, but after a reboot it's neccessary to do it again
is there a way, on official firmware, to make this rules permanent ?
Or is there another way to proceed ?
final question : is it very bad this access from wan ?
ps : i know that's a recurrent question
