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 11-05-2003, 11:56 AM   #1
miklr
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake 9.1
Posts: 11

Rep: Reputation: 0
shorewall , drakfirewall ???


Does anyone know anything about setting up the
shorewall , drakfirewall. I have made an attempt, and
seem to have made an error, as now I can't even browse
the Internet.

please help, anyone
 
Old 11-05-2003, 10:48 PM   #2
joseph
Member
 
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
sorry i am not familiar with shorewall and drakfirewall. i just know a little about IPTABLES
 
Old 11-06-2003, 08:53 AM   #3
miklr
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Well, if I can fiqure out how to set up the IPTABLES, and do this whole thing through commandline, that is fine with me too. I just want to have a secure connection on the web.

thanks for your input.
 
Old 11-06-2003, 12:06 PM   #4
Patrick Bulteel
Member
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake, RedHat, Suse, Ubuntu, Debian
Posts: 37

Rep: Reputation: 15
As far as I know - and I may be wrong - shorewall and drakfirewall are independent apps and don't work "with" each other.

Shorewall is a very advanced and not very easy to configure set of scripts that are great at setting up a secure firewall.

If you want to setup shorewall (I recommend it even though it's hard to learn at first) then you might want to read the documentation at their website. http://www.shorewall.net/ has TONS of information on how to set it up and how to fix any connection problems that you might have. Just take a look at their site.

If you want to use drakfirewall then I'd recommend uninstalling shorewall...
 
Old 11-06-2003, 02:23 PM   #5
miklr
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
thanks, I'll look into it.

I was under the impression that drakefirewall was using all of the libraries from the shorewall modules, as when I went to enable drakefirewall it demanded the install of the firewall modules (shorewall) before it could be enabled.

I quess I'm very confused.
 
Old 11-06-2003, 03:12 PM   #6
samwwwblack
Member
 
Registered: Apr 2003
Location: Midlands, UK
Distribution: Lapwing-Linux 2009.1
Posts: 64

Rep: Reputation: 15
im having a wild guess here, but give this a go.

Copy the firewall text at http://www.geocities.com/samwblack/linux/firewall into a text editor, you may need to alter some parameters (ie interface, where iptables reside) save it as firewall.txt in /sbin (you'll need to be root), chmod 755 it to make it executable, then add the following to /etc/rc.d/rc.local

/sbin/firewall restart

and save it

To test the firewalll, open a terminal and type

firewall restart

then watch the script for any errors, if so, post back here
If no errors occur, test the firewall with https://grc.com/x/ne.dll?bh0bkyd2

Hope this helps,

Sam Black

Last edited by samwwwblack; 11-27-2003 at 03:55 PM.
 
Old 11-06-2003, 08:16 PM   #7
miklr
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks SAm, I'll get back to you soon.
 
Old 11-07-2003, 02:11 PM   #8
miklr
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Well, you got me on the right track...

I tried your script and the ran it and discovered that I had nothing in my IPTABLES file, so the script wouldn't work with out those to reference.

Then decided to just try to start all over, and this time I first installed the IPTABLES modules and then it reinstalled Shorewall as well, due to dependancies, through the Mandrake module install panel.

Now it appears as though the firewall, is working, on a LAN connection, but I have yet to try it on my box at home that I'm running a modem connection.

Will keep you posted...

thanks.

miq.
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 10:33 PM
Configuring Drakfirewall on Mandrake 9.1 andy_g_gray Linux - Security 3 01-12-2004 03:14 PM
COnfiguring Drakfirewall & other Lucius Catilina Linux - Networking 3 12-07-2003 10:29 PM
? about Mandrake shorewall , drakfirewall miklr Linux - Newbie 2 11-06-2003 08:37 AM
I Need Help With Shorewall zebra90210 Linux - Security 1 10-23-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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