-
Novice
Centos IP/Port forwarding query
Firstly, thanks to chumpywumpy for an easy to understand guide on installing a cabal private server. Not forgetting darkxl as well.
Anyway, my problem is this. I haev Centos installed on VMware and I made it to connect to mssql via hamachi network interface as host-only. (My place doesnt allow me to use bridged-connections to my lancard, otherwise i cant connect to the internet, school proxy you see)
My cabal client is connected to centos server via eth0. (192.168.203.x shown on ifconfig)
Centos server is connected to mssql database via my room's lanport (172.20.x.x appears on my lan connection)
ifconfig done in centos shows this:
tcp 0 0 192.168.203.x:33729 172.20.x.x:1433
I understand that the above means the cabal server is accessing mssql via localhost on port 1433.
I'm able to login n play. My neighbor wants to join and his ip is 172.20.x.x which i am able to ping in centos using putty.
Is there a command to execute on centos to 'listen' for incoming connection requests from my neighbor?
Or how should I forward ip/port in centos? Im kinda green in this area
Any help would be greatly appreciated. Thanks.
-
-
Re: Centos IP/Port forwarding query
change the worldsvr and authclient(or whatever it`s named) ip in worldsvr_xx_xx.ini to your centos ip that is reachable from your neighbor.
-
Novice
Re: Centos IP/Port forwarding query
Hi cypher, thanks for the prompt reply.
The problem is that I can ping my neighbour using centos. But he is not able to ping my centos ip, which is also the ip of my current worldscr_x_x.ini (eth0 192.168.203.x)
I believe 192.x.x.x is not recognised as a valid ip to his local machine?
-cheers-
-
Re: Centos IP/Port forwarding query
192.x addresses are internal addresses that only exist inside your network, unless your neighbour is also on that network (it doesn't sound like it) then he won't be able to ping or connect to that address.
If you are using Hamachi then the server should be "listening" on it's Hamachi address for players (the 5.x one) so specify this when asked what address players will connect to in cabal_config. Your players (yourself included) will need Hamachi installed and their internal.txt should be using the Centos Hamachi IP as well.
The whole idea of Hamachi is to get around port forwarding and router issues by creating a small private network betweek the server and all of the players and you can ignore all addresses that don't start with 5.x as they are not part of the private network.
Hope that helps ;)