firewalld :Значение числа после INPUT/OUTPUT

Вы можете объединить несколько sedвыражений, подобных этому:

sed -e 's/Sat/Saturday/g' -e 's/Sun/Sunday/g' <file>

Это заменит все вхождения Satна Saturdayи все вхождения Sunна Sunday.

0
27.05.2021, 21:22
1 ответ

Это приоритет, он используется для упорядочения правил. Из брандмауэра -справочной страницы cmd:

[--permanent] --direct --add-rule { ipv4 | ipv6 | eb } table chain priority args

Add a rule with the arguments args to chain chain in table table with priority priority.

The priority is used to order rules. Priority 0 means add rule on top of the chain, with a higher priority the rule will be added further down. Rules with the same priority are on the same level and the order of these rules is not fixed and may change. If you want to make sure that a rule will be added after another one, use a low priority for the first and a higher for the following.

1
28.07.2021, 11:28

Теги

Похожие вопросы