192.168.192.168 (255.255.255.0)
C:\Programs\ZeBeDee
C:\Programs\ZeBeDee\SERVERNAME_client.zbd
#### # Zebedee client configuration file verbosity 1 detached false # (false for service) # Client mode server false serverport 8080 # serverhost SERVERNAME.domain.tld, this is the server-adress serverhost 1.2.3.4 # ZBD-Loopback connector for SERVERNAME, the one installed above, you need one for each server... listenip 192.168.192.168 ipmode both # Operate in mixed TCP/UDP mode compression zlib:9 # Allow maximum zlib compression keylength 256 # Allow keys up to 256 bits keylifetime 36000 # Shared keys last 10 hours keygenlevel 2 # Generate maximum strength private keys maxbufsize 16383 # Allow maximum possible buffer size logfile 'c:\Programs\Zebedee\SERVERNAME_client.log' # include 'c:\Programs\Zebedee\COMPUTERNAME.key' # Setup tunnels tunnel 445/tcp:*:445 # SMB via tunnel tunnel 3389/tcp:*:3389 # Remote Desktop via tunnel
C:\Programs\ZeBeDee\SERVERNAME_client_install.cmd
c: cd \programs\zebedee zebedee -n "ZeBeDee-SERVERNAME-p8080" -Sinstall=c:\programs\zebedee\SERVERNAME_client.zbd rem zebedee -n "ZeBeDee-SERVERNAME-p8080" -Sremove
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole] "EnableDCOM"="N" "EnableRemoteConnect"="N" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters] "TransportBindName"="" "SmbDeviceEnabled"=dword:0 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP6\Parameters] "DisabledComponents"=dword:000000ff
netstat -an
to see that 0.0.0.0 does not bound to 445
reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xffffffff
C:\Programs\ZeBeDee
C:\Programs\ZeBeDee\SERVERNAME_server.zbd
#### # Zebedee SERVER configuration file # verbosity 0 # (0-5) Output to logg file, when everything ok set to 0... detached false # (false for service) # Server mode server true serverport 8080 # Some communcation parameters ipmode both # Operate in mixed TCP/UDP mode compression zlib:9 # Allow maximum zlib compression keylength 256 # Allow keys up to 256 bits keylifetime 36000 # Shared keys last 10 hours keygenlevel 2 # Generate maximum strength private keys maxbufsize 16383 # Allow maximum possible buffer size # The Public key for the server include 'c:\Programs\Zebedee\SERVERNAME.key' # The logfile, adjust verbosity above logfile 'c:\Programs\Zebedee\SERVERNAME_server.log' # Private keys, se example checkidfile 'c:\Programs\Zebedee\SERVERNAME_clients.id' # no default redriection redirect none # Tip Use real IP instead of localhost for server # Setup ALLOWED targets SERVERNAME IP=192.168.0.11 target 192.168.0.11:445,3389 target 192.168.0.11
C:\Programs\ZeBeDee\SERVERNAME_server_install.cmd
c: cd \programs\zebedee zebedee -n "ZeBeDee-SERVERNAME" -Sinstall=c:\programs\zebedee\SERVERNAME_server.zbd rem zebedee -n "ZeBeDee-SERVERNAME" -Sremove
NET USE X: \\192.168.192.168\Shares
Remember to use both allowed targets at SERVER and tunnel at CLIENT when adding ports.
C:\Programs\ZeBeDee\KeyIdGen.cmd
set c=%1 if "%c%"=="" set c=%COMPUTERNAME% cd c:\programs\zebedee zebedee -p >%c%.key zebedee -P -f %c%.key >%c%.id
Remember to append the SERVERNAME_clients.id
file with the row in COMPUTERNAME.id
file.