Jump to content
  • 0

How to let others connect to my server.


fictionworld

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

www.canyouseeme.org

Success: I can see your service on WANIP on port (6900)

Your ISP is not blocking port 6900

Success: I can see your service on WANIP on port (5121)

Your ISP is not blocking port 5121

Success: I can see your service on WANIP on port (6121)

Your ISP is not blocking port 6121

char-athena

// 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: LANIP[/color]
[color=#000000]// 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[/color]
[color=#000000]// Login Server Port
login_port: 6900[/color]
[color=#000000]// 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: WANIP[/color]
[color=#000000]// Character Server Port
char_port: 6121

map_athena

// 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: LAN[/color]
[color=#000000]// 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[/color]
[color=#000000]// Character Server Port
char_port: 6121[/color]
[color=#000000]// 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: WAN[/color]
[color=#000000]// Map Server Port
map_port: 5121

subnet_athena

subnet: 255.0.0.0:127.0.0.1:127.0.0.1
subnet: 255.255.255.0:LANIP:LANIP
subnet: 255.255.255.0:WANIP:WANIP[/color]
[color=#000000]
// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: LANIP
sql.db_port: 3306
sql.db_username: Mysql
sql.db_password: password
sql.db_database: ragnarok
sql.codepage:[/color]
[color=#000000]// MySQL Character SQL server
char_server_ip: LANIP
char_server_port: 3306
char_server_id: Mysql
char_server_pw: password
char_server_db: ragnarok[/color]
[color=#000000]// MySQL Map SQL Server
map_server_ip: LANIP
map_server_port: 3306
map_server_id: Mysql
map_server_pw: password
map_server_db: ragnarok[/color]
[color=#000000]// MySQL Log SQL Database
log_db_ip:  LANIP
log_db_port: 3306
log_db_id: Mysql
log_db_pw:password
log_db_db: ragnarok
log_codepage:

My objective is to let them connect to my pc for the 3 servers run in it. My database runs in it too.

I already gave them a copy of my client.info that is repacked inside my data.grf but to no success

What am I missing here? What additional files should I give them as a temporary application to let them play on my server.

If my methods are wrong, What is to be change?

I tried doing it on my own but I'm deadlock right now. There are so many guides that confuses me a lot. @_@

Note:

*the id, pw, and db are only substitute to my own accounts, its not that of a big importance if they are not the same on this post. XD

I am currently using rAthena 15289. The diff client, I forgot... D:

Thanks in advance :(

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Hi!

login_ip:

char_ip:

map_Ip:

must be the same. use WAN_IP

subnet: 255.255.255.0:WAN_IP:WAN_IP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

Hi!

login_ip:

char_ip:

map_Ip:

must be the same. use WAN_IP

subnet: 255.255.255.0:WAN_IP:WAN_IP

HI,

I see, but are you referring to all of the conf file, or its just only on the inter_athena file? How about the the other configurations I've made?

and Thank you for the quick response :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

read again the thing i've said

login_ip:

char_ip:

map_Ip:

char_athena.conf

map_athena.conf

inter_athena.conf ( optional )

subnet_athena.conf

why i said optional with inter_athena.conf

since you only edit there the SQL ID and Pass. including RO db and log db ( most of people )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

read again the thing i've said

login_ip:

char_ip:

map_Ip:

char_athena.conf

map_athena.conf

inter_athena.conf ( optional )

subnet_athena.conf

why i said optional with inter_athena.conf

since you only edit there the SQL ID and Pass. including RO db and log db ( most of people )

from what I understand the char,login,map ips from char, map_athena.conf should have my WAN-IP, isnt it? XD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

read again the thing i've said

login_ip:

char_ip:

map_Ip:

char_athena.conf

map_athena.conf

inter_athena.conf ( optional )

subnet_athena.conf

why i said optional with inter_athena.conf

since you only edit there the SQL ID and Pass. including RO db and log db ( most of people )

from what I understand the char,login,map ips from char, map_athena.conf should have my WAN-IP, isnt it? XD

yes

and your 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:Wan_IP:Wan_IP

that simple~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

thanks for clearing that up.I'll try this later on. gotta sleep XD

lastly, how about my other configurations?

Happy holidays my friend!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

thanks for clearing that up.I'll try this later on. gotta sleep XD

lastly, how about my other configurations?

Happy holidays my friend!

well you must try it first

so that i can see if there are more errors

since you didn't post more info

like sql acct info ( since this is private info )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

goodmorning

Will keep you updated once tested

Edited by fictionworld
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

port forward only can let other ppl connect to your ro. if dun wan port forward use hamachi.

charserv 5121~5121

For char, forward ports FROM 5121-5121. which means start port-5121 and end port-5121 and server ip address is your "LAN IP"

logserv 6900~6900

For login, forward ports FROM 6900-6900, which means start port-6900 and end port-6900 and server ip address is your "LAN IP"

mapserv 6121~6121

For map, forwards ports FROM 6121-6121. which means start port-6121 and end port-6121 and server ip address is your "LAN IP"

Make sure all is TCP not DCP or TCP/DCP

register one no ip address.

http://www.no-ip.com/

make a wan ip there. before do that u must make your ip to static ip first ^^. after that ur friend should be able to connect if you give him/her ur clieninfo.xml(wan ip inside) if u use on ur pc use lan ip =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

port forward only can let other ppl connect to your ro. if dun wan port forward use hamachi.

charserv 5121~5121

For char, forward ports FROM 5121-5121. which means start port-5121 and end port-5121 and server ip address is your "LAN IP"

logserv 6900~6900

For login, forward ports FROM 6900-6900, which means start port-6900 and end port-6900 and server ip address is your "LAN IP"

mapserv 6121~6121

For map, forwards ports FROM 6121-6121. which means start port-6121 and end port-6121 and server ip address is your "LAN IP"

Make sure all is TCP not DCP or TCP/DCP

register one no ip address.

http://www.no-ip.com/

make a wan ip there. before do that u must make your ip to static ip first ^^. after that ur friend should be able to connect if you give him/her ur clieninfo.xml(wan ip inside) if u use on ur pc use lan ip =)

I already have my no-ip account so it makes my IP static right? already port forwarded my ports so no need to use hamachi :(

one more think, is it required to have my clientinfo separated from my data.grf? coz I already repacked it inside my data

Edited by fictionworld
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

port forward only can let other ppl connect to your ro. if dun wan port forward use hamachi.

charserv 5121~5121

For char, forward ports FROM 5121-5121. which means start port-5121 and end port-5121 and server ip address is your "LAN IP"

logserv 6900~6900

For login, forward ports FROM 6900-6900, which means start port-6900 and end port-6900 and server ip address is your "LAN IP"

mapserv 6121~6121

For map, forwards ports FROM 6121-6121. which means start port-6121 and end port-6121 and server ip address is your "LAN IP"

Make sure all is TCP not DCP or TCP/DCP

register one no ip address.

http://www.no-ip.com/

make a wan ip there. before do that u must make your ip to static ip first ^^. after that ur friend should be able to connect if you give him/her ur clieninfo.xml(wan ip inside) if u use on ur pc use lan ip =)

I already have my no-ip account so it makes my IP static right? already port forwarded my ports so no need to use hamachi :(

one more think, is it required to have my clientinfo separated from my data.grf? coz I already repacked it inside my data

hi only thing you wouldn't include in your grf

are

dataChatWndInfo_U.lua

dataOptionInfo.lua

dataUserKeys_s.lua

since this files must be writable

clientinfo can be located on your grf. ( lots of servers do this )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

Thanks to everyone who have replied. I got myself a private server. Thanks for the guides posted here. :D

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