LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2008, 02:51 PM   #1
ngjunkie0011
Member
 
Registered: Jun 2005
Location: New York
Distribution: Ubuntu Studio
Posts: 105

Rep: Reputation: 15
Setting up printer and File sharing ONLY on Local Network


Is there anyone with experience that has done the following or can recommend a good solution to implement the following:

Task:
Set up file and printer sharing @ home allowing access only to local home network.

Equipment:
Network consists of a cable modem, a router, and linux clients and potentially windows clients as well. I have an old PII that will be used to share a USB HD and a printer.

I want to try this set up first with security in mind. Once I am more knowledgeable and have better grasp of linux networking I will configure the file sharing so that I can access it from anywhere. Right now I am still a linux networking novice.

I am willing to try any distro that you recommend. Is it safe to just configure samba and turn on file and printer sharing on my ubuntu box? Or is it better to use a networking flavor of ubuntu like nubuntu? I can do without the GUI. How does the filtering get done? Through samba or should the ubuntu box filter traffic through a firewall?

Can someone please steer me in the right direction!
 
Old 10-09-2008, 08:47 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The router should isolate your 192.168.x.x network from the internet. No special configuration required.
--- rod.
 
Old 10-09-2008, 10:48 AM   #3
ngjunkie0011
Member
 
Registered: Jun 2005
Location: New York
Distribution: Ubuntu Studio
Posts: 105

Original Poster
Rep: Reputation: 15
Will it matter if I install a server version of ubuntu?
 
Old 10-09-2008, 12:05 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Server version simply implies the general style of included packages. The network still behaves the same. It is the router which is important. No conforming IP router is supposed to pass any of the classes of private IPs. Most home networks use the 192.168.x.x class.
--- rod.
 
Old 10-10-2008, 02:05 PM   #5
ngjunkie0011
Member
 
Registered: Jun 2005
Location: New York
Distribution: Ubuntu Studio
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by theNbomr View Post
Server version simply implies the general style of included packages. The network still behaves the same. It is the router which is important. No conforming IP router is supposed to pass any of the classes of private IPs. Most home networks use the 192.168.x.x class.
--- rod.
I thought my setup as it was, computers on the internet could still access my machine. I have a linksys router connected to my cable modem at home. I am going to try the setup with a PII machine with xubuntu on it. I already installed xubuntu, the next step will be to configure the file and printer sharing. Once that is up and running and am familiar configuring everything I will then try installing nubuntu. Once I am confident my setup is secure I will then configure my server so that I can access it from anywhere on the internet. Thank you very much for pointing me in the right direction!!!
 
Old 10-10-2008, 05:10 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The router could, if so configured, forward from the internet to the local LAN. Since no other router should be putting 192.168.X.X traffic on the WAN, there will be no packets addressed to your local hosts. Your router certainly should not pass any such traffic unless specifically configured to do so.
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Krfb (Desktop Sharing) outside local network? FooAtari Linux - Desktop 0 05-20-2008 11:09 AM
Trouble Sharing Local Printer using Samba and CUPS for Windows systems Electro Linux - Networking 3 01-17-2007 10:54 PM
Printer sharing/ local network cotom Linux - Newbie 3 10-02-2005 09:58 AM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM
Setting up home network w/printer sharing. Morbid Linux - Networking 3 03-22-2004 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration