LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Personal Firewall (https://www.linuxquestions.org/questions/linux-newbie-8/personal-firewall-79218/)

itedwards 08-05-2003 11:24 AM

Personal Firewall
 
Sorry complete newbie - never thought I'd be so far down a learning curve again. Been hunting Google and LDP for answers but they all read a bit too complicated. I'm looking for step by step hand holding answers here.

Anyway - I recently told Win2k to clear of to another partition and installed two Linux Slackware 9.0 partitions as main and test OSs on a home PC. (Reason being I can muck about in the test one first - make my mistakes there without killing the main Linux partition.)

I've got broadband connectivity through a cable modem connected to my LAN card. No other PCs involved. Eventually got the internet and mail working but now I need to get my firewall working consistently.

I used Webmin to configure the ipchains firewalling and after testing at grc.com everything is in stealth mode. Then I reboot and it's all open again until I run ipchain in Webmin again.

So to my questions..
1) Having come from the windows world I feel happier for now working from within Gnome or KDE. How do I get these to autostart on boot? - [edit - I've sussed this one using the Linux System Administrators Guide 0.7 :study: ]

2) How do I get my ipchains is running from startup of my system?
:scratch: ]

Cheers
Ian

Tinkster 08-05-2003 02:39 PM

Re: Personal Firewall
 
Quote:

Originally posted by itedwards
Sorry complete newbie - never thought I'd be so far down a learning curve again.
No worries, MS refugees are always welcome
in our little haven of freedom and safety :}

Quote:

1) Having come from the windows world I feel happier for now working from within Gnome or KDE. How do I get these to autostart on boot?
Easy ... edit /etc/inittab, and set
id:3:initdefault:
to
id:4:initdefault:

Quote:

2) How do I get my ipchains is running from startup of my system?
I haven't used webmin for that purpose,
but I assume it generates a script (either
that, or it dumps the rules into a file) ...
in either case, you'll have to put a
script somewhere and call it from /etc/rc.d/rc.local


Cheers,
Tink

P.S.: Using Slack you might find that you'll
get answers sooner posting the questions
in the Slackware-Distro forum ;)

itedwards 08-06-2003 03:36 AM

Re: Re: Personal Firewall
 
Quote:

Originally posted by Tinkster


I haven't used webmin for that purpose,
but I assume it generates a script (either
that, or it dumps the rules into a file) ...
in either case, you'll have to put a
script somewhere and call it from /etc/rc.d/rc.local

Cheers - that's sorted me out. Wedbim created a file called firewall that I called from /etc/rc.d/rc.local as you say.

Nice one:D


All times are GMT -5. The time now is 06:46 AM.