Jump to content
  • 0

Closed connection, subnet issues


iwillnot

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

Hello. I'm an experienced eAthena developer who just recently came back to make an RO server.

 

 

Current situation

Have you inspected other closed connection threads? Have you used google? Yes, years ago I did and I got it to work. A few minutes ago I googled away but they didn't work.

 

Am I able to log in? Yes.

Am I able to select a server? Yes.

 

Am I able to view my characters? No.

Am I able to get into the map? No.

 

Problem

In my command line, I am encountering the warning of "Closed connection from <WAN IP>" which prevents me from seeing my characters and connecting to the game itself.

 
My configuration

I am running it on a virtual machine which I connect through using Putty through SSH.

I configured my map_athena and my char_athena to use WAN IPs. 

All bind_ips are commented out.

 

subnet_athena.conf

//subnet: 255.255.255.0:LAN:LAN
//subnet: 255.0.0.0:LAN:LAN
subnet: 255.255.255.0:WAN:WAN
//subnet: 255.0.0.0:WAN:WAN

Client 

Unrelated but here it is anyway. PACKET_VER in src/common/mmo.h is configured to follow this version.

2013-12-30aRagexe.exe Client by Themon 

Server version

I pulled a copy from the github repository.

https://github.com/rathena/rathena/commit/51f26d43d2b7ae8fc70807f681fc52016ba773e9

 

 

Here's the displayed error message.

 

pmoGgTw.png

 

 

In my previous server development, setting up the map/char server with my WAN IP and configuring the subnet as shown above fixes this problem.

 

I am able to log in and select my server but am unable to proceed with character selection.

 

Are my ports open? Yes. I opened my VM's ports, both TCP and UDP for 6900, 5121, and 6121.

 

AGWfd1Y.png

 

Thank you very much for your help!

Edited by iwillnot
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   2
  • Joined:  08/02/12
  • Last Seen:  

on your subnet 255.0.0.0:VPS IP:VPS IP

 

on your map, char , athena

login_ip: VPS IP

 

map_ip: VPS IP

 

char_ip: VPS IP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

I set my subnet_athena to my VPS' external WAN IP.

255.0.0.0:WAN:WAN

It's still says I have a closed connection. The reason why I have the other settings commented out was because I was trying different settings to make it work.

 

Thanks aero011!

Link to comment
Share on other sites

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.

×
×
  • Create New...