F freeballt Active Member Apr 18, 2012 #1 Apr 18, 2012 #1 Is there a way of adding an IP ban through SSH? I don't want to have to login every time to do so.
W webizen Well-Known Member Apr 18, 2012 #2 Apr 18, 2012 #2 you can manually add a banned IP to /usr/local/lsws/conf/httpd_config.xml <security> ... <accessControl> <allow>ALL</allow> <deny>BANNED_IP1, BANNED_IP2</deny> </accessControl> </security> Click to expand...
you can manually add a banned IP to /usr/local/lsws/conf/httpd_config.xml <security> ... <accessControl> <allow>ALL</allow> <deny>BANNED_IP1, BANNED_IP2</deny> </accessControl> </security> Click to expand...
F freeballt Active Member Apr 18, 2012 #3 Apr 18, 2012 #3 I think it will be difficult for a SSH script.