LinuxQuestions.org
Visit Jeremy's Blog.
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 10-09-2012, 04:54 AM   #1
gothmog123
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
firewall


Hi guys I'm new to slack so bear with me.

I need a firewall for my new 1.4 slack system and I'm not very knowledgeable on networking stuff so I've been using ufw.

I saw that it's not available for slack 1.4

Is there any way to get it for 1.4 or is there an alternative in the repos that's also as simple to use?

BTW I'm an intermediate Linux user and just discovered SW and really liking it.

Last edited by gothmog123; 10-09-2012 at 04:55 AM.
 
Old 10-09-2012, 05:44 AM   #2
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
I use the Easy Firewall Generator for IPTables which works fine for me. Generate the firewall script, put the content in a file called rc.firewall and put it in /etc/rc.d/.
Make it executable (chmod +x rc.firewall) and your'e all set.
 
Old 10-09-2012, 08:39 AM   #3
gothmog123
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by adriv View Post
I use the Easy Firewall Generator for IPTables which works fine for me. Generate the firewall script, put the content in a file called rc.firewall and put it in /etc/rc.d/.
Make it executable (chmod +x rc.firewall) and your'e all set.


Thanks!

Looks good but I installed ufw from slackbuilds for SW13, is that going to cause problems?
 
Old 10-09-2012, 09:16 AM   #4
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by gothmog123 View Post
Thanks!

Looks good but I installed ufw from slackbuilds for SW13, is that going to cause problems?
I doubt it, but there are probably other people around here who know more about this (I haven't got any experience with ufw).
 
Old 10-09-2012, 02:40 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
AlienBOB's EFG works well for most situations but if you are wanting some in-depth knowledge into setting up Firewalls at more advanced levels look into this article from the ArchLinux wiki:

https://wiki.archlinux.org/index.php/Firewall

Also check out this article for a Simple Stateful Firewall. It's rather informative.

https://wiki.archlinux.org/index.php...teful_firewall
 
Old 10-11-2012, 03:33 AM   #6
gothmog123
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks Reaper,

So I copied all iptables rules from that Arch wiki page and they are starting on boot.

Am I OK like this ? Sorry but as I said I have no idea about networking so the iptables frontends seem too complicated.
 
Old 10-11-2012, 06:22 PM   #7
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by gothmog123 View Post
Thanks Reaper,

So I copied all iptables rules from that Arch wiki page and they are starting on boot.

Am I OK like this ? Sorry but as I said I have no idea about networking so the iptables frontends seem too complicated.
If you do this as a learning experience, then off course it's fine. You'll learn a lot from it. But if that's not your intention (but you just want a ready-to-go solution), then I strongly suggest to use the firewall script. It's easy, you don't have to understand it, it's a good protection out-of-the-box.
 
Old 10-11-2012, 09:11 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
AlienBOB's can be configured in very detailed aspects, but it can be somewhat advanced at times if you start getting too detailed with it.
 
Old 10-12-2012, 04:08 PM   #9
gothmog123
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
OK thanks guys, I am finally running Alien Bob's script lol.

Is it being maintained though? The last item in the changelog is from 2005
 
Old 10-12-2012, 07:03 PM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by gothmog123 View Post
OK thanks guys, I am finally running Alien Bob's script lol.

Is it being maintained though? The last item in the changelog is from 2005
Not at all. Still working really well.
 
  


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
LXer: Managing A Single Firewall Policy For Multiple Servers Using Firewall Builder LXer Syndicated Linux News 0 12-06-2010 10:20 AM
old CISCO PIX 515 firewall to Linux firewall Winanjaya Linux - Security 8 03-22-2010 11:56 AM
pppoe-setup masquerade firewall vs custom firewall matters Slackware 12 03-06-2009 04:50 AM
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 10:09 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

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

All times are GMT -5. The time now is 07:52 AM.

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