#========================
# Interface configuration
#========================
pushd interface 


popd
# End of interface configuration



# ----------------------------------
# 6to4 Configuration
# ----------------------------------
pushd interface 6to4

reset



popd
# End of 6to4 configuration



# ----------------------------------
# IPHTTPS Configuration
# ----------------------------------
pushd interface httpstunnel

reset


popd
# End of IPHTTPS configuration



# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4

reset
set global icmpredirects=enabled
add route prefix=0.0.0.0/0 interface="Ethernet" nexthop=192.168.0.210 publish=Yes
add address name="Ethernet" address=192.168.0.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.8.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.102.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.1.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.9.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.21.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.2.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.6.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.70.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.100.254 mask=255.255.255.0
add address name="Ethernet" address=192.168.24.223 mask=255.255.255.0
add address name="Ethernet" address=192.168.25.223 mask=255.255.255.0


popd
# End of IPv4 configuration



# ----------------------------------
# IPv6 Configuration
# ----------------------------------
pushd interface ipv6

reset
set interface interface="Wi-Fi" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
set interface interface="Local Area Connection* 2" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled


popd
# End of IPv6 configuration



# ----------------------------------
# ISATAP Configuration
# ----------------------------------
pushd interface isatap



popd
# End of ISATAP configuration



# ----------------------------------
# 6to4 Configuration
# ----------------------------------
pushd interface 6to4

reset



popd
# End of 6to4 configuration



# ----------------------------------
# ISATAP Configuration
# ----------------------------------
pushd interface isatap



popd
# End of ISATAP configuration


#========================
# Port Proxy configuration
#========================
pushd interface portproxy

reset
add v4tov4 listenport=9543 connectaddress=172.22.37.141 connectport=9543
add v4tov4 listenport=3478 connectaddress=172.22.37.141 connectport=3478
add v4tov4 listenport=5005 connectaddress=172.22.37.141 connectport=5005
add v4tov4 listenport=5514 connectaddress=172.22.37.141 connectport=5514
add v4tov4 listenport=5671 connectaddress=172.22.37.141 connectport=5671
add v4tov4 listenport=6789 connectaddress=172.22.37.141 connectport=6789
add v4tov4 listenport=8080 connectaddress=172.22.37.141 connectport=8080
add v4tov4 listenport=8443 connectaddress=172.22.37.141 connectport=8443
add v4tov4 listenport=8444 connectaddress=172.22.37.141 connectport=8444
add v4tov4 listenport=8880 connectaddress=172.22.37.141 connectport=8880
add v4tov4 listenport=8881 connectaddress=172.22.37.141 connectport=8881
add v4tov4 listenport=8882 connectaddress=172.22.37.141 connectport=8882
add v4tov4 listenport=11084 connectaddress=172.22.37.141 connectport=11084
add v4tov4 listenport=11443 connectaddress=172.22.37.141 connectport=11443


popd

# End of Port Proxy configuration



# ----------------------------------
# TCP Configuration
# ----------------------------------
pushd interface tcp

reset

set global rss=enabled autotuninglevel=normal congestionprovider=default ecncapability=disabled timestamps=allowed initialrto=1000 rsc=enabled nonsackrttresiliency=disabled maxsynretransmissions=4 fastopen=enabled fastopenfallback=enabled hystart=enabled prr=enabled pacingprofile=off


popd
# End of TCP configuration



# ----------------------------------
# Teredo Configuration
# ----------------------------------
pushd interface teredo
set state type=disabled servername=win1910.ipv6.microsoft.com. servervirtualip=0.0.0.0



popd
# End of Teredo configuration



# ----------------------------------
# UDP Configuration
# ----------------------------------
pushd interface udp

reset

set global uro=enabled


popd
# End of UDP configuration


# ------------------------------------
# Bridge configuration (not supported)
# ------------------------------------

# ------------------------------------
# End of Bridge configuration
# ------------------------------------

