In this guide, we demonstrate how to use the NoPorts Tunnel to mount a SMB share on a remote development machine on to localhost:9000 so we can access the SMB share service locally.

The command should look like:

npt -f @alice_client -t @alice_device -d my_server -r @rv_am -p 445 \
-h -l 9000

NOTE Make sure the sshnpd daemon is allowing port 445 to the SMB file server see Basic Usage for details.

Now you can mount the SMB share locally using the finder app ( Go->Connect to server) on MacOs

Once mounted you can use the file share as normal, as you dismount the file share the NPT command will disconnect.

Windows mounting on a non-standard port is currently not supported by Microsoft but they are working on it.

If you need this functionality, it is possible but fiddly to set up, contact us if you want to know how.

To learn more about NPT

Last updated