fiddyschmitt / File-Tunnel

Tunnel TCP connections through a file
MIT License
872 stars 74 forks source link

SMB using non standard port #6

Open fiddyschmitt opened 5 months ago

fiddyschmitt commented 5 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 5 months ago

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

Notes here

WinDivert

Windows Filtering Platform

fiddyschmitt commented 1 month ago

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

fiddyschmitt commented 1 month 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 1 month ago

Didn't working using rclone serving SMB