Jump to content
  • 0

help regards cent os


Yonko

Question


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

btw i currently have my vps centOS then i'm so confused regards in the subnet_athena.conf

like this

subnet: 255.0.0.0:127.0.0.1:127.0.0.1 --> should i change the 127.0.0.1 to the IP they gave to my VPS ?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

// Subnet support file

// Format is:

// subnet: net-submask:char_ip:map_ip

// you can add more than one subnet

So, add another entry :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

so this will look like this example??

subnet: 255.0.0.0:VPS IP:VPS IP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Yes, and we would call that as WAN IP instead.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  103
  • Reputation:   28
  • Joined:  09/20/12
  • Last Seen:  

you do not need to even touch subnet. At all for any reason, nope, I am well versed in CentOS just edit your configs like normal, if you setup the system yourself then I know there is no firewall.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Yes, you only have to edit trunk/conf/subnet_athena.conf when rAthena is running behind a router and you want computers on the LAN to connect to your LAN ip instead of WAN ip.

For example, if your computer's LAN IP is 192.168.1.22 and netmask 255.255.255.0

then you would put your LAN IP in subnet_athena.conf

subnet: 255.255.255.0:192.168.1.22:192.168.1.22

and put your WAN IP in the other char/map configs.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi wiideliva,

I have to agree with Spre; since you are renting a VPS with CentOS, there should be no reason for you to touch the subnet configuration. You can leave the default values as Spre had mentioned, and it'll work just fine.

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