LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2001, 06:56 PM   #1
Kapone
LQ Newbie
 
Registered: Jul 2001
Posts: 1

Rep: Reputation: 0
Linux box as router


How can I set up my linux box to act as a router for my cable modem so my win box can access the internet and all ports as usual?
 
Old 07-03-2001, 07:29 PM   #2
tyler_durden
Member
 
Registered: May 2001
Posts: 125

Rep: Reputation: 15
there are a lot of ways. you can set up ip masquerading. to do that check out the ipmasq how to at www.linuxdoc.org.

Or, you can do what i did and download a distrobution that sets it all up for you. i use freesco (www.freesco.org). Its really easy to set up and you don't even need a hard drive.
 
Old 07-03-2001, 09:46 PM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
I'd suggest that you do as Mr. Fightclub recommends and printout the ipmasquerading documentation and follow it page by page. It describes in detail how to set up masquerading and forwarding, and you probably can have it all running in one evening. One thing the document does not provide is a good set of rules for the firewall. An easy way to do this is to search for a good script as a starting point and modify it from there.
Building and configuring it your self will help you learn linux much more in the long run as apposed to using a fully functioning Linux firewall release. You will probably have to rebuild the kernel; insert modules; mess around with the init scripts and more. It's a lot of fun. You will be a linux guru before you know it.

One thing to remember, if you are using kernel version 2.2.x or less you will be using ipchains as your IP packet filter. For kernels 2.4.x or greater, iptables is the packed filter.

Gary
 
Old 07-03-2001, 10:03 PM   #4
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Rep: Reputation: 30
RULE #1 NO ONE TALKS ABOUT FIGHT CLUB!

Ahh the movie that changed my life...

At any rate, you were saying that you dont have to have a hard drive to be able to do that on the slave machine... is that correct??
 
Old 07-03-2001, 10:27 PM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
Yes, I think there is a Linux firewall distro that fits on a floppy. I guess that is secure and a power saver as well. ~3 watts?
 
Old 07-04-2001, 06:50 AM   #6
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
http://lrp.steinkuehler.net/
and
http://www.jimweller.net/jim/lfw/ are both floppy based firewalls
 
  


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
linux box as a router cambie Linux - Networking 4 11-21-2004 10:01 AM
linux box as router cambie Linux - Networking 10 11-16-2004 12:20 AM
Using Linux Box as a Router wasabi Linux - Networking 5 09-04-2003 05:08 PM
Linux box as a router dumpa Linux - Newbie 8 08-08-2003 04:05 PM
Linux box as router AkumaLoka Linux - Networking 3 10-14-2002 04:57 PM

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

All times are GMT -5. The time now is 04:16 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