LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-10-2008, 04:00 PM   #1
sam23
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
firewall


I am new to linux. I have linux freespire. How do I get the firewall to start automatically on boot up?
 
Old 09-10-2008, 04:48 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
the easiest way would be to install something like firestarter.
A very basic GUI front end to the Linux iptables firewall.
 
Old 09-10-2008, 09:45 PM   #3
sam23
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
the easiest way would be to install something like firestarter.
A very basic GUI front end to the Linux iptables firewall.
I downloaded that and found out it is already on freespire. I guess I just got to figure how to use it....Thanks
 
Old 10-10-2008, 04:23 AM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
firewall

Not suprised you found it already installed as it is usually enabled during set up but am not familiar with your linux version. Try going to the system set up gui on your distro and look at the network type settings and there maybe somthing devoted to the firewall, take it from there. you can set your own firewall but last time I tried it nothing got in or out!

Fred
 
Old 10-10-2008, 09:55 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
If it's already installed it may actually be working.. open a shell and type the following command.

iptables -L


if the output looks like this:

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
then the firewall is not enabled.

if you see a longer listing with a bunch of DROP statements then it is turned on.

The Firestarter GUI does NOT need to be running for the firewall to be enabled.

if you look in /etc/rc5.d (debian/ubuntu you would check rc2.d) you should see an entry something like S20firestarter indicating that the system is starting firestarter automatically at boot. Services in this directory that begin with an S are started, those that begin with a K are Killed or stopped.
 
Old 10-11-2008, 01:58 PM   #6
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
firewall

Dear Slayer,
I did what you asked and got an 's' at all times but have done nothing to initiate this so do you not think this is automatic:
sh: /etc/rc2.d: is a directory
sh-3.1$ ls /etc/rc2.d
README S20acpid S20hotkey-setup S89cron
S10sysklogd S20cpufrequtils S20makedev S99kdm
S11klogd S20cupsys S20openbsd-inetd S99rc.local
S12915resolution S20dbus S21nfs-common S99rmnologin
S18portmap S20dirmngr S89anacron S99stop-bootlogd
S19hplip S20exim4 S89atd
sh-3.1$

Fred.
 
Old 10-11-2008, 10:56 PM   #7
rocktman2
LQ Newbie
 
Registered: Aug 2008
Location: NY
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
If it's already installed it may actually be working.. open a shell and type the following command.

iptables -L


if you see a longer listing with a bunch of DROP statements then it is turned on.

The Firestarter GUI does NOT need to be running for the firewall to be enabled.
Farslayer, you answered my question about Firestarter. Until I saw your reply to this poster, I also didn't know Firestarter was running even though the GUI hadn't started.

Running the command iptables -L, I do get a lot of drop statements & a much longer listing. Nice to know the firewall is running.

Thanks.
 
  


Reply


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
LXer: Set up your firewall with Firewall Builder LXer Syndicated Linux News 0 08-14-2008 01:50 PM
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 11:09 PM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 10:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 01:32 PM


All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration