First, I'm totally new at this, so hopefully this is a simple solution for the pros here.
My FTP port shows open on port scans, everything else is closed. I have everything FTP turned off in Merlin.
I tried adding to the iptables in the /jffs/scripts/firewall-start:
iptables -A INPUT -p tcp --dport 20 -j DROP
iptables -A INPUT -p tcp --dport 21 -j DROP
iptables -L showed it did load on reboot and was in the INPUT chain, but that didn't work.
Success: I can see your service on XXX.XXX.12.7 on port (21)
Your ISP is not blocking port 21
How should I go about doing this?
My FTP port shows open on port scans, everything else is closed. I have everything FTP turned off in Merlin.
I tried adding to the iptables in the /jffs/scripts/firewall-start:
iptables -A INPUT -p tcp --dport 20 -j DROP
iptables -A INPUT -p tcp --dport 21 -j DROP
iptables -L showed it did load on reboot and was in the INPUT chain, but that didn't work.
Open Port Check Tool -- Verify Port Forwarding on Your Router
A free open port check tool used to detect open ports on your connection. Test if port forwarding is correctly setup or if your port is being blocked by your firewall or ISP.
canyouseeme.org
Your ISP is not blocking port 21
How should I go about doing this?