home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Comunicatii / nat32 / STARTUP < prev    next >
Text File  |  2005-05-01  |  3KB  |  158 lines

  1. #
  2. #       NAT32 startup file
  3. #
  4.  
  5. echo "Processing startup file..."
  6.  
  7. # Display Console if this is a new configuration
  8.  
  9. if newconfig show
  10. #hide
  11. #hide noicon
  12.  
  13. # Command wtrace turns a trace window on or off
  14. #wtrace on
  15.  
  16. # Automatic Address and Port Mapping
  17. if p all internet ipmapas ifn
  18.  
  19. # Turn on UDP Best Match unmapping
  20. #setb on
  21.  
  22. # ICMP Mapping
  23. if p all internet icmap ifn on
  24.  
  25. # DNS Mapping
  26. if s all private dnsmap ifn on
  27.  
  28. # DNS Detection
  29. if p all internet nsdetect ifn on
  30.  
  31. # UDP Broadcast Mapping
  32. #if s all ipmapb ifn
  33.  
  34. # Internet interface selection using best capacity algorithm
  35. if netup if minifs setis 1
  36.  
  37. # Internet interface selection using round robin algorithm
  38. #if netup if minifs setis 2
  39.  
  40. # Enable suppression of SYN duplicates
  41. #if netup setdf 1
  42.  
  43. # Enable password checking
  44. #pcheck on
  45.  
  46. # Send a UDP packet at 3-minute intervals to keep DUN Connections up
  47. #alive 3
  48.  
  49. # Start the CRON Daemon
  50. #cron on
  51.  
  52. # Start a Telnet Daemon. Requires a password list in the current directory.    
  53. #telnetd on
  54.  
  55. # Start the NAT32 DHCPD. Lease 20 minutes, real DNS address, offset 10
  56. #start dhcpd 20 real 10
  57.  
  58. # Start the NAT32 DHCPD. Lease 24*7 hours, NAT32's DNS address, offset 1
  59. if netup start dhcpd
  60.  
  61. # Enable the NAT32 DHCPD on all private interfaces
  62. if dhcpd all private dhcpd ifn on
  63.  
  64. # Turn on debugging for all private interfaces
  65. #if dhcpd all private dhcpd ifn D
  66.  
  67. # Start the NAT32 IDENT daemon
  68. if netup identd nat32
  69.  
  70. # Start the Windows DUN Server if needed 
  71. #dunsrv 1 0
  72.  
  73. # Advertise routes every minute
  74. # No ads sent on secondary interfaces with a gateway
  75. #advert s 1
  76.  
  77. # Start the shell httpd server (defaults to local machine access only)
  78. start httpd 8080
  79. # Set the access mode
  80. hstat private
  81.  
  82. # Set the default phonebook
  83. if app setpbkf -d
  84.  
  85. # Turn ON autodial
  86. #if p autodial p on
  87.  
  88. # Dial the WINDOWS default connection
  89. #dial
  90.  
  91. # Start the NAT32 SNMP daemon
  92. #start snmpd
  93.  
  94. # Start NAT32 RIP, but not on the Primary Interface
  95.  
  96. #setr p 0
  97. #start rip
  98.  
  99. # Display NetBios Broadcast Propagation setting
  100. if netup nb
  101.  
  102. # Turn NetBios Broadcast Forwarding ON
  103.  
  104. #if netup nb on
  105.  
  106. # Turn on STEALTH Mode
  107.  
  108. if netup stealth on
  109. if netup echo "STEALTH MODE ON"
  110.  
  111. # Start the HOSTD to monitor UDP Port 137 broadcasts
  112.  
  113. #start hostd 137
  114.  
  115. # Run the script\app file to install permanent port mappings
  116. if netup app run
  117.  
  118. # Run the MUXRESET daemon to reset the NDIS3PKT MUX Table every minute
  119. # This will cause zombie entries to be removed, while preserving all
  120. # connected entries.
  121.  
  122. start muxreset 1
  123.  
  124. #
  125. # UDP mappings
  126. #
  127.  
  128. # ICQ
  129. #if netup umap add 4000
  130.  
  131. # Display the Quick Dialog with no Throughput bar
  132. # quick t
  133.  
  134. # Display the Quick Dialog with Throughput bar
  135. if p quick T
  136.  
  137. # Check for 3Com U.S. Robotics Cable Modem VSP via TDI
  138. #if netup usr
  139.  
  140. # Set the maximum window size on the Primary interface
  141. #if p all internet setw ifn 5840
  142.  
  143. # Display Welcome page if this is a new configuration
  144.  
  145. if newconfig if httpd if app web http://127.0.0.1:8080/welcome.htm
  146.  
  147. # Get the Windows Autodial Default Connection
  148.  
  149. #autodial -d
  150.  
  151. # Turn on loopback mode
  152.  
  153. loopback on
  154.  
  155. if user user.txt
  156.  
  157. echo Startup file processed.
  158.