LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Start firewall (https://www.linuxquestions.org/questions/slackware-14/start-firewall-538672/)

danne123 03-19-2007 05:03 AM

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.

andygo 03-19-2007 05:30 AM

!!! 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 :-)

PJBrs 03-19-2007 06:03 AM

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!

H_TeXMeX_H 03-19-2007 03:18 PM

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

pbhj 03-26-2007 08:31 PM

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.

masonm 03-26-2007 08:47 PM

You can manually set up the iptables or use an applicatiion like Firestarter or Guarddog

danne123 03-27-2007 06:42 AM

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!


All times are GMT -5. The time now is 09:05 AM.