#Access external server from LAN

20 messages ยท Page 1 of 1 (latest)

feral steeple
#

So I set my server up for external ips (friends and myself), and it is running smoothly as silk; I can access the server whenever I use external wifi (including hotspot).
I've changed both my accessAddresses to 'xxx.myserver.com' and so are the binding ports.
Is there a way for me to access the server under the same wifi as the host, i.e. connect via 192.168.xxx.xxx?

cosmic ether
#

If you connect to the address the server is on, sure you should be able to.

#

You could try with the local network address for the host, but likely you will still need to use the access address, even though you are within the same network

feral steeple
#

If I change the accessaddress back to 192.128.x.x, I can then get into the server via LAN but not from the external ip.

#

is there a way to allow more than one accessaddress, i.e. you have both the external and internal.

cosmic ether
#

You can try to bind to your local ipv4 instead of 0.0.0.0, but it's been a long time since I messed around with access/binds and can't really remember how gc is handling it

feral steeple
#

cool, let me try that and get back to ya, thanks.

#

no luck ๐Ÿ˜›

feral steeple
cosmic ether
#

you changed both, right?

feral steeple
#

yes

cosmic ether
#

since you're clearly reaching the server with no issue, just not being properly handled between dispatch and gameserver

feral steeple
#

is there a workaround?

cosmic ether
#

Might be, but this isn't something that falls under what I usually do, so I wouldn't have the best info about what you should do for public facing address handling type stuff

feral steeple
#

Thanks a lot! I will do some research on this then.

cosmic ether
#

No problem

feral steeple
#

Solution:
On Windows, you can simply change the C:\Windows\System32\drivers\etc\hosts file to reroute the external IP address(e.g. tdsine.server.com) to an internal address (e.g. 192.168.1.2). This somehow tricks the server and allows you to play both externally and internally (tested) ๐Ÿ™‚

#

Nahida (external, connected from Hotspot), and traveller (connected internally).