You have commented out the ports:
GatePortLogin=5690
GatePortLobby=5692
This means that your MainServer cannot communicate with the LoginServer and the LobbyServer.
GatePortLogin = LoginServer = LoginServerConf.ini -> [MAINSERVER]
GatePortLobby = LobbyServer = LobbyServerConf.ini -> [MAIN SERVER]
The entry with the "GateIP" that you have in your "MainServerConf.ini" is not required.
In addition, the entry would also be incorrect: GateIP=="123.4.5.6"
Correct would be: GateIP="123.4.5.6"
But as I said, the GateIP is not required there.
The IP is specified elsewhere.
Now a comment on your "VM"
If you have installed the VM locally on your home PC, you will have problems if you want to make your server "public". (Friends can connect to the server from outside)
For this you need a "static IP address" (an address that does not change).
For a normal person with normal Internet and router, the IP changes automatically every day. (Normal Internet contracts/routers only have a "dynamic IP address")
You can get a "static IP address" if you have a company, then you can order a "static IP address" for your company.
I would also recommend that you convert the server out of the VM so that you no longer need a VM. (it is also stupid to use a virtual PC on a PC)
Once you have converted the server out of the VM, you can use the server on any operating system and no longer have any connect problems.
I also noticed that your IP in the configs starts with "192.168.x.x". This indicates that it is your local PC IPv4 address. (Ethernet-Adapter)
But the server needs the IPv4 address of your router.
You can get it here:
You must be registered to see links
I just remembered that if you have taken the server out of the VM, you can then use "hamachi".
That would be a free option.
Another would be to rent a cheap vRoot. These always have a "static IP address"