Blocking IP address with port forwarding

Posted by Jeff Storey on Server Fault See other posts from Server Fault or by Jeff Storey
Published on 2012-10-07T18:49:26Z Indexed on 2012/10/07 21:40 UTC
Read the original article Hit count: 212

Filed under:
|
|

I have a website setup behind a router, so the router has the external facing address and it will forward requests to the webserver inside the network. If there are X number of invalid login attempts, that IP address will be blocked from logging in. The problem is that because the site is being accessed through port forwarding, all requests show up as though they are coming from the router address, and thus the router address becomes the blocked IP.

I'm not sure if this is a limitation of the router (linksys wrt160n) or if this a more general issue. Is there a way to handle this?

© Server Fault or respective owner

Related posts about router

Related posts about ip-address