Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-25-2003, 06:45 PM   #1
Registered: Aug 2003
Location: United Kingdom of Freeloaders
Distribution: Debian
Posts: 41

Rep: Reputation: 15
Firewall setup

Not sure if this should be here or in security but any how... I am a 'n00b' to Debian and Linux in general, I have got X windows running and various other programs with in Xwindows, but I want to know how to set up a firewall so I can close open ports and other things on my machine since I have a cable connection which leaves my machine vunarable to hackers.

Thanks people

Old 08-25-2003, 06:53 PM   #2
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You will need to learn how to use iptables.
For documentation and tutorials
Netfilter / iptables

However, if you want a GUI tool (which interacts with iptables), try one of the following:
Old 08-26-2003, 04:52 AM   #3
LQ Newbie
Registered: May 2003
Posts: 20

Rep: Reputation: 0
If you dont want to learn about iptables, firestarter has a nice graphical interface to set up an iptables based firewall.

To install it just type; apt-get update
apt-get install firestarter
Old 08-27-2003, 06:21 AM   #4
Registered: Aug 2003
Location: United Kingdom of Freeloaders
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
I just get the following message when I login to Firestarted "Child terminated with 1 status". Is there no window to configure it or anything?

Old 08-27-2003, 12:36 PM   #5
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
I'm not sure if this has anything to do with Firestarter collapsing, but bear in mind that your kernel may not support iptables. If you're using kernel 2.2, you'll need to use ipchains instead.
Old 08-29-2003, 01:02 PM   #6
LQ Newbie
Registered: Jun 2001
Location: San Jose, CA
Distribution: Debian (Servers); Gentoo (Desktop)
Posts: 29

Rep: Reputation: 15
OR, for the ultimate learning experience, you can learn to compile your own kernel.

Download the kernel source for 2.4.22 and put the .tar.gz file in /usr/local/src.
Unpack using tar -zxvf [filename]

cd linux-2.4.22

make menuconfig
(here, you configure all of the options you want in your kernel)
exit and save when done

make dep
make-kpkg clean
make-kpkg --revision=my.1.0 kernel_image
cd ../
dpkg -i kernel-image-2.4.22_my.1.0_i386.deb

If you boot up and get a panic, your probably forgot to include some drivers. You will need debian CD to boot up into the install, mount your drive, and get a root prompt. Then use dpkg -e to remove the old kernel and then reboot.


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
Is a firewall necessary in this setup? cerrayon Linux - Security 4 06-27-2004 07:34 PM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 08:52 AM
Firewall Setup Q nixtech Linux - Networking 1 08-15-2003 08:47 PM
Setup A Firewall kelper Linux - Security 1 07-14-2003 02:57 PM
Firewall Setup Golem Linux - Newbie 2 01-31-2002 06:56 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration