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

Re: close port 139(samba) on one interface?



This one time, at band camp, ernst said:
> 
> Hi Gurus ,
> 
> I need some help with a debian box, runnin 2.4.18, nice stable box.
> The problem is that I would like to close samba services(I think that
> is the samba service) on eth0 and still let eth1 use it.
> 
> Can anyone please help? or point me in the right direction.

I do the same thing here.  I use xinetd rather than inetd, because it
supports running a service on only one interface.  I also use iptables
to drop packets attempting to connect to that port on eth0.

HTH,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Why isn't there a special name for the  |
|  steve@lobefin.net             | tops of your feet?   -- Lily Tomlin     |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpcgblmn35fW.pgp
Description: PGP signature


Reply to: