Page 1 of 1

firewall-cmd

Posted: 2017/11/21 18:58:31
by dimpase
Greetings!
Prompt please, I have 2 connections ethernet (local and external), at activation of a firewall and I launch local connection the external connection ceases to accept connections. Tried to transfer the local connection to the zone with the external one - everything works but the rules are not saved, when it is restarted it disappears (although I use the --permanent key). Under firewall-cmd

Re: firewall-cmd

Posted: 2017/12/13 20:36:01
by bigrunner2120
Greetings,
Have you tried to defined the interface to the zone within configuration file?

Re: firewall-cmd

Posted: 2019/11/15 17:55:01
by bigrunner2120
Hey guys
yeah...that right
much appreciative

Re: firewall-cmd

Posted: 2020/01/26 20:38:02
by busulmac
Hi dude! How you did that?

Re: firewall-cmd

Posted: 2020/01/28 22:40:27
by summitflier
use the --permanent option.

firewall-cmd --zone=Public --add-service=httpd --permanent

Re: firewall-cmd

Posted: 2020/01/30 16:17:11
by TrevorH
Someone necro'ed this thread which dates from 3 years ago. I suspect the OP no longer cares. Locked.