How to Disable Uneeded Services?

Busthead

Dabbler
Joined
Oct 11, 2017
Messages
34
Is there a recommended method to disable unnecessary daemons? My FreeNAS box is needlessly listening on several ports:

137 UDP
139 TCP
260 UDP,TCP
557 UDP,TCP
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
You can run the command sockstat to see what service is using the port in question, and then disable relevant service. For instance, nmbd is the NetBIOS name server and it can be disabled under Network->Global Configuration.
 

Busthead

Dabbler
Joined
Oct 11, 2017
Messages
34
Thanks for the guidance. There's nothing about NetBIOS under Network->Global Configuration. I'm running v11.3

1614205049028.png
 

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,829
Can you isolate those ports via the switch or the router?
 
Top