LinuxQuestions.org
Review your favorite Linux distribution.
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 07-01-2003, 03:37 PM   #1
jonnieo
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: Red Hat 9.0
Posts: 17

Rep: Reputation: 0
Question Setting up learning network --help


I am in the process of learning as much about Linux as I can and have decided to use primarily Linux in my business endeavor set to launch in about 5 months or so. Here is my problem, I have installed RH 9 on my laptop dula booting it with Win XP. I am looking to set up the laptop so I can read/write from one partition to the other. I am currently setup on the XP side as NTFS, which I understand from RH won't ever be fully supported for write access, so I will be converting that partion to FAT 32.

I assume that I will need to mount the XP partion in Linux in order to access it. Is this correct? Also will I need to setup a virtual directory for windows in Linux?


Problem 2: I want to build a Linux based network here at my home before implementing it at my business site in 5 or 6 months and use it to learn as much as I can. My set up is this:
  • I currently connect to the net via ADSL and have a router which hands out up to 4 dynamic internal ips (although they rarely change).
  • I have the router connected to the phone jack and then to a hub, in which I have 3 other machines (2 Windows XP and my RH9/XP laptop)
  • All the machines can see and exchange files with each other when all running XP

I would like to set up a Linux box that will:
  • Act as a firewall and provide me with logs and easily managed interface
  • Perform duties of a DHCP server and hand out internal IP's that I can manage
  • Act as a print server for at least one and possibly 5 different printers
  • Perform user authentication and manage user accounts
  • Perform internet content filtering
  • Act as a web server for internal access (Intranet)
  • I would also like to be able to admister this network from my laptop
As I learn more about this great System I may be incorporating a wireless hub into the mix for the laptop.

So, if anyone has anything I should know or know of some great tutorials for a real I would greatly appreciate it.
 
Old 07-02-2003, 08:09 PM   #2
bobr
Member
 
Registered: Jun 2003
Distribution: MANDRAKE-REDHAT
Posts: 70

Rep: Reputation: 15
what i remember from my NT days , i think you have to format first to convert back to vfat, in any case if you succeed with that, boot to linux, check
/etc/fstab to see if your windos partition is there, it's usually mounted under /mnt/windows,(cfdisk will tell you the partition name) if its listed in /etc/mtab its already mounted and just 'cd' into
/mnt/windows, do 'ls' and your just a 'cp' away form sharing
 
Old 07-02-2003, 09:08 PM   #3
youngri
Member
 
Registered: Jun 2003
Location: Sydney Australia
Distribution: SUSE / PCLinuxOS / MEPIS
Posts: 65

Rep: Reputation: 15
Hi,

Check out www.freesco.org They provide a configuration of linux that boots from a floppy disk (Although to add more services a harddisk is preferable) that will provide routing, DHCP, print, web and firewall services!

Buggered if I know about content filtering though!

Richard
 
Old 07-03-2003, 12:28 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
First, change your expectations right now. Don't try to make a firewall run services that should never be run on a bastion host.

These services should be on the firewall:
Port filtering/blocking/forwarding
DHCP daemon
Filtering proxy (when you say "content filtering" I'm assuming you mean blocking HTTP access to sites with questionable content)

You should have a separate, internal server for:
Intranet server
Print server
User authentication & accounting

You can configure both to be administered in various ways, depending on the software you install. Many have web administration clients that you can use in a browser. For anything that doesn't have a thin client, you can use Command Line Interface access with ssh.

You can build a Linux-based firewall extremely cheaply. I just built one with $200 worth of new hardware (and a spare HDD). The other server might need a little bit more horsepower depending on what you want to run on it, but it doesn't sound like you're really going to be loading it down.

The reason why the filtering services and the content services should be on two different hosts is for security. Every extra service you add to your firewall is another application which can potentially be comprimised, and another layer of complexity which has a chance to be misunderstood and therefore misconfigured. A firewall should never run more than it absolutely has to for filtering traffic. A firewall should not provide interactive services of any kind.

Internal hosts behind your firewall are slightly less likely to be accessed by malicious users (although you can never trust your own users). It's far less likely that a misconfiguration or flaw on your internal server will result in your network being comprimised by outside attackers.
 
Old 07-03-2003, 11:11 AM   #5
jonnieo
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: Red Hat 9.0
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you all for your valued input and direction.

bobr:
I came to the same conclusion after sitting down and going over exactly what I wanted to do. I am now in the process of trying to learn how to recompile my kernel (currently 2.4.20-8) to become compatible with the reading of my Win XP partition (NTFS).


younggri:
Thanks for the linki. I took a look and will read up on it some more to see if it will be a a viable option for me.


chort:
Very good points. Once I sat down and started laying out the network on paper I had some of the same thoughts, although not as detailed. Thank you for your advice and insight. I am going to take my time on this project and try to learn much as possible.


Any advice or links regarding recompiling and/or updating the kernel for this purpose?

Last edited by jonnieo; 07-03-2003 at 11:15 AM.
 
  


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
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 04:27 AM
Network learning books and howtos mokele Linux - Networking 5 11-21-2005 07:04 PM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
need help on setting over the network Rex_chaos Linux - Networking 3 09-22-2003 10:40 AM
Network Setting thunderkt Linux - Networking 1 08-07-2003 02:59 AM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration