rendered paste body#========================
# Interface configuration
#========================
pushd interface
reset all
popd
# End of interface configuration
#========================
# Interface configuration
#========================
pushd interface ipv6
uninstall
popd
# End of interface configuration
# ----------------------------------
# ISATAP Configuration
# ----------------------------------
pushd interface ipv6 isatap
popd
# End of ISATAP configuration
# ----------------------------------
# 6to4 Configuration
# ----------------------------------
pushd interface ipv6 6to4
reset
popd
# End of 6to4 configuration
#========================
# Port Proxy configuration
#========================
pushd interface portproxy
reset
popd
# End of Port Proxy configuration
# ----------------------------------
# Interface IP Configuration
# ----------------------------------
pushd interface ip
# Interface IP Configuration for "Inside Network"
set address name="Inside Network" source=static addr=10.2.2.2 mask=255.255.255.0
set dns name="Inside Network" source=static addr=none register=NONE
set wins name="Inside Network" source=static addr=none
# Interface IP Configuration for "Outside Network"
set address name="Outside Network" source=static addr=10.0.0.2 mask=255.255.255.0
set address name="Outside Network" gateway=10.0.0.1 gwmetric=0
set dns name="Outside Network" source=static addr=209.98.98.98 register=PRIMARY
add dns name="Outside Network" addr=208.42.42.42 index=2
set wins name="Outside Network" source=static addr=none
popd
# End of interface IP configuration
# -----------------------------------------
# RAS Configuration
# -----------------------------------------
pushd ras
set authmode mode = standard
delete authtype type = PAP
delete authtype type = SPAP
delete authtype type = MD5CHAP
delete authtype type = MSCHAP
delete authtype type = MSCHAPv2
delete authtype type = EAP
add authtype type = MSCHAP
delete link type = SWC
delete link type = LCP
add link type = SWC
add link type = LCP
delete multilink type = MULTI
delete multilink type = BACP
add multilink type = MULTI
add multilink type = BACP
set user name = Administrator dialin = policy cbpolicy = none
set user name = ASPNET dialin = policy cbpolicy = none
set user name = atsuko dialin = policy cbpolicy = none
set user name = backup template dialin = policy cbpolicy = none
set user name = backup user dialin = policy cbpolicy = none
set user name = Guest dialin = policy cbpolicy = none
set user name = HelpAssistant dialin = policy cbpolicy = none
set user name = localadmin dialin = policy cbpolicy = none
set user name = Nanako dialin = policy cbpolicy = none
set user name = root dialin = policy cbpolicy = none
set user name = SUPPORT_388945a0 dialin = policy cbpolicy = none
set user name = tester dialin = policy cbpolicy = none
set user name = tomomi dialin = policy cbpolicy = none
set tracing component = * state = disabled
popd
# End of RAS configuration.
# -----------------------------------------
# RemoteAccess AppleTalk Configuration
# -----------------------------------------
pushd ras appletalk
set negotiation mode = allow
set access mode = all
popd
# End of RemoteAccess AppleTalk configuration.
# -----------------------------------------
# RAS IP Configuration
# -----------------------------------------
pushd ras ip
delete pool
set negotiation mode = allow
set access mode = all
set addrreq mode = deny
set broadcastnameresolution mode = disabled
set addrassign method = auto
popd
# End of RAS IP configuration.
# -----------------------------------------
# RAS IPX Configuration
# -----------------------------------------
pushd ras ipx
set negotiation mode = allow
set access mode = all
set nodereq mode = allow
set netassign method = autosame
popd
# End of RAS IPX configuration.
# -----------------------------------------
# RAS NBF Configuration
# -----------------------------------------
pushd ras netbeui
set negotiation mode = allow
set access mode = all
popd
# End of RAS NBF configuration.
# -----------------------------------------
# RAS AAAA Configuration
# -----------------------------------------
pushd ras aaaa
set authentication provider = windows
set accounting provider = windows
delete authserver name = *
delete acctserver name = *
popd
# End of RAS AAAA configuration.
# Routing Configuration
pushd routing
reset
popd
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
# #
# BEFORE running this script #
# #
# To restore IPX router configuration, you must first #
# UNINSTALL IPX from the Network connections folder and #
# then REINSTALL it. #
# #
# This deletes the old IPX router configuration #
# and restores the IPX router configuration to its #
# default #
# #
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#----------------------------------------------------------
# IPX configuration
#----------------------------------------------------------
pushd routing ipx
#----------------------------------------------------------
# IPX Interface configuration
#----------------------------------------------------------
#----------------------------------------------------------
# IPX Traffic Filter configuration
#----------------------------------------------------------
#----------------------------------------------------------
# IPX Static Route configuration
#----------------------------------------------------------
#----------------------------------------------------------
# IPX Static Service configuration
#----------------------------------------------------------
popd
# End of IPX configuration
#----------------------------------------------------------
# IPX RIP configuration
#----------------------------------------------------------
pushd routing ipx rip
popd
# End of IPX RIP configuration
#----------------------------------------------------------
# IPX SAP configuration
#----------------------------------------------------------
pushd routing ipx sap
popd
# End of IPX SAP configuration
#----------------------------------------------------------
# IPX NETBIOS configuration
#----------------------------------------------------------
pushd routing ipx netbios
popd
# End of IPX NB configuration
# IP Configuration
pushd routing ip
reset
set loglevel error
add preferenceforprotocol proto=LOCAL preflevel=1
add preferenceforprotocol proto=NetMgmt preflevel=10
add preferenceforprotocol proto=STATIC preflevel=3
add preferenceforprotocol proto=NONDOD preflevel=5
add preferenceforprotocol proto=AUTOSTATIC preflevel=7
add preferenceforprotocol proto=OSPF preflevel=110
add preferenceforprotocol proto=RIP preflevel=120
add interface name="Outside Network" state=enable
set filter name="Outside Network" fragcheck=disable
add interface name="Outside Network" state=enable
set filter name="Outside Network" fragcheck=disable
add interface name="Inside Network" state=enable
set filter name="Inside Network" fragcheck=disable
add interface name="Internal" state=enable
set filter name="Internal" fragcheck=disable
add interface name="Loopback" state=enable
set filter name="Loopback" fragcheck=disable
popd
# End of IP configuration
# ----------------------------------
# DNS Proxy configuration
# ----------------------------------
pushd routing ip dnsproxy
uninstall
popd
# End of DNS proxy configuration
# ----------------------------------
# IGMP Configuration
# ----------------------------------
pushd routing ip igmp
uninstall
popd
# End of IGMP configuration
# ----------------------------------
# NAT configuration
# ----------------------------------
pushd routing ip nat
uninstall
popd
# ----------------------------------
# OSPF configuration
# ----------------------------------
pushd routing ip ospf
uninstall
popd
# End of OSPF configuration
# ----------------------------------
# DHCP Relay Agent configuration
# ----------------------------------
pushd routing ip relay
uninstall
popd
# End of DHCP Relay configuration
# ----------------------------------
# RIP configuration
# ----------------------------------
pushd routing ip rip
uninstall
popd
# End of RIP configuration
# ----------------------------------
# Router Discovery Configuration
# ----------------------------------
pushd routing ip routerdiscovery
uninstall
add interface name="Outside Network" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Outside Network" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Inside Network" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Internal" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Loopback" disc=disable minint=7 maxint=10 life=30 level=0
popd
# ----------------------------------
# DHCP Allocator Configuration
# ----------------------------------
pushd routing ip autodhcp
uninstall
popd
# End of DHCP Allocator Configuration
# ------------------------------------
# Bridge configuration (not supported)
# ------------------------------------
# ------------------------------------
# End of Bridge configuration
# ------------------------------------