fiddyschmitt / File-Tunnel

Tunnel TCP connections through a file
MIT License
894 stars 79 forks source link

SMB using non standard port #6

Open fiddyschmitt opened 7 months ago

fiddyschmitt commented 7 months ago

Currently, the Windows client does not allow connections to a non standard SMB port.

eg.

\\127.0.0.1:5000

But it may be possible in the future according to this article: https://techcommunity.microsoft.com/t5/storage-at-microsoft/smb-alternative-ports-now-supported-in-windows-insider/ba-p/3974509

Add an example when this is possible.

fiddyschmitt commented 6 months ago

Also consider using WinDivert or Windows Filtering Platform to intercept & forward SMB requests.

Notes here

WinDivert

Windows Filtering Platform

fiddyschmitt commented 3 months ago

A workaround is to use port forward (before LanManServer service starts) as described here

fiddyschmitt commented 3 months ago

ddproxy maybe Edit: Need to turn on test signing and install a certificate, plus it appears it only supports ICMP and UDP.

fiddyschmitt commented 3 months ago

Didn't working using rclone serving SMB