Networking Forums

Networking Forums > Computer Networking > Linux Networking > Advice for setting up a firewall

Reply
Thread Tools Display Modes

Advice for setting up a firewall

 
 
LinuxMercedes
Guest
Posts: n/a

 
      06-01-2008, 04:39 AM
Hi all,

I'm looking into setting up an old PC I have sitting around as a Linux
firewall. I need advice on which distro I should use and what
software, as well as any helpful tutorials.

Oh, and tell me this: Will running a firewall have any impact on the
practical speed of my internet connection?

Thanks!
 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      06-01-2008, 10:33 AM
LinuxMercedes wrote:
> Hi all,
>
> I'm looking into setting up an old PC I have sitting around as a Linux
> firewall. I need advice on which distro I should use and what
> software, as well as any helpful tutorials.
>
> Oh, and tell me this: Will running a firewall have any impact on the
> practical speed of my internet connection?
>
> Thanks!


Try ipcop <http://www.ipcop.org> - an excellent distribution for making
firewalls out of old PCs.

Unless the PC is really old, it shouldn't affect your internet
connection speed.

Robert
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      06-01-2008, 09:50 PM
On Sat, 31 May 2008, in the Usenet newsgroup comp.os.linux.networking, in
article <2cb694fe-004f-4265-9b49-(E-Mail Removed)>,
LinuxMercedes wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

>I'm looking into setting up an old PC I have sitting around as a Linux
>firewall. I need advice on which distro I should use and what
>software, as well as any helpful tutorials.


Which distro to use - that's like asking which car to drive, which beer
to drink, or which ice-cream to eat. If one were superior, why are there
so many choices?

[compton ~]$ whatis taste
taste: nothing appropriate
[compton ~]$

85509 Aug 20 2001 Firewall-HOWTO
42743 Nov 24 2001 Firewall-Piercing
40490 Jun 22 2000 Home-Network-mini-HOWTO
708351 Nov 14 2005 IP-Masquerade-HOWTO
17605 Jul 21 2004 Masquerading-Simple-HOWTO
203891 Sep 29 2004 NET3-4-HOWTO
45604 Apr 18 2006 Networking-Overview-HOWTO
155096 Jan 23 2004 Security-HOWTO
278012 Jul 23 2002 Security-Quickstart-HOWTO
287057 Jul 23 2002 Security-Quickstart-Redhat-HOWTO
71776 Nov 28 21:45 Unix-and-Internet-Fundamentals-HOWTO

That's without using the many toy tools that are available to set up a
firewall. Common sense should suggest that the less crap you have
running on the firewall box, the less there is to exploit. My
firewall is the remains of an ancient lap-top (386-SX16, 8 Megs of
RAM, no keyboard, no display) - needless to say, it's not running
some eye-candy GUI, as no one should be logging in to it.

>Oh, and tell me this: Will running a firewall have any impact on the
>practical speed of my internet connection?


You're posting from a PPPoX link - assuming this is a personal setup
(mainly surfing, email, rather than running a business from home), and
that your firewall rules are not ridiculous, anything faster than a
Pentium 66 with PCI bus shouldn't have an impact. The exception is if
you are using some service that wants AUTH/IDENT and you are dropping
port 113 rather than rejecting it - but that's no different than setting
a personal firewall on your PC.

Old guy
 
Reply With Quote
 
LinuxMercedes
Guest
Posts: n/a

 
      06-02-2008, 01:15 AM
On Jun 1, 4:50*pm, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> On Sat, 31 May 2008, in the Usenet newsgroup comp.os.linux.networking, in
> article <2cb694fe-004f-4265-9b49-88f7324a5...@m45g2000hsb.googlegroups.com>,
>
> LinuxMercedes wrote:
>
> NOTE: Posting from groups.google.com (or some web-forums) dramatically
> reduces the chance of your post being seen. *Find a real news server.
>
> >I'm looking into setting up an old PC I have sitting around as a Linux
> >firewall. *I need advice on which distro I should use and what
> >software, as well as any helpful tutorials.

>
> Which distro to use - that's like asking which car to drive, which beer
> to drink, or which ice-cream to eat. *If one were superior, why are there
> so many choices?
>
> [compton ~]$ whatis taste
> taste: nothing appropriate
> [compton ~]$
>
> * * * *85509 Aug 20 *2001 Firewall-HOWTO
> * * * *42743 Nov 24 *2001 Firewall-Piercing
> * * * *40490 Jun 22 *2000 Home-Network-mini-HOWTO
> * * * 708351 Nov 14 *2005 IP-Masquerade-HOWTO
> * * * *17605 Jul 21 *2004 Masquerading-Simple-HOWTO
> * * * 203891 Sep 29 *2004 NET3-4-HOWTO
> * * * *45604 Apr 18 *2006 Networking-Overview-HOWTO
> * * * 155096 Jan 23 *2004 Security-HOWTO
> * * * 278012 Jul 23 *2002 Security-Quickstart-HOWTO
> * * * 287057 Jul 23 *2002 Security-Quickstart-Redhat-HOWTO
> * * * *71776 Nov 28 21:45 Unix-and-Internet-Fundamentals-HOWTO
>
> That's without using the many toy tools that are available to set up a
> firewall. *Common sense should suggest that the less crap you have
> running on the firewall box, the less there is to exploit. * My
> firewall is the remains of an ancient lap-top (386-SX16, 8 Megs of
> RAM, no keyboard, no display) - needless to say, it's not running
> some eye-candy GUI, as no one should be logging in to it.
>
> >Oh, and tell me this: Will running a firewall have any impact on the
> >practical speed of my internet connection?

>
> You're posting from a PPPoX link - assuming this is a personal setup
> (mainly surfing, email, rather than running a business from home), and
> that your firewall rules are not ridiculous, anything faster than a
> Pentium 66 with PCI bus shouldn't have an impact. The exception is if
> you are using some service that wants AUTH/IDENT and you are dropping
> port 113 rather than rejecting it - but that's no different than setting
> a personal firewall on your PC.

I actually am running a webserver on this connection; hence the need
for a better firewall
>
> * * * * Old guy


 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      06-02-2008, 07:41 PM
On Sun, 1 Jun 2008, in the Usenet newsgroup comp.os.linux.networking, in
article <60163249-1223-4e59-aac3-(E-Mail Removed)>,
LinuxMercedes wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

>ibupro...@painkiller.example.tld (Moe Trin) wrote:


>> You're posting from a PPPoX link - assuming this is a personal setup
>> (mainly surfing, email, rather than running a business from home), and
>> that your firewall rules are not ridiculous, anything faster than a
>> Pentium 66 with PCI bus shouldn't have an impact.


>I actually am running a webserver on this connection; hence the need
>for a better firewall


This probably means you are masquerading the webserver. As such, you
have to provide a forwarding rule so that people connecting to
Your.Public.IP.Addr port 80 have their packets silently forwarded to
the web server, possibly located on 192.168.1.5. Replies from your
server are automagically routed back. But if someone tries to connect
to another port - say port 70 - those packets will be rejected/dropped
unless you have set up a rule to forward those packets somewhere else
(or you have made the mistake of running some server listening to that
port on the firewall). Thus, running a web server isn't likely to
have any significant impact on the firewall performance. Protecting
the web server is something done on the web server itself, making sure
that it's not the typical walking disaster area - one need only look at
the Bugtraq mailing list to see the problems often encountered there.
The only "protection" the firewall may provide is blocking access to
IP address ranges you may designate.

Old guy
 
Reply With Quote
 
Steven Borrelli
Guest
Posts: n/a

 
      06-06-2008, 06:00 PM
On May 31, 11:39 pm, LinuxMercedes <LinuxMerce...@gmail.com> wrote:
> Hi all,
>
> I'm looking into setting up an old PC I have sitting around as a Linux
> firewall. I need advice on which distro I should use and what
> software, as well as any helpful tutorials.
>
> Oh, and tell me this: Will running a firewall have any impact on the
> practical speed of my internet connection?
>
> Thanks!


I've had some experience running the Squid proxy/cache on an old
FreeBSD box. It has been a rock-solid system.

http://www.freebsd.org/
http://www.squid-cache.org/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on a firewall distro Davide Bianchi Linux Networking 13 01-07-2007 12:27 PM
need advice for setting up network fred Network Routers 2 12-18-2005 02:30 AM
need advice for setting up network fred Windows Networking 3 12-18-2005 02:30 AM
Setting up an Ad-Hoc system, advice needed. Geoff Collins Wireless Networks 1 12-03-2004 09:16 AM
Need advice on setting up a Wireless Network Big Ron Wireless Internet 4 06-04-2004 05:38 PM



1 2 3 4 5 6 7 8 9 10 11