Reference Manualstartup - user-defined startup fileSYNOPSIS
startupDESCRIPTION
File startup is executed when NAT32 starts. It must be located in the current directory and can contain any sequence of valid shell commands. The default startup file contains the following commands:NOTES# # NAT32 startup file # echo Processing startup file... # Display Console if this is a new configuration if newconfig show #hide #hide noicon # Command wtrace turns a trace window on or off #wtrace on # Automatic Address and Port Mapping if p all internet ipmapas ifn # Turn on UDP Best Match unmapping #setb on # ICMP Mapping if p all internet icmap ifn on # DNS Mapping if s all private dnsmap ifn on # DNS Detection if p all internet nsdetect ifn on # UDP Broadcast Mapping #if s all ipmapb ifn # Internet interface selection using best capacity algorithm if netup if minifs setis 1 # Internet interface selection using round robin algorithm #if netup setis 2 # Enable suppression of SYN duplicates #if netup setdf 1 # Enable password checking #pcheck on # Send a UDP packet at 3-minute intervals to keep DUN Connections up #alive 3 # Start the CRON Daemon #cron on # Start a Telnet Daemon. Requires a password list in the current directory. #telnetd on # Start the NAT32 DHCPD. Lease 20 minutes, real DNS address, offset 10 #start dhcpd 20 real 10 # Start the NAT32 DHCPD. Lease 24*7 hours, NAT32's DNS address, offset 1 if netup start dhcpd # Enable the NAT32 DHCPD on all private interfaces if dhcpd all private dhcpd ifn on # Turn on debugging for all private interfaces #if dhcpd all private dhcpd ifn D # Start the NAT32 IDENT daemon if netup identd nat32 # Start the Windows DUN Server if needed #dunsrv 1 0 # Advertise routes every minute # No ads sent on secondary interfaces with a gateway #advert s 1 # Start the shell httpd server (defaults to local machine access only) start httpd # Set the access control list (see file httpd.acl) hstat acl # Turn ON autodial #if p autodial p on # Dial the WINDOWS default connection #dial # Start the NAT32 SNMP daemon #start snmpd # Start NAT32 RIP, but not on the Primary Interface #setr p 0 #start rip # Display NetBios Broadcast Propagation setting if netup nb # Turn NetBios Broadcast Forwarding ON #if netup nb on # Turn on STEALTH Mode if netup stealth on if netup echo "STEALTH MODE ON" # Start the HOSTD to monitor UDP Port 137 broadcasts #start hostd 137 # Run the script\app file to install permanent port mappings if netup app run # # UDP mappings # # ICQ #if netup umap add 4000 # Display the Quick Dialog with no Throughput bar # quick t # Display the Quick Dialog with Throughput bar if p quick T # Check for 3Com U.S. Robotics Cable Modem VSP via TDI #if netup usr # Set the maximum window size on the Primary interface #if p all internet setw ifn 5840 # Display Welcome page if this is a new configuration if newconfig if httpd if app web welcome.htm # Show a small or large NAT32 window if this is not a new configuration #if !newconfig show small #if !newconfig show large if user user.txt echo Startup file processed.NAT32 first makes a local copy of file startup and then actually executes that copy. The copy is deleted on exit.SEE ALSONAT32 can execute data supplied by any open device.
In particular, if that device supplies the sequence #!tcl as its first line, a Tcl interpreter is invoked to execute the remaining data.
hide nat32 sh shell tcl