Jump to content
  • 0

[Zero] How to use dual-IP,Two IP connections to the same mangosd


iyweb

Question

Posted

My server has two IP, 192.168.0.1 and 192.168.1.1

How to make two IP can be connected with a mangosd.

If realmlst use a domain name, for example: www.abc.com then he may appear realmd192.168.0.1 be accessed mangosd192.168.1.1 Lane.

Thank you.

Sorry for my bad English.

7 answers to this question

Recommended Posts

Posted

Hi,

If you want to allow connection on any IP then set it to 0.0.0.0

Open realmd.conf and change like the example below:

BindIP = "192.168.0.1"

Open mangosd.conf and change like the example below:

BindIP = "192.168.1.1"

Open the database realmd and go to table realmlist and change like the example below:

Address: 127.0.0.1
to
Address: 192.168.1.1

Posted

I may be the expression is unclear.

My server has two public IP corresponding to two different gateways. For example:

A IP: 222.222.222.1 Gateway: 222.222.222.129

B IP: 111.111.111.1 Gateway: 111.111.111.129

I think if the player is connected to A IP, 222.222.222.1, then out through 222.222.222.129 gateway,

If it is connected to the B IP, 111.111.111.1, then out through 111.111.111.129 gateway.

If the database realmd table realmlist set Address: 222.222.222.1

So no matter A IP or B IP connection he would be A gateway out.

I thought of a way to use the domain name instead of

database realmd table realmlist

Address: 127.0.0.1 - Address: www.abc.com

Then A IP and B IP are resolved to www.abc.com

The question now is to use A IP connection may jump B gateway.

I want results are:

222.222.222.1:3724-222.222.222.1:8085

111.111.111.1:3724-111.111.111.1:8085

Instead of

222.222.222.1:3724-111.111.111.1:8085

Tell me how to do it, thank you.

Again sorry, my English is poor, can only use GOOGLE translation. Do not know if you can understand what I mean.

Posted

Realmlist whichever you choose, you can have only one IP, so you need to fill in the domain name, and then two IP all point to the domain name.

Posted

I was two IP all point to the domain name.

But he will appear 222.222.222.1:3724 -> 111.111.111.1:8085

Instead 222.222.222.1:3724 -> 222.222.222.1:8085

How can I do 222.222.222.1:3724 -> 222.222.222.1:8085

thanks

Posted

Port 8085 is mangosd. Exe, 3724 is the realmd. Exe port, the client needs to link port is 3724, need to log in to the port is 8085. Hope you understand

Posted

use the same A(host) For example: www

A(HOST) Points to

www 222.222.222.1

www 111.111.111.1

Now can connect, but will appear with 222.222.222.1 IP connectivity realmserver, will go to 111.111.111.1 in worldserver.

I need to use the realmserver which IP will use the same IP-wroldserver.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use