Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is there a "recommended" way of hosting AC behind a firewall doing NAT? I was able to port forward e

[DiscordArchive] Is there a "recommended" way of hosting AC behind a firewall doing NAT? I was able to port forward e

[DiscordArchive] Is there a "recommended" way of hosting AC behind a firewall doing NAT? I was able to port forward e

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-02-2023, 12:37 AM
#1
Archived author: KJack • Posted: 2023-05-02T00:37:51.343000+00:00
Original source

Is there a "recommended" way of hosting AC behind a firewall doing NAT? I was able to port forward everything fine, but the auth server isn't giving the DNS name I set in the realm's "address", it's resolving it locally and passing the local IP to Internet clients. Is what I'm trying to do possible?
rektbyfaith
05-02-2023, 12:37 AM #1

Archived author: KJack • Posted: 2023-05-02T00:37:51.343000+00:00
Original source

Is there a "recommended" way of hosting AC behind a firewall doing NAT? I was able to port forward everything fine, but the auth server isn't giving the DNS name I set in the realm's "address", it's resolving it locally and passing the local IP to Internet clients. Is what I'm trying to do possible?

rektbyfaith
Administrator
0
05-02-2023, 12:38 AM
#2
Archived author: KJack • Posted: 2023-05-02T00:38:36.891000+00:00
Original source

If I setup a "Realm (External)" that points to the public IP, the auth server thinks the realm is down and won't let anyone login to it.
rektbyfaith
05-02-2023, 12:38 AM #2

Archived author: KJack • Posted: 2023-05-02T00:38:36.891000+00:00
Original source

If I setup a "Realm (External)" that points to the public IP, the auth server thinks the realm is down and won't let anyone login to it.

rektbyfaith
Administrator
0
05-02-2023, 12:39 AM
#3
Archived author: KJack • Posted: 2023-05-02T00:39:55.743000+00:00
Original source

at least, i'm pretty sure that's what's happening.
rektbyfaith
05-02-2023, 12:39 AM #3

Archived author: KJack • Posted: 2023-05-02T00:39:55.743000+00:00
Original source

at least, i'm pretty sure that's what's happening.

rektbyfaith
Administrator
0
05-02-2023, 12:56 AM
#4
Archived author: KJack • Posted: 2023-05-02T00:56:15.454000+00:00
Original source

yep, definitely. realm is setup with a DNS name that resolves to the internal IP inside the network, and to the external IP outside the network.
[Image: image.png?ex=690bf22f&is=690aa0af&hm=cae...0d0335125&]
rektbyfaith
05-02-2023, 12:56 AM #4

Archived author: KJack • Posted: 2023-05-02T00:56:15.454000+00:00
Original source

yep, definitely. realm is setup with a DNS name that resolves to the internal IP inside the network, and to the external IP outside the network.
[Image: image.png?ex=690bf22f&is=690aa0af&hm=cae...0d0335125&]

rektbyfaith
Administrator
0
05-02-2023, 12:56 AM
#5
Archived author: KJack • Posted: 2023-05-02T00:56:36.755000+00:00
Original source

realm list from my auth server contains the private IP, not the DNS name
[Image: image.png?ex=690bf244&is=690aa0c4&hm=641...9292d913e&]
rektbyfaith
05-02-2023, 12:56 AM #5

Archived author: KJack • Posted: 2023-05-02T00:56:36.755000+00:00
Original source

realm list from my auth server contains the private IP, not the DNS name
[Image: image.png?ex=690bf244&is=690aa0c4&hm=641...9292d913e&]

rektbyfaith
Administrator
0
05-02-2023, 12:56 AM
#6
Archived author: KJack • Posted: 2023-05-02T00:56:48.428000+00:00
Original source

let me know if there's a better forum to ask in. thank you.
rektbyfaith
05-02-2023, 12:56 AM #6

Archived author: KJack • Posted: 2023-05-02T00:56:48.428000+00:00
Original source

let me know if there's a better forum to ask in. thank you.

