Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
XSNomad opened this issue Aug 27, 2022 · 2 comments
Open

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

XSNomad opened this issue Aug 27, 2022 · 2 comments

Comments

@XSNomad
Copy link
Contributor

XSNomad commented Aug 27, 2022

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

  • azerothcore.mydomain.com -> 55.555.555.55 (Public IP were hosted)

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

  • azerothcore.mydomain.com -> 192.168.X.X (Private IP were hosted)

Realm DB

  • update realmlist set address = 'azerothcore.mydomain.com' where id=1;

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
Copy link
Contributor

pangolp commented Aug 30, 2022

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
Copy link
Member

Kitzunu commented Nov 11, 2022

Make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants