Make sure you have Hamachi installed.
Download and install
ForceBindIPCheck your hamachi IP, for reference, here is where you can find it:
Create a shortcut to Starcraft (Or modify if you already have one) on the desktop.
Right click it, select properties and then the Shortcut tab. You will be presented with the following:
Copy and paste the following where shown in the picture above, making sure to change the green text with your own Hamachi IP and Starcraft Directory:
Target: C:\Windows\System32\ForceBindIP.exe
5.66.151.160 "
C:\Program Files\Starcraft\StarCraft.exe"
Start In: "
C:\Program Files\Starcraft\StarCraft.exe"
If you followed these steps correctly, you should be able to play Starcraft LAN over Hamachi!