Atom2004 Posted October 6, 2021 Share Posted October 6, 2021 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. Quote Link to comment
JonathanM Posted October 6, 2021 Share Posted October 6, 2021 Do not allow WAN share access by forwarding ports. Set up wireguard VPN, it's built in to Unraid. Quote Link to comment
Atom2004 Posted October 7, 2021 Author Share Posted October 7, 2021 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. Quote Link to comment
Turnspit Posted October 7, 2021 Share Posted October 7, 2021 Default SMB-Port is 445. Quote Link to comment
Atom2004 Posted October 19, 2021 Author Share Posted October 19, 2021 (edited) On 10/7/2021 at 3:40 PM, Turnspit said: Default SMB-Port is 445. But I tried to allow only 445 port for TCP/UDP protocol. It doesn't work. Edited October 19, 2021 by Atom2004 Quote Link to comment
Frank1940 Posted October 19, 2021 Share Posted October 19, 2021 google TCP/UDP ports Note that there are many different ports that have to be open depending on what service you need. You might also want to google about security with using UDP ports... Quote Link to comment
Recommended Posts
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.