📄 address_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#0.0.0.0:6200 internetip:6200 NONE ANY######################################################################################################### 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.1.2:6118 internetip:6118 192.168.1.0/24 ANY######################################################################################################### 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.1.100:6113 internetip:6113 192.168.1.0/24 ANY######################################################################################################### 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.1.100:4000 internetip:4000 192.168.1.0/24 ANY
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -