Forums: Creating A Linux Firewall For Home Network? - Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Creating A Linux Firewall For Home Network? How would I use a linux to protect ntwrk

#1 User is offline   Cyberbob 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 26
  • Joined: 07-July 05

Posted 09 July 2005 - 05:30 AM

I am attemping to create a Computer/Firewall for my home netwrok and I need some advice. I will make this question as detailed as possible to make it easier on you kind folk who have a comment.

*THE SITUATION* :unsure:

I have a wireless network consisting of two Windows XP Home editions, and possibly a XP Pro soon. Network works fine(peer to peer) and I have one with Internet Connection Sharing which is directly connected to the net while the other accesses the net through the network. I have advanced file sharing enabled through a XP Home tweak.

*THE QUESTION* :huh:

What I would like to do is put a linux box between the net and my network, acting as a firewall. I have an old computer with no O.S on it (specs don't matter because I will gladly buy a needed part or upgrade) and a couple of linux distro's. The distro's include Red Hat 7.3, Mandrake 8.2, Suse Enterprise Server 9, Suse Linux Professional 8.2, and Suse Linux Professional 9.1. My first question is which Linux distro would best suit my needs as a firewall for my network. The latter three are the newest, but I thought I'd throw the others in. I would also like advice or comments on how to set this up for I am new at this and have little experience with linux.

You do not have to answer all the questions, any comments or advice relevant to the subject would be greatly appretiated.
0

#2 User is offline   Head_Hunter 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 56
  • Joined: 08-July 03

Posted 09 July 2005 - 05:44 AM

Personally, I like Smoothwall. You can check it out at www.smoothwall.org
You can even mod it up and add VPN w/IPSEC and some others that might work for ya.
0

#3 User is offline   Cyberbob 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 26
  • Joined: 07-July 05

Posted 09 July 2005 - 06:11 AM

Head_Hunter, on Jul 9 2005, 09:44 AM, said:

Personally, I like Smoothwall. You can check it out at www.smoothwall.org
You can even mod it up and add VPN w/IPSEC and some others that might work for ya.


I've never heard of smoothwall, but by reading the site it sounds exactly what i'm looking for. Although I don't know how to work it, im sure i could find some documentation on the net.

Anymore suggestions on this subject still taken.
0

#4 User is online   Jeremy 

  • Commander in Chief
  • Icon
  • Group: Admin
  • Posts: 2,345
  • Joined: 14-May 03

Posted 09 July 2005 - 07:13 AM

If u are looking to make it merely a firewall, Smoothwall or Clark Connect are your best options. They run right out of the box and use old crappy hardware.. no upgrades needed.
If u are looking for more control or if u want to be able to use that firewall as a linux exploration system, i would reccommend a couple days of hardword, learning, and a full install of a real *nix OS. It seems you pretty much just want to use the RPM-based ones, so it doesnt really matter what you use, they are all the same. /me prepares to be attacked my RPM-based linux users
Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma � which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.
~Steve Jobs

Jeremy aka w00dy aka foadah
0

#5 User is offline   Partizaan 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 367
  • Joined: 13-February 04

Posted 09 July 2005 - 10:04 AM

1 to 2 years ago i istalled an ipcop firewall.
Yust an old pc wiht 2 nic's. Very easy

http://www.ipcop.org/

# Provide a stable Linux Firewall Distribution.
# Provide a secure Linux Firewall Distribution.
# Provide an opensourced Linux Firewall Distribution.
# Provide a highly configurable Linux Firewall Distribution.
# Provide an easily maintained Linux Firewall Distribution.
# Provide an easily configured Linux Firewall Distribution.
# Provide reliable Support to the IPCop Linux user base.
# Provide an enjoyable environment for the Public to discuss and request assistance.
# Provide stable, secure, and easy to implement upgrades/patches for IPCop Linux.
# Develop an appreciation for both the Linux and Opensource movements in our user base.
# Develop a long lasting relationship with our userbase.
# Strive to adapt IPCop to meet the needs of the Internet of Tomorrow.
# Further develop the Linux Knowledge base of all Project Members and Users.
0

#6 User is offline   dieter 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 42
  • Joined: 02-September 04

Posted 10 July 2005 - 01:46 AM

You can also have a look at m0n0wall - it's not a linux based fw but bsd based
Runs on the very tiny soekris boxes (consumes much less power than a full pc :-))))

http://www.m0n0.ch/wall/
http://www.soekris.com/products.htm
0

#7 User is offline   skydance 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 176
  • Joined: 14-September 03

Posted 10 July 2005 - 04:23 AM

take a look at redwall, it runs from cd, no harddisk needed (but u can mount a hard for /var and /tmp).
http://redwall-firewall.com/
0

#8 User is offline   buzzons 

  • i wish i was admin
  • Icon
  • Group: Second Lieutenant
  • Posts: 1,817
  • Joined: 25-August 03

Posted 10 July 2005 - 04:02 PM

how about openBSD and iptables?
0

#9 User is offline   TheSmokingMan 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 96
  • Joined: 24-June 05

Posted 10 July 2005 - 04:25 PM

buzzons, on Jul 10 2005, 08:02 PM, said:

how about openBSD and iptables?

openbsd is as good a choice as any, but it uses pf not iptables
0

#10 User is offline   castor00 

  • Private
  • Icon
  • Group: Members
  • Posts: 14
  • Joined: 15-June 05

Posted 27 August 2005 - 04:19 PM

I run debian + iptables and it works fine. There is a good iptable script if you don't wanna make your own script : http://rocky.eld.leidenuniv.nl/
0

#11 Guest_digital-flow_*

  • Group: Guests

Posted 28 August 2005 - 12:30 AM

Hi!

I've got done it with this manual from gentoo:
hxxp://www.gentoo.org/doc/en/home-router-howto.xml

It's realy cool done and successfully. I think u can easly port "the way to do it" to other linux distributions.


greetings

digital-flow
0

#12 User is offline   mr-rodgers 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 135
  • Joined: 19-June 05

Posted 28 August 2005 - 12:57 AM

im currently using ipcop. i found it to be very good, however i cannot figure out how to add rules to filter outgoing traffic (for example block all outbound traffic on port 80, etc).

does anybody know how to do this?
0

#13 User is offline   JustAsFire 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 58
  • Joined: 03-August 05

Posted 28 August 2005 - 11:27 PM

Last year I used iptables on a gateway which had about 300 clients and didn't have any problems.
0

#14 User is offline   Ahmeket 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 101
  • Joined: 15-February 04

Posted 31 August 2005 - 12:19 AM

JustAsFire, on Aug 29 2005, 07:27 AM, said:

Last year I used iptables on a gateway which had about 300 clients and didn't have any problems.


Exactly how did you manage iptables? It's not very handy if you were to sit there and block IPs by hand.
0

#15 User is offline   JustAsFire 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 58
  • Joined: 03-August 05

Posted 31 August 2005 - 10:51 AM

Ahmeket, on Aug 31 2005, 08:19 AM, said:

Exactly how did you manage iptables? It's not very handy if you were to sit there and block IPs by hand.

Well I used iptables to let computers connect to the internet validating them by their mac address(and yes I know macs can be spoofed :) ) and I had some ports blocked to prevent worms.
As for using iptables to protect the gateway I had INPUT policy set to drop and only accepted established and related packets. Also the gateway was accepting ssh connections based on ip.
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting