I recently bought a new Netgear 3500L router and successfully installed dd-wrt on it. Something however I would like to set up is to have my router block inbound internet traffic from certain IP addresses.
I run an FTP server and have a huge log file of chinese, thai, korean, and even some american ip addresses that have attempted to hack into it. I have set the FTP server software up to reply with a "You are banned" message and drop the connection. I would prefer to move this function to the router and block them there so that all traffic from these addresses on any port won't even make it inside my network. I thought the way to accomplish this would be through Iptables but from what I've read that appears to be for blocking outbound traffic. How can I get the router to drop inbound traffic but not restrict outbound?
I run an FTP server and have a huge log file of chinese, thai, korean, and even some american ip addresses that have attempted to hack into it. I have set the FTP server software up to reply with a "You are banned" message and drop the connection. I would prefer to move this function to the router and block them there so that all traffic from these addresses on any port won't even make it inside my network. I thought the way to accomplish this would be through Iptables but from what I've read that appears to be for blocking outbound traffic. How can I get the router to drop inbound traffic but not restrict outbound?