View Single Post
  #5  
Old October 18th 18, 09:42 PM posted to alt.comp.os.windows-10,microsoft.public.windowsxp.general,comp.mobile.android
Frank Slootweg
external usenet poster
 
Posts: 1,226
Default What's the best way to forward SMB TCP port 445 to something higher than 1024 on Windows?

Arlen Holder wrote:
On 18 Oct 2018 18:13:13 GMT, Frank Slootweg wrote:

I re-checked my notes and at the time, I looked at:

'SMB cifs samba file server'
https://play.google.com/store/apps/details?id=com.imperioustech.www.sambaserver
"Uses Standard port 445 for rooted devices and automatically
selects a suitable port for non-rooted devices."

I didn't proceed with this, for the very reason you are now
investigating, the need to map port 445 to a port number above 1024.

Perhaps 'SMB cifs samba file server' is a candidate for you to
investigate.


Hi Frank,
Thanks for your helpful advice.

Given that we seek a general solution that works for most people,
you're correct that the way to approach solving this age-old problem
is in two parts, where we (first) find an Android SMB server that can work
on ports higher than 1024 on Nougat and above without being root, and then
we (second) map Windows SMB TCP requests to be on the same higher-than-1024
port (e.g., 7777).

Unfortunately, that com.imperioustech.www.sambaserver APK isn't on Google
Play, or on F-Droid,


Hmmm!? I thought I checked the Google Play URL before posting, but
apparently I didn't.

If you want to have a look at it, the APK *is. - of course! :-) - on
Apkpu

https://apkpure.com/smb-cifs-samba-file-server/com.imperioustech.www.sambaserver

That it's no longer on Google Play and rather old (2015-12-12) is not
very promising. But as - so far - you're empty-handed...

so, while both problems are formidable, we're stuck
with no resolution until we can find an SMB server for Android that can
change the port without being root.

Once we get an SMB server working, we can map Windows TCP port 445-7777.
So we're all stuck, until we can find an SMB server that works sans root.

Ads