SMB
) is used compared to the
older versions of Windows (Netbios over TCP/IP
or CIFS
).
hdwwiz.exeThe Hardware Wizard will come up:
smb
driver for all interfaces.
By delaying the startup of the smb
driver and by installing a
portproxy
rule we can circumvent this. This section explains how
to do this:
smb
driver:sc config smb start= demandNOTE the space after the
start=
!
portproxy
rule to reroute TCP port 445 to a port of
our choosing. For this tutorial, I choose 44445:
netsh interface portproxy add v4tov4 listenaddress=10.255.255.1 listenport=445 connectaddress=10.255.255.1 connectport=44445IMPORTANT NOTES:
listenaddress
is the address of the Loopback adapter
configured in the section earlier
connectaddress
must be identical to the listenaddress
listenaddress=127.0.0.1
does not work. Believe me, I've tried.
portproxy
rule is persisent , so there should be no need to repeat
this step after a reboot.
c:\windows\system32\net.exe
'
start smb
'
sc query smbThe SMB driver should be in the state Running.
portproxy
was applied successfully by checking the open ports
on the system. Type in the command console
netstat -an | find ":445 "You should see something like
TCP 10.255.255.1:445 0.0.0.0:0 LISTENINGIf you see '
0.0.0.0:445
' instead then the 'portproxy' rule was not applied
correctly.
port-forwarding
:
login.nikhef.nl
. Choose host login2.nikhef.nl
and protocol SSH.
login2.nikhef.nl
as normal.
login2.nikhef.nl
and press OK.
login.nikhef.nl
and press OK.
smb
driver by typing
sc config smb start= autoNOTE the space after the
start=
!
portproxy
rule by typing
netsh interface portproxy delete v4tov4 listenaddress=10.255.255.1 listenport=445
Device Manager
by typing
devmgmt.mscExpand the 'Network Adapters', right-click on Loopback adapter and select Uninstall.