Quote:
Originally Posted by naruto820
Well you see for you to connect to your own server from same computer you just need lan ip or localhost ip which is 127.0.0.1 but when you want your friends to join you need to use the Wan ip which connects to your server ofc. To check your wan ip go to whatismyip.com and check your ip.
So now if you are using NAT in vmware you should share the same ip with your main computer and your vitrual computer/vmware. (I'm no vmware pro so I could be wrong, but I'm pretty sure NAT is sharing same ip. You could check ip from both to make sure. So go to whatismyip.com from both your vmware and your actual pc and check if ips are same). if they are same you use ur WAN ip and change clients ip to that so ppl can connect to your server.
I've already posted this in your old thread that if you have Dynamic ip your wan ip will keep changing after short period of times(can vary from 1 day to couple weeks) and everytime it changes you gotta update client. So your best bet is to ask your internet provider for static WAN IP.
Also instead of vmware I always suggest ppl to dualboot windows xp with your parent OS. Makes it a lot faster and you don't need to worry about ips
|
you are sooo wrong
nat - host pc runs a DHCP service and gives the VM a local ip-address!
bridged - uses a virtual network card to connect directly straight to your "router" at home.
with bridged network your vm will get the same ip-range as your host computer has.
as i said before: use bridged network, let your router give an ip-address to your vm, then put that ip-address STATIC!! means manual ip-input. just input the stuff you got from the router.
then foward the loginserver and gameserver ports to the ip of your vm.
fowardning on the router as you shouldl know. then you're ready to go. just visit whatismyip.com and use that ip-address for the client.
after 24h if you visit whatismyip.com again, you'll notice that your ip-address has changed. this means, that you need to edit the client every 24h cuz your ip changes all the time.
PS: it is NOT possible to communicate between physical LAN adresses and virtual NAT addresses cuz they are in a different subnet.
with NAT you're only able to communicate with the host machine.(if you don't configure some more stuff)
Please note:
to avoid ip-dizzyness:
the ip-range of 192.168.XXX.XXX is designated to INTERNAL COMPUTER COMMUNICATION!
the 192.168.xxx.xxx addresses exist in EVERY private network at home.
you got only 1 connection to the net. this means all of your 192.168 machines at home have 1 external ip-address (the one that whatismyip.com shows you).
friends of you will NOT be able to connect to a 192.168.xxx.xxx pc from you! cuz it's not an internet adress, but more a local network address. give them the external ones.
port fowarding: since you have only 1 internet connection, and several computers at home (even if you just got one!), you'll have to tell the router where he should send the data request to.because there are more then 1 computers in the network.and the router doesnt know which one offers the dekaron server services.
you've gotta tell the router:
"hey mofo! if there's any paket incoming through port 7880 or 50005 (forgot the ports, but i think those are the right ones), then send it straight to the machine with the ip of 192.168.xxx.xxx (ip-address of the bridged VM)!