hi
adress_translation.conf
192.168.1.103:16112 171.232.49.129:16112 192.168.1.0/24 ANY
shange it to:
192.168.1.103:6112 171.232.49.129:6112 192.168.1.0/24 ANY
d2cs.conf:
realmname = "D2CS"
# This is a comma delimited list of hostnames that the server should
# listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
# to make an internal-only server on a gateway machine for example. If the
# list is not set or if it has a entry with no host component, the server will
# bind to that port on all interfaces.
# d2cs default listening port is 6113
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
servaddrs = 0.0.0.0:6113
# This is a comma delimited list of game servers. Put here the IPs
# (without ports) of the machines running d2gs. If you run d2gs on the same
# machine as d2cs you put the IP of that machine here.
# Example: gameservlist = 192.168.1.10
# (if you have a d2gs running on a machine with the IP 192.168.1.10)
#
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
#
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
gameservlist = 192.168.1.103
# Put here the address and port of the machine running bnetd (or pvpgn.exe).
# If you run d2cs on the same machine as bnetd (or pvpgn.exe) then here you
# put the IP of that machine.
#
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
#
# bnetd default listening port is 6112
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
bnetdaddr = 192.168.1.103:6112
shange it to:
realmname = "D2CS"
# This is a comma delimited list of hostnames that the server should
# listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
# to make an internal-only server on a gateway machine for example. If the
# list is not set or if it has a entry with no host component, the server will
# bind to that port on all interfaces.
# d2cs default listening port is 6113
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
servaddrs = 192.168.1.103:6113
# This is a comma delimited list of game servers. Put here the IPs
# (without ports) of the machines running d2gs. If you run d2gs on the same
# machine as d2cs you put the IP of that machine here.
# Example: gameservlist = 192.168.1.10
# (if you have a d2gs running on a machine with the IP 192.168.1.10)
#
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
#
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
gameservlist = 192.168.1.103
# Put here the address and port of the machine running bnetd (or pvpgn.exe).
# If you run d2cs on the same machine as bnetd (or pvpgn.exe) then here you
# put the IP of that machine.
#
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
#
# bnetd default listening port is 6112
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
bnetdaddr = 192.168.1.103:6112
d2dbs.conf
#################################################################################
# Server Major Settings #
#-------------------------------------------------------------------------------#
# This is a comma delimited list of hostnames that the server should
# listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
# to make an internal-only server on a gateway machine for example. If the
# list is not set or if it has a entry with no host component, the server will
# bind to that port on all interfaces.
# d2dbs default listening port is 6114
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
servaddrs = 0.0.0.0:6114
# Put here EXACTLY the same thing you put in d2cs.conf gameservlist setting.
# For more information about this setting consult the d2cs.conf comments
# above it.
#
# YOU MUST CHANGE THIS OR D2DBS WON'T WORK PROPERLY
#
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
gameservlist = 192.168.1.103
shange it to:
#################################################################################
# Server Major Settings #
#-------------------------------------------------------------------------------#
# This is a comma delimited list of hostnames that the server should
# listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
# to make an internal-only server on a gateway machine for example. If the
# list is not set or if it has a entry with no host component, the server will
# bind to that port on all interfaces.
# d2dbs default listening port is 6114
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
servaddrs = 192.168.1.103:6114
# Put here EXACTLY the same thing you put in d2cs.conf gameservlist setting.
# For more information about this setting consult the d2cs.conf comments
# above it.
#
# YOU MUST CHANGE THIS OR D2DBS WON'T WORK PROPERLY
#
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
gameservlist = 192.168.1.103
realm.conf
"D2CS" "PvPGN Closed Realm" 192.168.1.103:6113
shange it to:
"D2CS" "D2CS Realm" 192.168.1.103:6113
open port firewall
6112, 6113, 6114, 4000, 8888.
Добавлено: 27.08.2017 19:09
adress_translation.conf
########################################################################################################
#------------------------------------------------------------------------------------------------------#
# Address Translation table #
#----------------------------------------------------------------------------
#
# DO NOT, I REPEAT, DO NOT TOUCH THIS FILE UNLESS YOU RUN THE SERVER ON A
# COMPUTER INSIDE A LAN AND YOU NEED TO HAVE PLAYERS FROM "OUTSIDE" YOUR LAN
#
# This is a list of ip:port addresses that get translated
# EVERYTHING AFTER A "#" IS IGNORED (ie COMMENTED)
#
# The entries are broken into four parts:
#
# * the IP address w/port to be translated (what pvpgn wants to send initially)
# * the output IP address w/port (what pvpgn WILL send after translation)
# * comma delimited list of networks to be excluded from translation
# * comma delimited list of networks to be included in translation
#
# Each line must contain all four parts or the entire entry will be rejected
# There are no default ports, make sure input and output include the port number
#
# The entries are searched in the order listed in this file
# Exclude networks are searched before include networks
# Only the first matching line is used
# Lines begining with '#' are ignored
#
# If no match is found, the input ip will be returned.
#
# Network specification can be either NONE, ANY or x.y.z.t/bitlen:
# - NONE = no neworks (same as 0.0.0.0/32)
# - ANY = All networks (same as 0.0.0.0/0)
# x.y.z.t/bitlen : means matching the first bitlen bits from the x.y.z.t value
# Example: if you have the network 192.168.0.x (where x is from 1 to 255) to
# match any IP in it you use "192.168.0.0/24" meaning the first 24 bits of
# 192.168.0.0 HAVE TO match (the first 24 bits means the first 3 digits)
#
#################################################################################
################################################################################
# w3route server ip translation
#
# Here you can translate the IP/port of the w3route IP/port as sent by pvpgn
# to the WAR3 clients. You need this ONLY if you want to have external W3
# players that will play PlayGame/ArrangedTeam games.
# Set exclude to the range of clients you want to recieve the input address
# instead of the output address
# Set include to the range of clients you want to recieve the output address
#
# 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 1.2.3.4:6200 192.168.0.0/24 ANY
###############################################################################
# Game Translations for clients/games (client data ports)
#
# You need this ONLY if you will have internal players that want to play with
# external ones.
#
# This setting is NOT NEEDED for D2 closed realm clients (they connect to d2gs
# to play games not to eachover).
#
# Set input address to the client to be translated
# Set output address to the address to be sent to the other clients
# Set exclude to the range of clients you want to recieve the input address
# instead of the output address
# Set include to the range of clients you want to recieve the output address
#
# input (ip:port) output (ip:port) exclude (ip/netmask) include (ip/netmask)
#----------------- ------------------ ---------------------- ----------------------
# Example, if you have an internal client on IP 192.168.1.10 AND you have the
# external IP 1.2.3.4 AND you want to exclude from translation the internal
# clients (those with IPs 192.168.1.x and 10.x.y.z) AND you port forward
# port 6118 TCP AND UDP from your router to the client IP and port 6112 then
# here put:
#192.168.1.10:6112 1.2.3.4:6118 192.168.1.0/24,10.0.0.0/8 ANY
192.168.1.103:6112 171.232.49.129:6112 192.168.1.0/24 ANY
################################################################################
# Diablo II Character Server translation (d2cs)
#
# You need this ONLY if you run a d2cs (ie ONLY if you will host a Diablo2
# closed realm).
#
# Set input address to the ip of d2cs (same as the ip in the realm.conf)
# Set output address to the address to be sent to the clients
# Set exclude to the range of clients you want to recieve the input address
# instead of the output address
# Set include to the range of client you want to recieve the output address
#
# input (ip:port) output (ip:port) exclude (ip/netmask) include (ip/netmask)
#----------------- ------------------ ---------------------- ----------------------
# Example, if you run a d2cs on IP 192.168.1.10 port 6113 and you have put the
# same IP/port in realm.conf AND you have the external IP 1.2.3.4 AND you want
# to exclude from translation the internal clients (those with IPs 192.168.1.x)
# AND you port forward port 6113 TCP from your router to the machine running
# d2cs and port 6113 then here put:
#192.168.1.10:6113 1.2.3.4:6113 192.168.1.0/24 ANY
192.168.1.103:6113 171.232.49.129:6113 192.168.1.0/24 ANY
################################################################################
# Diablo II Game Server Translation (d2gs)
#
# Set input address to the ip of d2gs (same as the gameservlist in d2cs.conf)
# Set output address to the address to be sent to the clients
# Set exclude to the range of clients you want to recieve the input address
# instead of the output address
# Set include to the range of client you want to recieve the output address
#
# input (ip:port) output (ip:port) exclude (ip/netmask) include (ip/netmask)
#----------------- ------------------ ---------------------- ----------------------
# Example, if you run a d2gs on IP 192.168.1.100 (and port 4000, d2gs cannot
# listen on other port, it will automatically listen on port 4000) and you have
# put the same IP in d2cs.conf and d2dbs.conf gameservlist setting AND you have
# the external IP 1.2.3.4 AND you dont want to exclude from translation anyone
# AND you port forward port 4000 TCP from your router to the machine running
# d2gs and port 4000 then here put:
#192.168.1.100:4000 1.2.3.4:4000 NONE ANY
192.168.1.103:4000 171.232.49.129:4000 NONE ANY
################################################################################
# Westwood Online Game Server Translation (wwol)
#
#
# input (ip:port) output (ip:port) exclude (ip/netmask) include (ip/netmask)
#----------------- ------------------ ---------------------- ----------------------
#192.168.1.10:4005 1.2.3.4:4005 192.168.1.0/24 ANY