Firewall ports for File Sharing?

Chiefcrowe

Diamond Member
Sep 15, 2008
5,053
196
116
If I have a computer in a restricted DMZ and would like to map a drive to it to share files from a folder, which ports would I have to open to allow that to happen?

Thanks!!
 

Elixer

Lifer
May 7, 2002
10,371
762
126
Here you go...

The following ports are associated with file sharing and server message block (SMB) communications:

Microsoft file sharing SMB: User Datagram Protocol (UDP) ports from 135 through 139 and Transmission Control Protocol (TCP) ports from 135 through 139.
Direct-hosted SMB traffic without a network basic input/output system (NetBIOS): port 445 (TCP and UPD).

Some more info here http://superuser.com/questions/764623/what-port-or-ports-are-used-for-file-sharing-in-windows