[CentOS] Stupid C7 firewall question
Kenneth Porter
shiva at sewingwitch.comThu Oct 25 18:51:15 UTC 2018
- Previous message: [CentOS] Stupid C7 firewall question
- Next message: [CentOS] Stupid C7 firewall question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/25/2018 12:41 AM, Warren Young wrote: > to make them permanent, you have to edit `/etc/sysconfig/iptables` with a somewhat different syntax. Or use "service iptables save". On systems where I use raw iptables, I set the thing up with the command line tools and then use that command to snapshot the running firewall to the sysconfig file. I'm using firewalld now, but I still inspect the resulting iptables to see what it does. You can do this with "iptables-save > /tmp/iptables.txt". (That's the command that the initscript uses under the hood to save the boot-time sysconfig file.)
- Previous message: [CentOS] Stupid C7 firewall question
- Next message: [CentOS] Stupid C7 firewall question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list