Blocking UDP ports in external interfaces

eperez at eperez at
Sun Sep 16 14:53:03 GMT 2001

Hi people, i have some question about how to close udp ports in my
smb.conf file. Here I go....

I have the following in my smb.conf file:
bind interfaces only = true
interfaces = eth0 lo
socket address =
host allow = 192.168.0.

But doing netstat -n -all shows ports 137-138 udp listening in,
how do
i block these ports without using some firewall (iptalbes,ipchains) rules.
Basically because i like to close everything manually before doing some
firewalling rules.
 Im using Mandrake 8.0 w latest samba .

Thanks people,

Erick Perez
Net Admin


More information about the samba mailing list