When i connect locally with 127.0.0.1 in my clientinfo.xml it works just fine. The problem i am experiencing is with connections from the outside when i have my WAN IP in the clientinfo.xml. When a player logs in from the outside it will go up to the server select. Once the server has been selected i get a message `waiting` and after several seconds `failed to connect to server`. I have made firewall exceptions for mapserver_sql, charserver_sql and loginserver_sql. I have added port forwards for both UDP and TCP on all 3 ports. Here are my files:
src: port forwarding router
src: map_athena.conf
//--------------------------------------------------------------
//rAthena Map-Server Configuration File
//--------------------------------------------------------------
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
//--------------------------------------------------------------
// Configuration Info
//--------------------------------------------------------------
// Interserver communication passwords, set in account.txt (or equiv.)
userid: dummy
passwd: password
// 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: 86.80.120.130
// Map Server Port
map_port: 5121
src: char_athena.conf
// Athena Character configuration file.
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// Server Communication username and password.
userid: dummy
passwd: password
// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in
// Windows filenames \/:*?"<>|
// ... or else guild emblems won't work client-side!
server_name: rAthena
// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server
// 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: 86.80.120.130
// Character Server Port
char_port: 6121
src: subnet_athena.conf
// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet
//Standard
subnet: 255.0.0.0:127.0.0.1:127.0.0.1
//LAN
subnet: 255.255.255.0:192.168.2.254:192.168.2.254
//WAN
subnet: 255.255.255.0:86.80.120.130:86.80.120.130
Question
Lunchbox
When i connect locally with 127.0.0.1 in my clientinfo.xml it works just fine.
The problem i am experiencing is with connections from the outside when i have my WAN IP in the clientinfo.xml.
When a player logs in from the outside it will go up to the server select.
Once the server has been selected i get a message `waiting` and after several seconds `failed to connect to server`.
I have made firewall exceptions for mapserver_sql, charserver_sql and loginserver_sql.
I have added port forwards for both UDP and TCP on all 3 ports.
Here are my files:
src: port forwarding router
src: map_athena.conf
src: char_athena.conf
src: subnet_athena.conf
src: packet_db.txt
src: mmo.h
src: clientinfo.xml
Will add in more details (need to upload screenshots etc).
Edited by style_ro_infoNote~ I am using a .grf file instead of a data folder, i also have `read data folder` disabled when i diffed it.
Link to comment
Share on other sites
2 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.