LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2007, 05:03 AM   #1
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Start firewall


(I use slackware 11.0)

When I try to scan my computers firewall (http://www.hackerwatch.org/probe/) after open ports. It finds serval open and unsecure ports.
So the question is: Have Slackware a firewall?
And if so, how can I activate it?

The other distros I have tried. Comes sometimes with the installtion.
 
Old 03-19-2007, 05:30 AM   #2
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: SLES, Raspbian, Ubuntu-Mate, LineageOS
Posts: 114

Rep: Reputation: 15
!!! linux kernel has a firewall !!!
it is controlled by different utilities
the easy_est way to start firewall is to run as root
#/etc/init.d/iptables start

it's rules are usually saved in
/var/lib/iptables/rules-save (or somewhere else)

there are a lot of tools for beginners to control firewall
* net-firewall/guarddog
Latest version available: 2.4.0
Latest version installed: 2.4.0
Size of downloaded files: 955 kB
Homepage: http://www.simonzone.com/software/guarddog/
Description: Firewall configuration utility for KDE 3
License: GPL-2

* net-firewall/fwbuilder
Latest version available: 2.0.12
Latest version installed: [ Not Installed ]
Size of downloaded files: 4,072 kB
Homepage: http://www.fwbuilder.org/
Description: A firewall GUI
License: GPL-2

* net-firewall/kmyfirewall
Latest version available: 0.9.6.2-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 754 kB
Homepage: http://kmyfirewall.sourceforge.net/
Description: Graphical KDE iptables configuration tool
License: GPL-2

pick one and use it as long as you can :-)
 
Old 03-19-2007, 06:03 AM   #3
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76

Rep: Reputation: 33
I don't know much about firewalls, except that in Slackware the location is not /etc/init.d/iptables, but /etc/rc.d/rc.firewall. In Slackware, this script is run at startup from /etc/rc.d/rc.inet2, as follows:

Code:
$ grep -r -C 1 firewall /etc/*

<snip>

/etc/rc.d/rc.inet2:# If there is a firewall script, run it before enabling packet forwarding.
/etc/rc.d/rc.inet2-# See the HOWTOs on http://www.netfilter.org/ for documentation on
/etc/rc.d/rc.inet2:# setting up a firewall or NAT on Linux.  In some cases this might need to
/etc/rc.d/rc.inet2-# be moved past the section below dealing with IP packet forwarding.
/etc/rc.d/rc.inet2:if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.inet2:  /etc/rc.d/rc.firewall start
/etc/rc.d/rc.inet2-fi

<snip>
IIRC, GuardDog is compatible with the Slackware way of calling the firewall-script.

Good luck!
 
Old 03-19-2007, 03:18 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recommend Alien Bob's easy firewall generator derivative (just copy and paste the output into '/etc/rc.d/rc.firewall' and make sure it is executable, it will run automatically on boot).
 
Old 03-26-2007, 08:31 PM   #5
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
http://www.linuxquestions.org/questi...light=firewall

The above poll gives a few options for firewall configuration along with an indication of what people find easy and/or most configurable and/or most powerful.

Firestarter is great for noobs (of the Slackware variety at least) in my opinion.
 
Old 03-26-2007, 08:47 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
You can manually set up the iptables or use an applicatiion like Firestarter or Guarddog
 
Old 03-27-2007, 06:42 AM   #7
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by H_TeXMeX_H
I recommend Alien Bob's easy firewall generator derivative (just copy and paste the output into '/etc/rc.d/rc.firewall' and make sure it is executable, it will run automatically on boot).

That page was pretty cool!
 
  


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
SuSE 9.3 firewall won't start Tofo SUSE / openSUSE 4 07-04-2005 08:56 PM
rc.firewall fails to start hubabuba Slackware 3 04-05-2005 05:17 AM
stop/start firewall matt1982 Debian 6 11-12-2004 07:17 AM
how to start firewall automatically shanenin Linux - Software 10 10-26-2003 03:04 PM
Linux Firewall - Where do I start? yorkshiresteve Linux - Security 9 07-10-2003 11:23 AM

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

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