] Centos 7 - iptables service failed to start
Hello all:
I did a fresh install of CentOS 7 on a new machine.
I wrote /usr/local/bin/firewall.stop to remove all the firewall rules.
It contains this code:
# Flush the rules
/usr/sbin/iptables -F
# Set the default policies to accept
/usr/sbin/iptable
On 10.08.2014 05:30, Neil Aggarwal wrote:
> Hey everyone:
>
>> The process /usr/local/bin/firewall.start could not be executed
>> and failed.
>
> I just realized I forgot to put #!/bin/sh at the top of my firewall
> scripts. I added that and it is working perfectly fine now.
>
> Sorry for any
On Sat, Aug 09, 2014 at 10:21:33PM -0500, Neil Aggarwal wrote:
> Hello all:
>
> I did a fresh install of CentOS 7 on a new machine.
>
> I wrote /usr/local/bin/firewall.stop to remove all the firewall rules.
> It contains this code:
> # Flush the rules
> /usr/sbin/iptables -F
You are missing a fi
Hey everyone:
> The process /usr/local/bin/firewall.start could not be executed
> and failed.
I just realized I forgot to put #!/bin/sh at the top of my firewall
scripts. I added that and it is working perfectly fine now.
Sorry for any trouble.
Thanks,
Neil
--
Neil Aggarwal, (972) 834-1565
Hello all:
I did a fresh install of CentOS 7 on a new machine.
I wrote /usr/local/bin/firewall.stop to remove all the firewall rules.
It contains this code:
# Flush the rules
/usr/sbin/iptables -F
# Set the default policies to accept
/usr/sbin/iptables -P INPUT ACCEPT
/usr/sbin/iptables -P OUTPU
5 matches
Mail list logo