rektbyfaith
Administrator
0
05-02-2023, 01:16 AM
#7
Archived author: KJack • Posted: 2023-05-02T01:16:44.153000+00:00
Original source

Figured it out! For posterity:

For starters, you can't have multiple realms in the realmlist that point to the same world server, since the server knows what realm ID it is.

`WorldSocket::HandleAuthSession: Client 10.0.X.X requested connecting with realm id 5 but this realm has id 1 set in config.`

The key was the difference between the `address` and `localAddress` fields. `localAddress` and `localSubnetMask` define the local LAN you're on. Any requests coming from that same LAN get the `localAddress` in their realm list response. `address` should be set to your public IP and is provided to anyone is outside the local subnet.

Thanks to whoever set it up to work like that, works a charm.
rektbyfaith
05-02-2023, 01:16 AM #7

Archived author: KJack • Posted: 2023-05-02T01:16:44.153000+00:00
Original source

Figured it out! For posterity:

For starters, you can't have multiple realms in the realmlist that point to the same world server, since the server knows what realm ID it is.

`WorldSocket::HandleAuthSession: Client 10.0.X.X requested connecting with realm id 5 but this realm has id 1 set in config.`

The key was the difference between the `address` and `localAddress` fields. `localAddress` and `localSubnetMask` define the local LAN you're on. Any requests coming from that same LAN get the `localAddress` in their realm list response. `address` should be set to your public IP and is provided to anyone is outside the local subnet.

Thanks to whoever set it up to work like that, works a charm.

rektbyfaith
Administrator
0
05-02-2023, 01:18 AM
#8
Archived author: Deleted User • Posted: 2023-05-02T01:18:36.257000+00:00
Original source

Let me know if this is the wrong place to stash this but I put together a fresh video guide on compiling an AzerothCore server in Linux land if it helps anyone.
rektbyfaith
05-02-2023, 01:18 AM #8

Archived author: Deleted User • Posted: 2023-05-02T01:18:36.257000+00:00
Original source

Let me know if this is the wrong place to stash this but I put together a fresh video guide on compiling an AzerothCore server in Linux land if it helps anyone.

rektbyfaith
Administrator
0
05-02-2023, 01:18 AM
#9
Archived author: Deleted User • Posted: 2023-05-02T01:18:37.274000+00:00
Original source

https://youtu.be/k4i4za1Scgg
[Embed: How to Compile Your Own Linux Based 3.3.5 WoW WotLK AzerothCore Server]
Today we are going to go over how to create your very own World of Warcraft Wrath of the Lich King server from start to finish using Debian Linux. This will be running patch version 3.3.5 and we’re going to be utilizing the AzerothCore project. This tutorial is strictly for educational purposes.

If you want to set up a Windows based WotLK 3.3.5...
https://www.youtube.com/watch?v=k4i4za1Scgg
rektbyfaith
05-02-2023, 01:18 AM #9

Archived author: Deleted User • Posted: 2023-05-02T01:18:37.274000+00:00
Original source

https://youtu.be/k4i4za1Scgg
[Embed: How to Compile Your Own Linux Based 3.3.5 WoW WotLK AzerothCore Server]
Today we are going to go over how to create your very own World of Warcraft Wrath of the Lich King server from start to finish using Debian Linux. This will be running patch version 3.3.5 and we’re going to be utilizing the AzerothCore project. This tutorial is strictly for educational purposes.

If you want to set up a Windows based WotLK 3.3.5...
https://www.youtube.com/watch?v=k4i4za1Scgg

rektbyfaith
Administrator
0
05-02-2023, 01:31 AM
#10
Archived author: Anchy • Posted: 2023-05-02T01:31:46.135000+00:00
Original source

that video is pretty clear and easy to understand, thanks for contributing
rektbyfaith
05-02-2023, 01:31 AM #10

Archived author: Anchy • Posted: 2023-05-02T01:31:46.135000+00:00
Original source

that video is pretty clear and easy to understand, thanks for contributing

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)