So, I'm at the final steps in firing up my server, but I've messed something up in the networking, and I can't, for the life of me, figure out what. I've been trying for a couple of days now, I've made some progress, but still, things aren't the way they should be.
Essentially, my problem is that the server is working fine, I've managed to run it before on the LAN, and it worked fine, all the way - login, select character, make new character, start map - all worked. But I can't get someone from outside my LAN to connect.
My logs are clean, no error, but the login just doesn't work - timeout.
I have a modem (no router). I forwarded my ports using chumpy's guide, and checked them online, they are all open. In cabal_config.sh, both IP's are set to he Windows (WAN 86.xxx.xxx.xx) IP, and incoming data to windows on the correct ports should be redirected to CentOS, right? Do I have to do anymore redirecting other than the port forwarding in CentOS?
What I'm finding weird is that when I run cabal_config.sh, and choose Y to finding my WAN ip, it can't find it. And neither does Chumpy's WAN IP finder, although when I ping Google from CentOS, it works fine.
My CentOS IP is set to NAT, and is found by dhcp.
And, yes I used breaklee and my firewalls are both off (windows and antivirus).
So an overall picture:
To post more info, I ran cabal_config.sh this way, the way I managed to run it at one point earlier on:Code:WIN IP: 86.xxx.xxx.xxx CentOS IP: 192.168.200.128 - Set to NAT, dhcp VMNet8: 192.168.200.1 Port forwarding: Exactly like in Chumpy's guide (except VM IP address is 192.168.200.2) - ports 38101, 38111, 38121, 38170, 38180, 38181, 38190. Al checked on the web, all open, incuding 22, 80 and 1433. Other ports closed. Descriptions: Cabal + (LoginSvr, WorldSvr_XX_YY, ChatNode, GlobalMgrSvr, GlobalDBAgent, DBAgent_XX, CashDBAgent_XX). Shouldn't it be (LoginSvr_XX, WorldSvr_XX_YY, ChatNode_XX, GlobalMgrSvr, GlobalDBAgent, DBAgent_XX, CashDBAgent) cabal_config.sh: Server IP Addr: 86.xxx.xxx.xxx MSSQL IP Addr: 86.xxx.xxx.xxx service cabal status: all running log files: all clean (attached - logs WAN IP.rar) internal.txt: IP's 86.xxx.xxx.xxx Ports: 38101 and 38121 Result: Can't get past login screen. Entering username and password just times out. Error is something like "Can't connect to the server, you will be disconnected in x seconds", but only stays on screen for a fraction of a second.
I'm hoping that with this much info you guys can help me, I've been searching the forum and trying things myself but I just can't get it to work. Thanks in advance.Code:cabal_config.sh: Server IP Addr: 192.168.200.128 MSSQL IP Addr: 86.xxx.xxx.xxx cabal service status: GlobalMgrSvr is stopped ChatNode_01 is stopped WorldSvr_01_01 is stopped LoginSvr_01 is stopped Errors are all: [Thu Apr 5 2012 18:54:09.725933 3086722784]: try connect 127.0.0.1:381XX, Sync [Thu Apr 5 2012 18:54:09.726886 3086722784]: sock -1 ->LinkHandler close [Thu Apr 5 2012 18:54:09.727560 3086722784]: [##ERROR##] connect 127.0.0.1:381XX fail [Thu Apr 5 2012 18:54:09.727590 3086722784]: [##ERROR##] Link(): link open fail, Exit [Thu Apr 5 2012 18:54:09.727717 3086722784]: [##ERROR##] active fail The ports that failed for each .log file: GlobalMgrSvr - 180 ChatNode_01 - 170, and all svc starts terminated after this WorldSvr_01_01 - 170, 121 LoginSvr_01 - 170 But the weirdest thing to me is that if I do enough service cabal restarts, they all go away, and I get them all running with no errors in the logs. For instance, after one service cabal restart, I only get errors in: ChatNode_01 - 181, and all svc starts terminated after this, but 170 worked this time WorldSvr_01_01 - just 121, now 170 is fine After another service cabal restart, I get errors in: GlobalMgrSvr ChatNode_01 WorldSvr_01_01 - although service cabal status says this is working LoginSvr_01 These errors are in the 2nd logs I've attached (logs LAN IP.rar), before the next restart. And after one more service cabal restart, I get no errors. All running. I now modify my internal.txt IP's to 192.168.200.128 and start start-cabal.bat. Login screen works perfectly. I login in an instant. Pick Server works instantly. I pick a character, click start, and, voila! I'm on the map.


Reply With Quote

