Configuring Trinity to allow logins from LAN and WAN at the same time

Hi all,

I am wondering whether it is possible to configure trinitycore to allow for logins from a LAN as well as from an internet client outside of the local network (so via internet). This basically requires two different settings in the realmlist DB for the respective realm. The address field needs to be either the public IP adress / hostname, or the LAN IP.

But can I somehow setup both in parallel?

Best

Hannibal

Hi all again,

it appears I did something wrong during setup. I still don’t know what it actually was, but setting up the address field in the realmlist database table for the realm to the external IP address (or the hostname rather) did work now. I can access the server from that hostname when I am outside of my LAN and I can also access the server using its local LAN’s IP address from within that LAN properly.

I can confirm one entry in the realmlist db table is enough for that. The field “localAddress” is set to 127.0.0.1.

Sorry for the senseless post.

Hannibal

Hi @Hannibal_Smith, how did you solve this?

I am having the same issue.

I can successfully connect to the server while using a VPN (and outside my LAN) but not internally after I made the server public.

Here’s what I did:

  1. I pointed a subdomain to my Public IP.
  2. I configured that as the ‘address’ in the database for the realm.
  3. I configured the Private IP as the ‘localAddress’ in the database for the realm.
  4. I pointed my client to the subdomain.

Here’s what happens:

If I am outside or using the VPN everything works.
If I remove the VPN, I can get to the login screen but I can’t log into the account.

I want to be able to connect both ways but I am not sure what I need to do to be able to connect internally (LAN).

Thanks in advance.