The 'netsh advfirewall dump' command is not implemented in this version
of Windows. Instead, use the 'netsh advfirewall export' command to write
the current Windows Defender Firewall with Advanced Security configuration from
the current policy store to a file on disk. You can then use 'netsh
advfirewall import' to read the file and load it into another policy
store, such as a Group Policy object or the current policy store on
another computer. To set the current policy store, use the 'netsh
advfirewall set store' command.
For more information about the commands in the netsh advfirewall context,
see Netsh Commands for Windows Defender Firewall with Advanced Security at
https://go.microsoft.com/fwlink/?linkid=111237.
# ----------------------------------------
# Wired LAN Configuration
# ----------------------------------------
pushd lan


popd

# End of Wired LAN Configuration.


Mobile Broadband configuration dump is not supported

                                            
# ----------------------------------------- 
# Remote Access Configuration               
# ----------------------------------------- 
pushd ras

set authmode mode = standard
delete authtype type = PAP
delete authtype type = MD5CHAP
delete authtype type = MSCHAPv2
delete authtype type = EAP
delete authtype type = CERT
add authtype type = MSCHAPv2
delete link type = SWC
delete link type = LCP
add link type = SWC
add link type = LCP
delete multilink type = MULTI
add multilink type = MULTI
set conf confstate = disabled
set type ipv4rtrtype = lananddd ipv6rtrtype = none rastype = ipv4
set wanports device = "WAN Miniport (SSTP)" rasinonly = disabled ddinout = disabled ddoutonly = disabled maxports = 2 
set wanports device = "WAN Miniport (IKEv2)" rasinonly = disabled ddinout = disabled ddoutonly = disabled maxports = 2 
set wanports device = "WAN Miniport (L2TP)" rasinonly = disabled ddinout = disabled ddoutonly = disabled maxports = 2 
set wanports device = "WAN Miniport (PPTP)" rasinonly = disabled ddinout = disabled ddoutonly = disabled maxports = 2 
set wanports device = "WAN Miniport (PPPOE)" ddoutonly = disabled

set user name = Administrator dialin = policy cbpolicy = none 
set user name = AlexandruLazar dialin = policy cbpolicy = none 
set user name = DefaultAccount dialin = policy cbpolicy = none 
set user name = Guest dialin = policy cbpolicy = none 
set user name = user dialin = policy cbpolicy = none 
set user name = WDAGUtilityAccount dialin = policy cbpolicy = none 

set ikev2connection idletimeout = 5 nwoutagetime = 30
set ikev2saexpiry saexpirytime = 60 sadatasizelimit = 32767

popd

# End of Remote Access configuration.        
                                             
                                             

                                            
# ----------------------------------------- 
# Remote Access Diagnostics Configuration   
# ----------------------------------------- 
pushd ras diagnostics

set rastracing component = * state = disabled

set modemtracing state = disabled

set cmtracing state = disabled

set securityeventlog state = disabled

set loglevel events = warn


popd

# End of Remote Access Diagnostics Configuration.
                                                 
                                                 

                                            
# ----------------------------------------- 
# Remote Access IP Configuration            
# ----------------------------------------- 
pushd ras ip

delete pool

set negotiation mode = allow
set access mode = all
set addrreq mode = deny
set broadcastnameresolution mode = enabled
set addrassign method = auto
set preferredadapter 

popd

# End of Remote Access IP configuration.     
                                             

                                            
# ----------------------------------------- 
# Remote Access IPv6 Configuration          
# ----------------------------------------- 
pushd ras ipv6



set negotiation mode = deny
set access mode = all
set routeradvertise mode = enabled

popd

# End of Remote Access IPv6 configuration.   
                                             

                                            
# ----------------------------------------- 
# Remote Access AAAA Configuration          
# ----------------------------------------- 
pushd ras aaaa


popd

# End of Remote Access AAAA configuration.     
                                               
                                               


# -----------------------------------------
# WinHTTP Proxy Configuration
# -----------------------------------------
pushd winhttp

reset proxy

popd

# End of WinHTTP Proxy Configuration

# ----------------------------------------
# Wireless LAN configuration
# ----------------------------------------
pushd wlan

# Allow filter list
# ----------------------------------------


# Block filter list
# ----------------------------------------


popd
# End of Wireless LAN Configuration
