Explorar el Código

added README example

master
Piotr Pieprzycki hace 7 años
padre
commit
91ac149b2b
Se han modificado 1 ficheros con 24 adiciones y 0 borrados
  1. +24
    -0
      README.rst

+ 24
- 0
README.rst Ver fichero

@@ -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

Cargando…
Cancelar
Guardar