[Samba] Using the right network interface

John H Terpstra jht at samba.org
Thu Jan 2 18:01:03 GMT 2003


On Thu, 2 Jan 2003, Ronan Waide wrote:

> On December 10, jht at samba.org said:
> >
> > Try adding to smb.conf [globals]:
> >
> > 	interfaces = eth0 loOB

Check that this says:

	interfaces = eth0 lo

where lo is whatever the loopback interface is called on your system. To
find it's name run 'ifconfig -a'

The OB is a glitch.

> > 	bind interfaces only = Yes
>
> Digging up this thread again:
>
> the current redhat version of samba seems to disregard the setting of
> 'bind interfaces only', as I'm still getting occasional external scans
> poking at my nmbd and getting a response. I had thought it was working
> correctly until I spotted a scan going through.

What is the output of 'netstat -a'?

HAve you set up a firewall on your system? How have you firewalled port
137/udp?

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list