firewall-cmd

Support for security such as Firewalls and securing linux
Locked
dimpase
Posts: 2
Joined: 2017/10/26 06:35:52

firewall-cmd

Post by dimpase » 2017/11/21 18:58:31

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

bigrunner2120
Posts: 2
Joined: 2017/12/13 18:00:34

Re: firewall-cmd

Post by bigrunner2120 » 2017/12/13 20:36:01

Greetings,
Have you tried to defined the interface to the zone within configuration file?

bigrunner2120
Posts: 2
Joined: 2017/12/13 18:00:34

Re: firewall-cmd

Post by bigrunner2120 » 2019/11/15 17:55:01

Hey guys
yeah...that right
much appreciative

busulmac
Posts: 1
Joined: 2017/11/24 14:38:43

Re: firewall-cmd

Post by busulmac » 2020/01/26 20:38:02

Hi dude! How you did that?

summitflier
Posts: 13
Joined: 2020/01/22 22:16:05

Re: firewall-cmd

Post by summitflier » 2020/01/28 22:40:27

use the --permanent option.

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

User avatar
TrevorH
Forum Moderator
Posts: 28089
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: firewall-cmd

Post by TrevorH » 2020/01/30 16:17:11

Someone necro'ed this thread which dates from 3 years ago. I suspect the OP no longer cares. Locked.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Locked

Return to “CentOS 7 - Security Support”