This guide will be very short! There is about 3 steps.
Step 1. The Bind IPs!
Navigate to both of your .conf files, then open them. Find "BindIP" and change the 0.0.0.0 to your hamachi IP (EX: My hamachi IP is 5.129.84.180, so i'd set it up like this:
Bind IP: 5.129.84.180) Do the same with BOTH of the configs!
Step 2, into the database! Open your Database editor (EX: Heidisql, even though I preffer Navicat for small changes). Make sure MySQL is running, then open the Auth table (or Realmd on MaNGOS) Now open Realmlist. Open it so you see the following: Realm name: realm IP: Realm port and a bunch of other stuff. Change the Realm IP to your hamachi IP and then save it.
Step 3. Set realmlist! Make sure that you put "Set realmlist *hamachi ip" without the quotes. Then, viola! Your hamachi server is available to anyone in your hamachi network! Easy as that!
Have an issue with launching it or getting friends on? No problem! Copy + Paste your problem and put it into the box down below and I will help you out!
I do offer teamviewer for this but am not responsible for any damage that may happen!
Thanks for reading,
-Turtleswin