Jump to content
  • 0

help Maybe a portforwarding issue?


Bean

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  12/31/11
  • Last Seen:  

Hello rAthena, I've been working on this problem for 3 days now before deciding to post here.

 

My problem is that, I can't seem to connect to my private server. I will provide the details below, please help.

 

My network setup is composed of:

 

- a router/modem

- a wireless router

- my PC

 

2Dyctkr.png

 

So what I did was,

 

I forwarded the ports 6900, 6121, 5121 and 3306 from Aztech to D-Link's STATIC IP address. (BOTH UDP and TCP)

 

O3LHXaR.png

 

and I read in some posts that I must activate UPNP, so I did.

 

after that, I forwarded the ports from D-Link to My PC's STATIC IP (BOTH UDP AND TCP).

which I also activated UPNP.

 

b0JfF9A.png

 

Here's my:

 

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: 192.168.0.106
 
// 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: 120.*.*.138
 
// 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: 192.168.0.106
 
// 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: 120.*.*.138
 
// Map Server Port
map_port: 5121

 

SUBNET_ATHENA.CONF

 

//subnet: 255.255.255.0:192.168.0.106:192.168.0.106
subnet: 255.255.255.0:120.*.*.138:120.*.*.138
 
CLIENTINFO.XML
 
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
   <connection>
      <display>RO</display>
      <balloon>1x/1x/1x</balloon>
      <desc>Enjoy Playing!</desc>
      <address>192.168.0.106</address>
      <port>6900</port>
      <version>30</version>
      <langtype>1</langtype>
      <registrationweb>flux.domain.com</registrationweb>
        <aid>
            <admin>2000000</admin>
<admin>2000001</admin>
<admin>2000002</admin>
        </aid>
        <loading>
            <image>loadingscreen01.jpg</image>
        </loading>
   </connection>
</clientinfo>
 
PACKET_DB.TXT
 
//packet_db_ver: 46
packet_db_ver: 30
 
MMO.H
 
#ifndef PACKETVER
//#define PACKETVER 20130807
#define PACKETVER 20120410
#endif
 
 

Screenshot of Server Console

 

DBKeg8U.png

 

Only gets through Server Selection, Cannot reach Character Selection.

 

I'm using 2012-04-10 provided by Judas' post on Recommended Client Setups

 

Please Help rAthena

Edited by Bean
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

1. Make sure you get the client from rAthena's GIT, not SVN even though the guide you followed says you need to get it from SVN. (get from GIT, the rest are the same).

2. If you would like to, you can configure AZTECH to put your DLINK on DMZ (100% open to public). remember to chage the default login passwords (admin/admin)

3. you can stop forwarding port 3306 if you're running the SQL, RO server, and CP on the same machine.

4. this should do the magic:

char_athena.conf:

login_ip: 127.0.0.1

char_ip: your.wan.IP.address (not sth.*.*.sth)

 

map_athena.conf:

char_ip: 127.0.0.1

map_ip: your.wan.IP.address (not sth.*.*.sth)

 

5. revert subnet_athena.conf (many problems comes from here. just reset it.)

default: subnet: 255.0.0.0:127.0.0.1:127.0.0.1

 

kindly reply this here and PM me. I don't think I can stick around here so often

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...