LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-19-2005, 07:12 AM   #1
fipeso
Member
 
Registered: Apr 2005
Location: Finland, Nurmijärvi.
Distribution: Ubuntu 5.04 "Hoary Hedgehog"
Posts: 56

Rep: Reputation: 15
What FireWall & NAT for home LAN?


Hi,

I want to set up a Linux Firewall&NAT for my home LAN.

This I imagine is a nice way to try to Learn some Linux

I have an old PC with 2 network adapters, that should be able to do the job.

What would be a good way to do this?

In the future I would like to use the same PC also for other things, that could be usefull to run on a PC that is allways on

So the firewall should not limit the PC from being later used also as:
VPN gateway, WEB server, MySQL, File&Print.

It would be great if I also could turn that PC into a "DigiBox" TV receiver, with some added hardware. VDR / DVB Linux TV.

Thank you for any suggestion or reply
 
Old 04-19-2005, 07:18 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
iptables is the default firewall with linux
to make that easy
try shorewall(shorewall.net)

and u can enable all that servers(VPN gateway, WEB server, MySQL, File&Print.) with shorewall
as far as DIGIbox is concerned i haven't used that so i cannot comment on that
 
Old 04-19-2005, 07:48 AM   #3
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Rep: Reputation: 15
iptables might be a good way to following. but there be some difficult for configuration. you could refer to man guide.
 
Old 04-19-2005, 08:16 AM   #4
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
If you are going to connect to the Internet it is better to use a firewall that does the job for you (like firestarter) and then study the tables produced by it. In other words, you do not want to experiment with IP tables on your network and get it wrong ... because you are going to get cracked and that is not worth the troubles.
MHO.
Hope it helps.

Rick
 
Old 04-19-2005, 10:06 AM   #5
fipeso
Member
 
Registered: Apr 2005
Location: Finland, Nurmijärvi.
Distribution: Ubuntu 5.04 "Hoary Hedgehog"
Posts: 56

Original Poster
Rep: Reputation: 15
Thank you for your replys

I think I go and read about iptables / shorewall.

Hope I dont get cracked
 
Old 04-19-2005, 11:11 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
iptables and shorewall r not 2 diff. firewalls
but iptables is firewall and with shorewall u can generate iptables scripts easily

regards
 
Old 04-19-2005, 02:41 PM   #7
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
if you are not going to be setting it up for a desktop and only want the firewall NAT (DHCP) then go with

http://www.ipcop.org/

IPCop, it is a very simple and extreemly powerful firewall that will handle NAT for you. you burn the ISO, read the FAQ, insert the CD, boot the computer from the CD, follow the onscreen directions, once you are rebooted a few times. (need to configure each of the NICs you will be using at least 2 of them) you are finished.

then just hook it up to either your 56k modem, ISDN modem, xDSL modem (internel or externel) or cable modem and away you fly.
 
  


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
nat & firewall thru iptables jkmartha Linux - Security 5 05-13-2005 07:47 AM
Antivirus on home LAN firewall. fipeso Linux - Security 7 05-01-2005 01:47 PM
broadcasts on a home lan using an internal firewall; this is probably impossible lezek Linux - Networking 2 03-22-2004 08:13 AM
iptables questions: NAT & firewall insanitee Linux - Networking 10 08-24-2003 06:32 AM
IPTABLES, NAT & Firewall dsylvester Slackware 1 02-15-2003 07:14 PM

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

All times are GMT -5. The time now is 12:55 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
Open Source Consulting | Domain Registration