newbie tutorial sought for firewall: choice, configuration and usage
Hi folks,
Subject says it all really: I am new to linux, newer still to slackware, which I have running nicely in -current version (had to go for -current as i couldn't get stable to support my inbuilt graphics) Now I just want a very basic introduction to choosing, installing, configuring and optimizing the most suitable firewall for a stand alone, personal desktop linux box. thanks in advance PS all google searches I have tried return stuff that is too technical for me to benefit from |
|
Quote:
I'll check it out man; that's real nice of you to pass it on. regs, PS: 1.Goedel's incompleteness theorem: you can either have a completely defined system which contains errors; or an error free system which is incomplete 2.Heisenberg's uncertainty principle comes to mind 3. Astronomer Royale, Sir Martin Rees: "We may - and probably do - inhabit a universe which is infinitely complex and therefore, infinitely beyond our capacity to fully understand, ever!" |
Quote:
UFW is super easy to get along with. It does work with iptables though, but that one is the exact opposite (to me anyway) as it is prettuy hard to understand... By the way, there's quite some truth in the PS'es you added... Thor |
Moved: This thread is more suitable in the slackware forum (where almost all slackware-related threads go) and has been moved accordingly to help your thread/question get the exposure it deserves. BTW http://docs.slackware.com/howtos:sec...basic_security says check http://www.slackware.com/~alien/efg/ (maybe see http://rlworkman.net/conf/firewall/ as well?).
|
Quote:
The simplest solution in a fresh Slackware install would be to copy /etc/ppp/firewall-standalone to /etc/rc.d/rc.firewall. This is a very simple but secure firewall. You will likely want a more flexible solution in the future, so I also recommend looking at Alien Bob's EFG. If you are using NetworkManager to handle your internet connection, then I suggest creating a script in /etc/NetworkManager/dispatcher.d that will run the firewall script when the internet connection is established. As an example see here http://www.linuxquestions.org/questi...1/#post4579765 Note that the firewall script for the ppp0 connection is actually named /etc/rc.d/rc.firewall_ppp0 |
Quote:
Thanks for your great work in keeping a formidably great site going and available to the likes of me : 0 )) I'll follow the lead you offer. cheers |
Linux includes firewall capabilities. It's called iptables.
The firewall programs you install are generally front-ends for configuring iptables. My personal favorite for use with Slackware is the ProjectFiles rc.firewall script; like Slackware, it just works. You configure it up, place it in /etc/rc.d, and make it executable. Then it will run at boot. You can start it as root with /etc/rc.d/rc.firewall start. It's hard to find on the internet any more, but I do have a copy if you would like it. (I'm hesitant to post a link because it's on my website and might look like advertising.) |
Quote:
|
Quote:
Please do: go ahead and send site reference; Tobi has thoughtfully ok-ed it below; I would find it both helpful and interesting to see. Kind thanks for your thoughtful response |
I have a similar situation on my laptop. My solution is to write my own /etc/rc.d/rc.firewall.
Quote:
Quote:
Quote:
|
Quote:
Here's my link to the rc.firewall script. http://www.pineviewfarm.net/weblog/p...rewall-script/ |
Just a comment on that firewall script that frankbell linked.
Code:
# Set default policy for ESTABLISHED and RELATED connections to ACCEPT on FORWARD chains. |
All times are GMT -5. The time now is 01:53 AM. |