Re: Iptables not starting
From: John Crane (jcrane_at_crane.net)
Date: 09/27/05
- Next message: ba3000: "asus wlan pcmcia wl107g"
- Previous message: John Crane: "Iptables not starting"
- Maybe in reply to: John Crane: "Iptables not starting"
- Next in thread: Lenard: "Re: Iptables not starting"
- Reply: Lenard: "Re: Iptables not starting"
- Reply: Tommy Reynolds: "Re: Iptables not starting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Sep 2005 00:22:40 -0500
Lenard <Lenard@127.0.0.1> wrote in news:eI3_e.241$mM7.232
@newssvr17.news.prodigy.com:
> John Crane wrote:
>
>> Hello,
>> I'm running RHEL3, kernal 2.4 with iptables 1.2.8 installed.
>>
>> I entered services iptables start and I didn't see any messeges like
>> failed or OK. I checked to see if /etc/sysconfig/iptables exists but
>> it didn't so created it.
>> touch /etc/sysconfig/iptables
>> chmod 600 /etc/sysconfig/iptables
>>
>> Now I see the messege Applying iptables firewall rules.
>> But then I check the status of the firewall and it is stopped. How do
>> I start the firewall?
>
> You need to create the rules for the firewall use;
>
> redhat-config-securitylevel
>
>
So simple! Thanks. One more thing. I have a sample configuration script.
I want to run it then save the config. I try ./rc.firewall to run it then
I get the error
: bad interpreter: No such file or directory
I check the file and see that bash is installed and the top of the script
has #!/bin/bash. Why doesn't this run?
- Next message: ba3000: "asus wlan pcmcia wl107g"
- Previous message: John Crane: "Iptables not starting"
- Maybe in reply to: John Crane: "Iptables not starting"
- Next in thread: Lenard: "Re: Iptables not starting"
- Reply: Lenard: "Re: Iptables not starting"
- Reply: Tommy Reynolds: "Re: Iptables not starting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]