Which port should I forwards for SMB shares


Recommended Posts

I build up an unraid server and the SMB share folders, and I they work find in my local networks.

Now I need to connect the SMB share folders from internet. Which port should forwards by the firewall.

 

If forwards TCP and UDP port 1-65535, SMB works. But forwards TCP and UDP port 137-139 and 445, it doesn't work.

Link to comment
15 hours ago, JonathanM said:

Do not allow WAN share access by forwarding ports. Set up wireguard VPN, it's built in to Unraid.

Yes I already set up the VPN in firewall, but I don't want to expose all the local networks for the VPN user. So I want to just allow the VPN user to connect specified IP and port about SMB shares.

 

Now, I can control the VPN user whether the IP and port can be connected. So I want to know which port actually needs about Unraid SMB services.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.