I am familiar with debian,so i want to build my vps server with debian instead of centos.
There are log file /var/log/firewalld
both in centos and debian.
In order to activate log function for firewall,it is simple to add below line into /etc/sysconfig/firewalld
in centos
FIREWALLD_ARGS=--debug=10
and restart the service with sudo systemctl restart firewalld
.
I found that there is no directory /etc/sysconfig
,shall i create directory and file in my debian?
mkdir /etc/sysconfig
touch /etc/sysconfig/firewalld
And do as in centos,it is the standard way to set firewalld'log in debian?