浏览代码

added README example

master
Piotr Pieprzycki 7 年前
父节点
当前提交
91ac149b2b
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. +24
    -0
      README.rst

+ 24
- 0
README.rst 查看文件

@@ -90,6 +90,30 @@ Allow access from local network
jump: ACCEPT
comment: Blah

Support logging with custom prefix and log level

.. code-block:: yaml

parameters:
iptables:
service:
chain:
POSTROUTING:
rules:
- table: nat
protocol: tcp
match: multiport
destination_ports:
- 21
- 80
- 443
- 2220
source_network: '10.20.30.0/24'
log_level: 7
log_prefix: 'iptables-logging: '
jump: LOG


IPv6 is supported as well

.. code-block:: yaml

正在加载...
取消
保存