So I have set up my server for the past couple days, I can connect using 127.0.0.1 on the same computer as the server but I want to be able to connect over LAN and WAN. If i try to connect over LAN i get "Failed to connect to server right after i select the server.
Im pretty sure my config's are fine and everything. But here they are.
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:
// 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: 205.250.XXX.XXX
// 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: 205.250.XXX.XXX
// Map Server Port
map_port: 5121
subnet_athena.conf
// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet
subnet: 255.255.255.0:205.250.XXX.XXX:205.250.XXX.XXX
clientinfo.xml
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
<connection>
<display>RageQuitRO</display>
<balloon></balloon>
<desc>description</desc>
<address>192.168.1.72</address>
<port>6900</port>
<version>31</version>
<langtype>1</langtype>
<registrationweb></registrationweb>
<aid>
<admin>2000000</admin>
<admin>2000001</admin>
<admin>2000002</admin>
</aid>
<loading>
<image>loadingscreen01.jpg</image>
</loading>
</connection>
</clientinfo>
I cant even connect over WAN yet but ill tackle that problem when i get LAN to connect.
I am using this hexed client 2012-06-05aRagexeRE.exe.patched (which does connect if its on the same computer and i use the loopback IP in all the conf and the client info).
mmo.h snippet
#ifndef PACKETVER
#define PACKETVER 20120605
//#define PACKETVER 20111116
#endif
ipconfig (Server)
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::e9c7:e2c1:c66f:XXXXXX
IPv4 Address. . . . . . . . . . . : 192.168.1.72
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
Heres what the server says when i try to connect over LAN:
[status]: Memory manager initialised: log/login-server_sql.exe.leaks
rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
http://rathena.org/board/
[info]: SVN Revision: '17095'.
[info]: Server supports up to '4096' concurrent connections.
[info]: Finished reading conf/import/inter_conf.txt.
[info]: Finished reading conf/inter_athena.conf.
[info]: Finished reading conf/import/login_conf.txt.
[info]: Finished reading conf/login_athena.conf.
[status]: The login-server is ready (Server is listening on the port 6900).
[info]: Connection request of the char-server 'RageQuitRO' @ 205.250.XXX.XXX:6121 (
account: 'ragnarok', pass: 'XXXXXXXXXX', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: ragnarok, id: 1, ip: 127.0.0.1)
[status]: Connection of the char-server 'RageQuitRO' accepted.
[status]: Request for connection of Test (ip: 192.168.1.68).
[Notice]: Authentication accepted (account: Test, id: 25000001, ip: 192.168.1.68
)
[status]: Connection of the account 'Test' accepted.
[info]: Closed connection from '192.168.1.68'.
then my client gets "Failed to connect to server" Shortly after.
Any assistance would be much obliged.