home | list info | list archive | date index | thread index

[OCLUG-Tech] Set up a SAMBA server

Anyone have a simple TID/HowTo to set up a SAMBA a secure SAMBA service to be used by only one subnet on a network.  For example only on 192.168.1,X  (wired network) but not 192.168.10.X (WiFi)


1)      Install Ubuntu 12.04 Server

2)      Install Basic Gnome Desktop (sorry I am not as experienced with command line)

3)      Create two accounts FileRead FileWrite

4)      apt-get install samba

Now this is where someone with experience comes in.


5)      Create a share directory (I would say /home/samba)

6)      Directory Rights? (chmod)

7)      Edit samba.cfg file

a.       Workgroup - SAMBA

b.      Share /home/samba

                                                              i.      FileRead - Read only

                                                            ii.      FileWrite - Read/Write

8)      Set up the IPTables

a.       Block all ports all networks

b.      Open SAMBA ports on 192.168.1.X

Any input on this would be greatly appreciated.

Thanks.

T. James