Topic: [Solved]How to configure W3 server to VPS
NOTE: IPs have been changed for privacy reasons
IP_PLAYER_1 / 2 = IP Address of Players 1 and 2
IP_VPS = IP address of VPS
I am trying to configure, but without success.. When I try to connect in a game with another player happens this error:
look this error in bnetd.log:
[debug] _client_startgame4: [9] got startgame4 status for game "hy" is 0x00000012 (gametype=0xc009 option=0x0042, flag=0x0000)
[debug] _client_gamelistreq: GAMELISTREPLY looking for public games tag="W3XP" bngtype=0x0000e000 gtype=all
[debug] _glist_cb: [10] considering listing game="hy", pass="" clienttag="W3XP" gtype=1
[debug] trans_net: checking IP_PLAYER_1:6112 for client IP_PLAYER_2 ...
[debug] trans_net: against entry -> 0.0.0.0:6200 output 0.0.0.0:6200 network 192.168.1.0/0xffffff00
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> 0.0.0.0:6200 output IP_VPS:6200 network 0.0.0.0/0x00000000
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> IP_VPS:6112 output IP_VPS:6112 network 192.168.1.0/0xffffff00
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> IP_VPS:6112 output IP_VPS:6112 network 10.0.0.0/0xff000000
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> IP_VPS:6112 output IP_VPS:6118 network 0.0.0.0/0x00000000
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> IP_VPS:6113 output IP_VPS:6113 network 192.168.1.0/0xffffff00
[debug] trans_net: entry does match input address
[debug] trans_net: against entry -> 1IP_VPS:6113 output IP_VPS:6113 network 0.0.0.0/0x00000000
[debug] trans_net: entry does match input address
[debug] trans_net: no match found for IP_PLAYER_1:6112 (not translated)
[debug] _client_gamelistreq: [10] GAMELISTREPLY sent 1 of 1 games
what am I configuring wrong?
NOTE: Remembering that I am in a VPS, I only use the External IP for configuration.
My Settings:
address_translation.conf
# w3route server ip translation
#
# input (ip:port) output (ip:port) exclude (ip/netmask) include (ip/netmask)
#----------------- ------------------ ---------------------- ----------------------
# Example, if you left w3route = 0.0.0.0:6200 as it is by default in bnetd.conf
# AND you have the external IP 1.2.3.4 AND you want to exclude from translation
# the internal W3 clients (those with IPs 192.168.0.x) AND you port forward
# port 6200 TCP from your router to the pvpgn server port 6200 then here put:
0.0.0.0:6200 IP_VPS:6200 192.168.1.0/24 ANY
bnetd.conf
# W3 Play Game router address. Just put your server address in here
# or use 0.0.0.0:6200 for server to bind to all interfaces,
# but make sure you set up w3trans if you do.
w3routeaddr = "0.0.0.0:6200"
tks for help!