On Mon, Feb 09, 2004 at 03:40:04PM -0500, Marius Kirschner wrote:
> I have a 4.9 box that's on a public IP and I want to configure Samba so it
> only accepts connections from the private network (192.168.1).  My question
> is, can I do that with only 1 NIC card or do I have to add a second NIC for
> the private LAN?

You can do make samba accept only on the network by
specifying the "hosts allow" directive on smb.conf. However, if you
have the public IP and private network on the same NIC, people can
spoof your `private' network and get onto your box.
Jonathan Chen <[EMAIL PROTECTED]>
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to