RE: Routing question -- Samba
You can do that within the smb.conf Use SWAT, advanced options, I think just for the share... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marius Kirschner Sent: Monday, 9 February 2004 12:40 To: [EMAIL PROTECTED] Subject: Routing question -- Samba 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? ---Marius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Routing question -- Samba
Look in the Samba config for the following setting, it is IP based so you should be OK with what you want. # This option is important for security. It allows you to restrict hosts allow = 192.168.1. 127. HTH, Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marius Kirschner Sent: Monday, February 09, 2004 3:40 PM To: [EMAIL PROTECTED] Subject: Routing question -- Samba 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? ---Marius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing question -- Samba
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 192.168.1.0/24 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 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]