PDA

View Full Version : ICS solution for Windows networks


Sir Wahoo
July 7th, 2000, Friday July 7, 2000 08:30:00 PM
If you are one of the unlucky souls on a ICS (internet connection sharing) network, you may use this INF text to fix the hosting issues you may be having.

;COPY AND PASTE THIS INTO A BLANK .INF FILE FIRST.
;
;This INF file is made for people running a
; dedicated Half-Life server behind a ICS
;(Micro$ofts Internet-Connection Sharing
; Protocol) firewall. This is probably not
; the most secure INF ever but then again,
; if you are running ICS you don't care much
; about security in the first place do you?
; =) This file when installed will open up
; the ports nessary to run HL dedicated.
; Run your server on port 27345, or you can
; scroll down and change port 27345 to
; whatever you want. Also, you must have
; access to the server to run this, it
; will not work on client computers of the
; ICS network. To install just right click
; on the file, and click install. Then
; restart. -Sir Wahoo, ICQ# 39504024

[version]
signature="$CHICAGO$"

[DefaultInstall]
AddReg=PortSample

[DefaultUnInstall]
; To uninstall, type the following line:
;
; rundll.exe setupx.dll,InstallHinfSection DefaultUnInstall 0
; <I BRACKET="YES">YOUR_INF_FILE_NAME[/i]
DelReg=PORT_SAMPLE_DEL_REG

HKLM,%ICSACTIVE%,HlDmCS,,"0.0.0.0"
HKLM,%ICSINSTALLED%\HlDmCS

HKLM,%ICSINSTALLED%\HlDmCS,Name,,"Half Life"

HKLM,%ICSINSTALLED%\HlDmCS,Options,1,00,00,00,00

; The next four lines describe the specific ports that need to be open
; or mapped. The first port is always 0000, each additional port is
; incremented (the second port to open would be listed as 0001,
; the third would be 0002, and so on). This information is strictly
; dependent on what is needed by the program. If you do not know what
; ports your program requires or are unsure, you need to contact the
; manufacturer of the program to get this information.
;
; The four lines need to be re-created for each port.
;
; On the second line, valid entries for type are "TCP" or "UDP."
;
; The third line contains the actual port or port range needed by the
; program.
;
; The entry below demonstrates a port range. If the program only needs
; a single port, the last part of the line below would read ,Port,,"5678"
;
; Note that you can only use a port range when the translation type is
; NORMAL or BLOCK.
;
; If Translation is set to anything else, you must list each port
; individually.
;
; Valid types of translation are NORMAL, BLOCK, CUSEEME, DPLAY, FTP,
; H323, PPTP, and QUAKE

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"6003"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"7002"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"27005"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"27010-27012"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"27015"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

HKLM,%ICSINSTALLED%\HlDmCS\0000
HKLM,%ICSINSTALLED%\HlDmCS\0000,Type,,"UDP"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Port,,"27345"
HKLM,%ICSINSTALLED%\HlDmCS\0000,Translation,,"NORMAL"

[PORT_SAMPLE_DEL_REG]
HKLM,%ICSINSTALLED%\HlDmCS
HKLM,%ICSACTIVE%,HlDmCS

[Strings]
ICSINSTALLED="System\CurrentControlSet\Services\ICSharing\Mappings\Installed"
ICSACTIVE="System\CurrentControlSet\Services\ICSharing\Mappings\Active"

------------------


[This message has been edited by Sir Wahoo (edited 07-07-2000).]

sae
October 25th, 2001, Thursday October 25, 2001 10:49:00 PM
do you know how long I have been looking for this. Hope it works! http://server.counter-strike.net/ubb/smile.gif