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
Question
rafoka
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:
char_athena.conf:
map_athena.conf:
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.