I've finally been able to connect to my own game through Gameranger from my laptop to my desktop pc! (Hurray!) What I had to do (which I though I had already tested, but must have done incorrectly somehow) was to port forward UDP port 16000, as Gameranger suggests when it complained about me being behind a firewall (I said "Port-Restricted Cone NAT Router"). As I said, I tried that before with no luck and some time after that I think I enabled DMZ on my router, which I thought would let me get away with not forwarding any ports (it worked fine with other games when I enabled DMZ). But I might have misunderstood what that actually does since it seems I still need to port forward for Gameranger.
To summarize exactly what I have done: I installed HoMM3 from GoG Galaxy (It seems to have been some update that combined the universal update or something, because I could'nt find it anymore anyway).
I enabled DirectPlay manually, no window popped up telling me I needed it (even though I don't think I needed to do this since I was still able to host a game through TCP/IP, which would be impossible without DirectPlay as you can't even enter the menu if you don't have it, more about his below).
I port forwarded the UDP port 16000 as suggested by Gameranger.
Anyway, I thought that I should share all the other tips that I found (and have tested) that has worked for other people. I will list this with a brief description below:
1. Installing DirectPlay, this is something some older games use and it can be installed by going to "Turn Windows features on or off" in the control panel, expand "Legacy Components" and tick DirectPlay, then jsut click Ok and it should install. (Comment about this: When I launched HoMM3 on my laptop a window popped up telling me I should install DirectPlay, while it never did on my desktop pc and seemed to work fine anyway. My desktop pc runs Windows 10 Home 64bit and my laptop runs Windows 10 Home 32bit. Some more comments about DirectPlay in the next point below)
2. Removing the DPWSOCKX.DLL file, to me it sounds like the poeple from the source find the file in the HoMM3 installation folder somewhere, but I might be misunderstanding that. Anyway I found it only on my laptop in the system32 folder. Now removing files in system32 can be dangerous, and you might need to change some access rights to be able to remove it (I won't be describing how to do that here, partly because of the possible danger in doing so and also because it's quite easy to google, just google something like, "how to i remove something from system32") From what I can find the DPWSOCKX.DLL file comes from DirectPlay and handles the TCP/IP part of the game it seems, because when I removed it from my laptop I was unable to click the TCP/IP button after, I got some error message that TCP/IP was unavailable or something like that. But as I said, I could not find this file on my desktop and entering TCP/IP in the menu works fine there.
Source:
http://heroescommunity.com/viewthread.php3?TID=12141&pagenumber=36 3.Disabling UPnP on your router , I tried it but it didn't change anything for me, so I enabled it again.
Source:
https://www.gog.com/forum/heroes_of_might_and_magic_series/homm3_and_tcp_ip_lan_problems Now I haven't extensively tested my solution, but I will try to get a friend to test a few turns with me tomorrow (as I've heard that some have crashes after some turns), I also haven't tested the HD mod, but I honestly don't see any reason for it to not work, I will probably use it when we finally decide to play if everything seems to to be working fine.
I hope this summation will help someone find a solution to their problems.
Good luck!
Regards,
Kurappu