LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-25-2003, 06:45 PM   #1
heartagram
Member
 
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
Mathieu
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
http://www.netfilter.org/

However, if you want a GUI tool (which interacts with iptables), try one of the following:
http://firestarter.sourceforge.net/
http://www.shorewall.net/
http://www.ipcop.org/
http://www.fwbuilder.org/
 
Old 08-26-2003, 04:52 AM   #3
polar
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.

http://firestarter.sourceforge.net/

To install it just type; apt-get update
apt-get install firestarter
 
Old 08-27-2003, 06:21 AM   #4
heartagram
Member
 
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?

-thanks.
 
Old 08-27-2003, 12:36 PM   #5
fragglehorn
Member
 
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
joe_stevensen
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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