Ports used for file sharing?
Solved
led
-
Dd75 -
Dd75 -
Hello,
I replaced my Filseclab firewall with Look'n'stop because Filseclab was preventing Apache from starting. I'm configuring Look'n'stop bit by bit.
I'm currently at the Windows file sharing stage and I would like to understand which ports are used: I found on a Microsoft support site that ports 137 to 139 are used in TCP and UDP, but apparently that’s not enough. I had to create a rule to allow ICMP packets with "code 0 and type 8", as well as rules for UDP ports 1345 to 1348.
Anyway, I really don't understand which ports are essential for file sharing.
Does anyone know of a tutorial or a site with a clear and, above all, comprehensive explanation on this subject?
Thanks in advance
I replaced my Filseclab firewall with Look'n'stop because Filseclab was preventing Apache from starting. I'm configuring Look'n'stop bit by bit.
I'm currently at the Windows file sharing stage and I would like to understand which ports are used: I found on a Microsoft support site that ports 137 to 139 are used in TCP and UDP, but apparently that’s not enough. I had to create a rule to allow ICMP packets with "code 0 and type 8", as well as rules for UDP ports 1345 to 1348.
Anyway, I really don't understand which ports are essential for file sharing.
Does anyone know of a tutorial or a site with a clear and, above all, comprehensive explanation on this subject?
Thanks in advance
Configuration: Windows XP SP2 Firefox 2.0.0.9 look'n'stop 2.06
6 réponses
UDP ports 137, 138, and 139 are used for resource sharing in Windows operating systems. When a workstation connects to a shared directory on another machine, the NetBIOS name of the server machine is matched with its IP address. Then, the workstation establishes a TCP connection to the server machine using TCP port 139. Finally, the workstation sends a NetBIOS session request to the server machine. If the server is listening, it will respond to the request, and the NetBIOS session will be established. However, if the server does not respond or if the server workstation is turned off, the session will attempt to connect to hypothetical external servers (on the INTERNET). Port 138 is used for data exchange to one or more NetBIOS names grouped under an address list or in a broadcast list.
That's why 4 ports ;)
That's why 4 ports ;)
I am going to test accessing my NAS remotely
Best regards
Dominique