LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-29-2013, 12:25 PM   #1
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
How can I tell if my firewall is on from the command line in Puppy Lucid?


This may be a dumb question. I am trying to find out if the firewall is on from the command line using the "ps" command. I'm not sure if the firewall runs as a process. Puppy Lucid has a control panel, where you can click on networking, and turn on the firewall. However, I cannot tell from the control panel if the firewall is on, or if it comes on each time I boot.

Puppy Lucid appears to be built from Unbuntu, if that helps.
 
Old 12-29-2013, 01:42 PM   #2
psimon
LQ Newbie
 
Registered: Dec 2013
Distribution: Debian Stable
Posts: 19

Rep: Reputation: 2
The Linux firewall doesn't run as a process. It's a kernel level tool called IPTables. You can find out the active ruleset with
Code:
sudo iptables -L
If the output is somthing 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 active.
 
1 members found this post helpful.
Old 12-30-2013, 08:49 AM   #3
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
Thanks, psimon! I will give it a shot. I'm away from my Linux box at the moment.
 
Old 12-30-2013, 09:04 AM   #4
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,713
Blog Entries: 19

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
Quote:
However, I cannot tell from the control panel if the firewall is on, or if it comes on each time I boot.
Is there not a Icon in the taskbar that tells you whether the firewall is off or on. You should also be able to enable or disable it from there also.

Quote:
Just to remind that in Puppy Lucid 5.2 and 5.2.1
the firewall can be run and toggled off/on by right clicking
on the firewall icon, bottom right of desktop
in the taskbar
http://murga-linux.com/puppy/viewtop...=498744#498744
 
1 members found this post helpful.
Old 12-30-2013, 09:18 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Quote:
Originally Posted by psimon View Post
You can find out the active ruleset with
Code:
sudo iptables -L
FWIW that would give you only part of the rule set as the default table it selects is "filter": to get the whole rule set run 'iptables-save'.
 
1 members found this post helpful.
Old 01-01-2014, 10:27 AM   #6
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
rokytnji, thank you, I see that icon now!

unSpawn, thank you, awesome command line tool!

This thread is solved.
 
  


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
How do you boot Puppy Linux Slacko into the command line? haziz Puppy 1 02-25-2013 09:21 AM
LXer: Puppy 5.1 “Lucid Puppy” Review LXer Syndicated Linux News 0 08-15-2010 07:50 PM
LXer: Puppy 5.1 codename Lucid is out- Now is compatible with Ubuntu 10.04 Lucid Lynx package LXer Syndicated Linux News 0 08-15-2010 03:20 PM
ubuntu lucid/nautilus command line option metallica1973 Linux - Desktop 3 06-07-2010 04:10 PM
How do you make Puppy boot into the command line? Chronothread Linux - Newbie 2 01-11-2009 12:31 AM


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