Yonko Posted October 16, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted October 16, 2012 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 ? Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 16, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 16, 2012 // Subnet support file // Format is: // subnet: net-submask:char_ip:map_ip // you can add more than one subnet So, add another entry Quote Link to comment Share on other sites More sharing options...
Yonko Posted October 16, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Author Share Posted October 16, 2012 so this will look like this example?? subnet: 255.0.0.0:VPS IP:VPS IP Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 16, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 16, 2012 Yes, and we would call that as WAN IP instead. Quote Link to comment Share on other sites More sharing options...
Spre Posted October 16, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share Posted October 16, 2012 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. 1 Quote Link to comment Share on other sites More sharing options...
Brian Posted October 16, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted October 16, 2012 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. Quote Link to comment Share on other sites More sharing options...
Asura Posted October 16, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted October 16, 2012 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. Quote Link to comment Share on other sites More sharing options...
Question
Yonko
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.