All pastes #47757 Raw Edit

Stuff

public text v1 · immutable
#47757 ·published 2006-04-01 02:01 UTC
rendered paste body
adress_translation.conf

########################################################################################################
#------------------------------------------------------------------------------------------------------#
# Address Translation table                                                                            #
#------------------------------------------------------------------------------------------------------#
#                                                                                                      #
# This is a list of ip:port addresses that get translated                                              #
#                                                                                                      #
# The entries are broken into four parts:                                                              #
#                                                                                                      #
# * the IP address w/port to be translated                                                             #
# * the output IP address w/port                                                                       #
# * 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 includes 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.                                                 #
#                                                                                                      #
# NONE = There are no neworks to exclude/include (just a place holder, no entries will be added)       #
# ANY = All networks will be excluded/included   (same as 0.0.0.0/0)                                   #
#                                                                                                      #
########################################################################################################

########################################################################################################
# w3route server ip (removed from w3trans.conf) (Port 6200)                                            #
#                                                                                                      #
# Set input address the same as the w3routeaddr setting in the bnetd.conf                              #
# Set output address to the address to be sent to war3 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)   #
#---------------------	----------------------	----------------------------  -------------------------#

#0.0.0.0:6200		192.168.1.100:6200	NONE				192.168.1.0/24
#192.168.2.2:0		   192.168.2.2:0		    192.168.1.1			192.168.2.2/0



########################################################################################################
# Game Translations for clients (removed from gametrans.conf) (client data ports)                      #
#                                                                                                      #
# 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)   #
#---------------------  ----------------------  ----------------------------  -------------------------#

#192.168.1.1:6119	internetip:6119		192.168.1.0/24,10.0.0.0/8	ANY
192.168.2.2:0		  192.168.2.2:0	    	    192.168.1.1    		192.168.2.0/0



########################################################################################################
# Diablo II Charactar Server (d2cs) - (removed from realm.conf) (Port 6113)                            #
#                                                                                                      #
# 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)   #
#---------------------  ----------------------  ----------------------------  -------------------------#

192.168.2.2:0	 	   192.168.2.2:0	     	    192.168.1.1			 192.168.2.0/0



########################################################################################################
# Diablo II Game Server (d2gs) - (removed from d2gstrans.conf) (Port 4000)                             #
#                                                                                                      #
# 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)   #
#---------------------  ----------------------  ----------------------------  -------------------------#

192.168.2.2:0		192.168.2.2:0		    192.168.1.1			 192.168.2.0/0