LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2004, 12:45 PM   #1
Metalbarthug
Member
 
Registered: Oct 2004
Location: Scotland, UK
Distribution: Ubuntu 12.04
Posts: 57

Rep: Reputation: 16
can I use an old PC as a router/firewall


Hi,

Looking for advice on setting up an old PC to act as a broadband router/firewall/storage facility for 2 HDDs.

I want to have the new PC as a dual boot between Windows XP home and either Suse or Cobind linux. However, I'm not confident enough to start tinkering with my modem (Speedtouch USB 330).

So, can I connect up the Speedtouch to the old PC, then use a crossover cable via both PCs Ethernet, and enjoy internet access throgh Suse???

Also, any hints and tips on setting the old PC up as purely a firewall/storage facility would be helpful. Is it easier to do this using Windows (dare I say in this forum, but bear in mind I'm a newbie!!!) or does Suse have better tools to do this.

Cheers!
 
Old 10-18-2004, 01:16 PM   #2
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
Setting up an older computer to act as a router/firewall is relatively easy. The computer will require two NIC cards, probably one with a stic ip address and one dynamically thrown out by the ISP. The crossover cable idea is a good one. On the new computer set up the address of the older computer as the gateway. Make sure that the older computer will allow routing.
 
Old 10-19-2004, 02:58 AM   #3
Metalbarthug
Member
 
Registered: Oct 2004
Location: Scotland, UK
Distribution: Ubuntu 12.04
Posts: 57

Original Poster
Rep: Reputation: 16
thanks Alan,

when you say 2 NIC cards, do you mean 2 need to be installed on the router PC or one on each PC? Both have Ethernet built in, can I use these to connect the PCs up?
 
Old 10-19-2004, 06:27 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
2 NICs for the router is a typical installation if your connecting to a modem with an ethernet connection. Since you have a USB modem you need only one.
 
Old 10-19-2004, 08:01 AM   #5
Metalbarthug
Member
 
Registered: Oct 2004
Location: Scotland, UK
Distribution: Ubuntu 12.04
Posts: 57

Original Poster
Rep: Reputation: 16
OK, just so as I 've got this right.

the modem I have (sppedtouch 330, details here)will plug into the router PC via a USB port. Can I then share the internet connection by taking a crossover cable out of the router PCs Ethernet and into the new PCs Ethernet?

Or, as I understand it, I need to install a NIC into the old PC as well?

Or.... would I be a lot better off trying to configure the Speedtouch for Linux - I understand you can do this but it involves tinkering with firmware etc, which I have downloaded from Thomson's site, but would need someone's help on th eforum to step through how to do.

Thanks for your info so far, it;s been really valuable! If I can get internet access sorted, I'll be a short step away to ditching Windows forever!!!!
 
Old 10-19-2004, 10:02 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
Can I then share the internet connection by taking a crossover cable out of the router PCs Ethernet and into the new PCs Ethernet?
Yes, in theory..... I've always had the advantage of an ethernet modem and so never had the luxury of getting a USB modem to work in linux.
 
Old 10-19-2004, 02:19 PM   #7
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
If you'd like to turn your old computer into a firewall, in other words, its sole purpose is to act as a firewall/router, then I would recommend installing SmoothWall Express 2.0 onto it. http://www.smoothwall.org/get/ This is a linux distribution that turns a computer into a firewall/router, with web-based administration. I haven't tried it out myself, but from the documentation, screenshots, and other information, it seems to be pretty sweet.
 
Old 10-21-2004, 02:23 AM   #8
RandomLinuxNewb
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
smoothwall works great ... Mines been running solid for a few months now.
 
Old 10-21-2004, 11:49 AM   #9
Metalbarthug
Member
 
Registered: Oct 2004
Location: Scotland, UK
Distribution: Ubuntu 12.04
Posts: 57

Original Poster
Rep: Reputation: 16
Cheers, will check it out
 
Old 10-21-2004, 07:08 PM   #10
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
i forgot to add: if you want to install it, beware that it formats the entire drive, and you cannot prevent it from doing so during the installation.
 
  


Reply



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
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
Firewall/Router... R4bIdP3nGuiN Linux - Security 12 03-09-2004 12:22 PM
Mandrake Firewall/router networked to US Robotics 8000A router jrzplace Linux - Networking 0 11-17-2003 04:48 PM
Router/Firewall Melo Linux - Software 2 07-28-2003 05:10 PM
Router and Firewall jccm01 Linux - Security 2 12-31-2001 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 AM.

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
Open Source Consulting | Domain Registration