azerothcore / wiki

AzerothCore wiki based on Drassil Git-Wiki
http://www.azerothcore.org/wiki
MIT License
92 stars 569 forks source link

[Bug report]: Wiki Request for Local / Internet Access using URL. #794

Open XSNomad opened 2 years ago

XSNomad commented 2 years ago

Describe the bug

Not a bug but couldn't find a better place to put it.

Issue When running the Server on the same local subnet as the client and trying to host a public server there is a nat port issue when using an IP for the realmlist entry in the DB vs a URL.

Example: Public IP Router IP Private IP Local Client 1 -> Public IP:8085-> Nat Router IP:8085 -> Private IP:8085 Local Client 2 -> Public IP:8085 -> Nat Router IP:8085 -> Private IP:8085 (Client 2 Can't connect due to it being on the same port for the NAT)

Workaround: External DNS and Internal DNS resolution Requires a Domain or stub domain like azerothcore.mydomain.com External DNS points to Public IP

Internal DNS points to Private IP (Use the host file if you can't set local URL resolution)

Realm DB

To reproduce

Host a public server with a PNAT configuration Have an external client join try to have two internal clients join.

Expected behavior

None, this is a networking issue for internal and externally hosted servers which required a redirect to a separate resource.

Screenshots

No response

Desktop

Any / NA

Smartphone

N/A

Additional context

Not a bug, just a recommendation for a wiki update as a warning during install.

pangolp commented 2 years ago

If it is not a bug, next time you can use the Feature request template. Or if you need another template, because it does not match what you want to describe, you can create another template. Anyway, later, I will analyze what you are mentioning here, because now I am on my cell phone, and I can't read it well. Thank you.

Kitzunu commented 2 years ago

Make a PR

TheSCREWEDSoftware commented 5 days ago

@XSNomad still among us to tell me if this "issue" still exists? If yes and can you reproduce it could make a quick video demonstrating what the issue is.