Skip to main content
added 1 character in body
Source Link
xavier_fakerat
  • 10.4k
  • 6
  • 44
  • 105

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliateaffiliated with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliated with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

screen-shots resized
Source Link
Robert
  • 23k
  • 6
  • 55
  • 76

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description hereenter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description hereenter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description hereenter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

fixed ambuguity and disclaimer
Source Link
xavier_fakerat
  • 10.4k
  • 6
  • 44
  • 105

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root supportingand it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root supporting SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

You can use Samba server to achieve that, and for that purpose I'd recommend LAN Drive and it works without root and it supports SMB1 (CIFS) and SMB2 protocols.

In this way, the device acts as a network drive where you can manipulate files/folders (copy/paste/move/delete etc) as if there were on local drive. However a little well known obstacle is that Windows can access a samba share only on TCP port 445, and on a non-rooted android a normal application can't listen on port 445.

As mentioned already in this post: Using SMB server without root access,

SMB either runs on ports 137-139 (UDP and TCP) using NetBIOS or on newer systems (from Windows Vista onwards) directly on TCP port 445 where in the latter case computer names are resolved by the LLMNR (Link-local Multicast Name Resolution) protocol which runs on UDP port > 5355

.

Thus apps not running as root can't bind to unprivileged ports (<1024). This is possible, nevertheless using TCP Port mapping. You need to install a port mapping software.

Instructions

  1. Install the port forwarder - Multi Port Forwarder (the suggested one in App's tutorial)
  2. Configure the port forwarder:
  • The rules we will implement :

  • Rewrite outgoing TCP packets to ip-phone:445 become ip-phone:1445

  • Cloning outgoing UDP packets to any:137 become any:1137
  • Cloning outgoing UDP packets to any:138 become any:1138 Note: We clone the UDP

packets to not break the actual network discovery.

  1. Add TCP, UDP rules and save

enter image description here

  1. Change the ports in the LAN drive settings, click the Save button and Start the server:

enter image description here

  1. Go back to Explorer in the network places (Windows), and access LAN drive

enter image description here

Disclaimer: I'm not affiliate with LAN Drive software

Acknowledgements

LAN drive - Samba Filesharing Server SMB1 and SMB2

revised
Source Link
xavier_fakerat
  • 10.4k
  • 6
  • 44
  • 105
Loading
revised
Source Link
xavier_fakerat
  • 10.4k
  • 6
  • 44
  • 105
Loading
Source Link
xavier_fakerat
  • 10.4k
  • 6
  • 44
  • 105
Loading