Jump to content
  • 0

rAthena supports multiple interface listening ?


Question

Posted

Hello, I've a dedicated server running rAthena. My server have 5 different IPs (and interfaces, eth0 ... eth4) and I'm trying to support connections from all these IPs (listening all IPs), because sometimes a player have a better connection from eth0 than eth4 (I know, it's weird, but I'm pretty sure about this).

 

So, is possible to listen all interfaces ?

 

login_athena.conf:

// The login server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
 
// Login Server Port
login_port: 6900 

 

char_athena.conf:

 

 

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1

// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Login Server Port
login_port: 6900

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: wan ip eth0

// Character Server Port
char_port: 6121 

 

map_athena.conf:

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1

// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Character Server Port
char_port: 6121

// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: my wan ip eth0

// Map Server Port
map_port: 5121

 

7 answers to this question

Recommended Posts

Posted

Hi rafoka,

 

Maybe try using 0.0.0.0 as the IP? To be honest, I'm not sure if listening to multiple interfaces is even possible; but 0.0.0.0 *should* allow it to listen to all IP's/interfaces.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...