Firewalld Offline

Support for security such as Firewalls and securing linux
Pcoenen
Posts: 16
Joined: 2016/03/05 17:01:46

Re: Firewalld Offline

Post by Pcoenen » 2016/03/11 13:45:58

That would be strange Because it worked for 2/3 weeks...

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: GMT

Re: Firewalld Offline

Post by giulix63 » 2016/03/11 14:24:14

Let's assume is not some kind of dodgy virtualization like OpenVZ et al, then. Anything special in the rules? Have you tried to reboot with only a minimal set of rules (i.e. to allow just for SSH)?
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Pcoenen
Posts: 16
Joined: 2016/03/05 17:01:46

Re: Firewalld Offline

Post by Pcoenen » 2016/03/12 08:59:07

Sorry i don't understand what you exactly mean and how I can do that ?

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: GMT

Re: Firewalld Offline

Post by giulix63 » 2016/03/12 09:22:28

Well, I'm not a great firewalld fan, but I learn that it stores its configuration in /etc/firewalld. So, you could try to backup that directory, uninstall firewalld, delete the directory and perform a clean-slate reinstall to see if it makes any difference. If nothing changes, you can always restore your previous configuration. The only problem with that, is that you could potentially lock yourself out of the system. So, before doing that, you should make sure that at least SSH is allowed through your server.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Pcoenen
Posts: 16
Joined: 2016/03/05 17:01:46

Re: Firewalld Offline

Post by Pcoenen » 2016/03/15 13:23:53

Reïnstalling Firewalld doesn't solve anything.

So I tried reïnstalling ebtables, firewalld and iptables. This resulted in an unreachable server. How can i fix this and put the server back on online ?

I have acces via the server's monitor, but I have totaly no idea how i can solve this.

Are there good tutorials for this ?

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: GMT

Re: Firewalld Offline

Post by giulix63 » 2016/03/15 13:32:13

Just reinstall firewalld and restore /etc/firewalld. You did back it up, as I suggested, right?
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Pcoenen
Posts: 16
Joined: 2016/03/05 17:01:46

Re: Firewalld Offline

Post by Pcoenen » 2016/03/15 13:57:20

I tried that :)

but that didn't changed anything

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: GMT

Re: Firewalld Offline

Post by giulix63 » 2016/03/15 14:01:43

You tried what exactly? I think I lost track here... Anyway, it seems pretty obvious that installation got screwed up somehow (missing the ebtables man pages is not in itself damning, but could be the tell-tale that something wrong happened, unless you deleted it for some reason). Reinstalling ebtables, iptables and firewalld could be the way to go, but not unless you start with a clean slate. We have already ascertained that no ebtables configuration is present. The only thing to make sure is that, when you restart firewalld, it doesn't pick up the remnants of previous configurations (that's the reason for the /etc/firewalld backup and restore). One additional piece of information that could be useful is the list of your network links:

Code: Select all

ip addr show
Last edited by giulix63 on 2016/03/15 14:11:57, edited 1 time in total.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Pcoenen
Posts: 16
Joined: 2016/03/05 17:01:46

Re: Firewalld Offline

Post by Pcoenen » 2016/03/15 14:03:26

This: :D
giulix63 wrote:Just reinstall firewalld and restore /etc/firewalld. You did back it up, as I suggested, right?
and because it changed nothing I tried this:
So I tried reïnstalling ebtables, firewalld and iptables. This resulted in an unreachable server.

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: GMT

Re: Firewalld Offline

Post by giulix63 » 2016/03/15 14:13:11

Could you read my previous post again, please? I changed it while you were replying to it...
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Post Reply

Return to “CentOS 7 - Security Support”