LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01: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, 02:16 PM   #2
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 14.1, 14.2; Debian Jessie; Centos 6; FreeBSD 9 & 10
Posts: 272

Rep: Reputation: 35
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, 03: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, 07:27 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,939

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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, 09: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, 11:02 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,939

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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, 03:19 PM   #7
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
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, 03: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, 12:49 PM   #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, 08:08 PM   #10
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
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


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


All times are GMT -5. The time now is 06:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration