Thank you everyone for the input. I will look into the link in blocking tor access on apache and if anyone has a good reference for understanding perl (a beginners guide) I would love to hear some recommendations about getting a grasp on the language.
Thanks again for all of the input, I really appreciate it all.
If someone can show me how to take that script and have it add to iptables just so I have another solution I would be extremely grateful.