Quote:
client 192.168.1.1 denied by server configuration. This is my router. If I add Reguire IP 192.168.1.1 It works but curious why this and not my public ip?
Is that the right approach and it will deny any other IP that tries to access?
|
It looks like your router is not just forwarding port 80 to your webserver, but it's acting like a reverse proxy to it.
I guess you should look at the router configuration to see why it's behaving like this.
Anyway, allowing access to the wp-login page, just to your IP it's a good security measure.
You can use also other tools, like
fail2ban to stop brute force attacks to wp-login