3.3.5 system port forard issue

I’ve successfully set up a 3.3.5 server using TrinityCore, but I’m facing an issue related to reducing network latency and enhancing security. I have forwarded two server ports, 8085 and 3724, through frpc to another frps host, attempting to let clients connect to the server via the frps host. Port 3724 corresponds to the authserver, while 8085 corresponds to the worldserver.

During testing, I found that authentication through the authserver works fine, but I’m unable to successfully connect to the worldserver. I suspect there might be an issue with the configuration of the ‘realmlist’ table or something else. I’ve checked with tcpdump and observed that when the traffic is forwarded through frps to the actual worldserver process, both the source and destination IPs are 127.0.0.1.

I would appreciate any help from someone with similar experience.