OT: building a new MS machine and stuck at the firewall

Alex Neuman van der Hans alex at nkpanama.com
Wed Mar 1 00:35:03 GMT 2006


service iptables stop
service iptables save
service iptables start

That should do it.

Dennis Willson wrote:
> My comment about being new to managing Linux was really more targeted 
> to the original poster who said:
>
> "Well I thought that I was not a newbie, but I am already stuck and
> having not did anything but install CentOS 4.2.
>
> I opted to enable the firewall during the setup, and now I do not even
> know how to turn it off let alone configure the iptables, as it seems
> that I need to do.  I searched and searched and I really just want to
> turn it off because it is not directly on the net.
>
> Any simple command ex: service firewall stop chkconfig firewall or
> something to turn it off?"
>
>
> It wasn't really meant to be directed at you... Sorry
> Dennis
>
>
> Julian Field wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>>
>>
>> On 27 Feb 2006, at 22:50, Dennis Willson wrote:
>>
>>  
>>
>>> If you're new to managing Linux,
>>>   
>>
>> Yeah, a bit, only been doing it since we first opened our public 
>> 24x7  Linux lab back in 1993.
>>
>> :-)
>>
>> Thanks for the thought though ;->
>>
>>  
>>
>>> Webmin can make life a lot easier.  You can also sometimes learn a  
>>> few things by looking at the config files before and after you do  
>>> something in Webmin to understand what the configs are really doing.
>>>
>>> Dennis
>>>
>>> Julian Field wrote:
>>>
>>>   
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>>
>>>>
>>>> Joshua Hirsh wrote:
>>>>
>>>>     
>>>>>> Any simple command ex: service firewall stop chkconfig firewall or
>>>>>> something to turn it off?
>>>>>>
>>>>>>         
>>>>> Hi Billy,
>>>>>
>>>>> You have a few options:
>>>>>
>>>>> 1) type 'setup' as root and disable the firewall from there
>>>>> 2) type 'service iptables stop', and 'chkconfig iptables  off' 
>>>>> (this disabled the firewall startup script)
>>>>> 3) for a temporary removal until next reboot, type 'iptables - F' 
>>>>> (this flushes out the iptables rules)
>>>>>
>>>>>       
>>>> Once you've got iptables in, how do you configure it?
>>>> Presumably there are some reasonable firewall configuration tools  
>>>> included with RHEL/CentOS?
>>>> I've always just done it the hard way, any time I've needed it  
>>>> (which is rarely, we have FW-1 connected to an active IDS), but  
>>>> there must be an easy way.
>>>>
>>>> - -- Julian Field
>>>> www.MailScanner.info
>>>> Buy the MailScanner book at www.MailScanner.info/store
>>>> Professional Support Services at www.MailScanner.biz
>>>> MailScanner thanks transtec Computers for their support
>>>>
>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: PGP Desktop 9.0.5 (Build 5050)
>>>>
>>>> iQA/AwUBRANh3RH2WUcUFbZUEQLNAQCg9nXA4V/l/WAU1w57bqtLnBVr8pwAoK4x
>>>> ZXeOnpzopydwEmppc7JBgj1m
>>>> =lGQH
>>>> -----END PGP SIGNATURE-----
>>>>
>>>>
>>>>     
>>> -- 
>>>
>>> ----------------------------------
>>> Dennis Willson
>>> mailto:taz at taz-mania.com
>>> http://www.taz-mania.com
>>>
>>>
>>>
>>> <taz.vcf>
>>> -- 
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>>   
>>
>> - -- Julian Field
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: PGP Desktop 9.0.5 (Build 5050)
>>
>> iQEVAwUBRAQWwvw32o+k+q+hAQE6oAf/T+xeRlFNT077Mn5R0E4fU2iliTH/f8Ma
>> ipbTFnbx4tlhM4j8atIaGcXwobUaJPt1KJ/7GElraGprdVFnzao6xbg0tUzVUJJg
>> X1PuXfcGJOkhOLB7iAEKag3TgpUg3vmqdPT5bWFow/xorDmoBRe3Ep46hQD54ivg
>> aAn63zXhyQooZshl4STLV34uUOXkdZUfS7DzRbwXA+ebdxcaIdzg7nsisY0SQAfx
>> +N8pJkX93tLEks9owdikP+VLEgusrPwRNbUvDd3uGecvkCJ9crdlCLA3g3ixwqQA
>> I9mC2EMrm/4M471pmKB2gVArF1uKdzntjaC+gFakNaoeUhJeTlbmDg==
>> =lKOL
>> -----END PGP SIGNATURE-----
>>
>>  
>>
>

-- 

Alex Neuman van der Hans
N&K Technology Consultants
Tel. +507 214-9002 - http://nkpanama.com/



More information about the MailScanner mailing list