home *** CD-ROM | disk | FTP | other *** search
- #
- # 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 if minifs 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 8080
- # Set the access mode
- hstat private
-
- # Set the default phonebook
- if app setpbkf -d
-
- # 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
-
- # Run the MUXRESET daemon to reset the NDIS3PKT MUX Table every minute
- # This will cause zombie entries to be removed, while preserving all
- # connected entries.
-
- start muxreset 1
-
- #
- # 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 http://127.0.0.1:8080/welcome.htm
-
- # Get the Windows Autodial Default Connection
-
- #autodial -d
-
- # Turn on loopback mode
-
- loopback on
-
- if user user.txt
-
- echo Startup file processed.
-