LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shorewall , drakfirewall ??? (https://www.linuxquestions.org/questions/linux-newbie-8/shorewall-drakfirewall-112680/)

miklr 11-05-2003 10:56 AM

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

joseph 11-05-2003 09:48 PM

sorry i am not familiar with shorewall and drakfirewall. i just know a little about IPTABLES

miklr 11-06-2003 07:53 AM

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.

Patrick Bulteel 11-06-2003 11:06 AM

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

miklr 11-06-2003 01:23 PM

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.

samwwwblack 11-06-2003 02:12 PM

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

miklr 11-06-2003 07:16 PM

Thanks SAm, I'll get back to you soon.

miklr 11-07-2003 01:11 PM

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. :study:


All times are GMT -5. The time now is 09:06 PM.