Sorry you experienced this!
I'm new on the moodle owner side. Could you please give me some details on the different steps you took to secure moodle?
How do you allow only 1 port? Where do you configure it? (on the DB, on the server, in moodle?
Thanks for your help!