[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SAMBA and multi-homed



*- On 19 Jul, Fabien Salvi wrote about "SAMBA and multi-homed"
> Hello.
> 
> I have a server configured with 2 NIC (eth0 eth1)
> I want samba to listen only on 1 interface. (the interface eth0).
> 
> Is it possible ?
> 
> I've done the same with other software (apache, squid...)
> I have not found something like that in docs.
> 
> Maybe I can block it with hosts.deny but I'd prefere block all on 1
> interface.
> 

I don't have your setup but a quick look in the smb.conf man page under
the 'interfaces' and 'bind interfaces only' options should be what you
want.

Bacially set 'bind interfaces only = true' and then list the specific
interfaces you want under the interfaces option.

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------




Reply to: