Explanation of the config files for creating rulesΒΆ
Allowed options on each section
| section_type: | general / ipset / policy |
|---|
generalThis value indicates this section defines rule/sipsetThis value indicates this section defines a kernel ipsetpolicyThis value indicates this section defines policy we want to apply (ACCEPT, DROP)
| general: | Section for rules
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| general: | Section for log,accept/drop
|
||||||||||||||||
| general: | Section for single way rule
|
||||||||||||||||
| policy: | Section to define the policy of our firewall. Only one section is allowed
|
||||||||||||||||