Forum archive
How to secure RedMine??
How can I prevent my TurnKey instance being hacked? What measures should I take?
I have received an email from AWS telling me that my instance has been used for DoS attacks, and currenly my bill with AWS is 400% over normal - and we're only 1/2 way through the month.
As an emergency measure I have cancelled my AWS account - to prevent more costs - but it has now been re-instated.
It looks like my TurnKey instance has stopped too, I assume because I closed my AWS account. Am I right in thinking that if I get another access key from AWS I can re-instate the TurnKey instance on the Amazon Cloud?
I host RedMine and one other database on my TurnKey virtual machine.
- In order for my users to access Redmine, I need (I believe) to have HTTP and HTTPS ports open to any IP address.
- In order that I can access my MySQL databases from anywhere I need port 3306 open to any IP address..
- And I also ping my instance, so I believe I need to allow access from any IP address using the ICMP protocol.
Many thanks in advance.
Have a look at this post as essentially my answer would be the same.
The difference here though is that you took immediate action. IMO that makes the chances of Amazon giving you a refund pretty good.
As for other security measures; if you don't use Webmin or Webshell then disable them (ports 12320 & 12321). If you do use them then you could limit access to an IP (if you have a static IP where you connect from; or an IP range if you don't). Again with MySQL, depending on who/what needs access; you may be able to limit that to a particular IP (or IP range) too. However I doubt very much that these would have been the attack vector; my guess is a guessable password...