mod_security: How to allow ssh/http access for admin?

Posted by mattesque on Server Fault See other posts from Server Fault or by mattesque
Published on 2012-04-04T23:05:51Z Indexed on 2012/04/04 23:31 UTC
Read the original article Hit count: 114

I am going to be installing mod_security on my AWS EC2 Linux instance tonight and need a little help/reassurance. The only thing I am truly worried about right now is making sure my (admin) access to the instance and webserver is maintained w/o compromising security. I use ssh (port 22) and http (80) to access this and I've read horror stories from other EC2 users claiming they were locked out of their sites once they put up a firewall.

So my question boils down to:

What settings should I put in the mod_security conf file to make sure I can get in on those ports? IP at home is not static. (Hence the issue)

Thanks so, so, so much.

© Server Fault or respective owner

Related posts about apache2

Related posts about amazon-ec2