mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-14 19:09:54 +01:00
docs: rdr: fix help message
This commit is contained in:
@@ -34,9 +34,9 @@ The ``rdr`` command includes 4 additional options:
|
|||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
|
-d | --destination [destination] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
||||||
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
||||||
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources.
|
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources.
|
||||||
-d | --destination [destination] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
|
||||||
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
@@ -78,8 +78,8 @@ name instead of an IP address or subnet.
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
|
-d | --destination [destination] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
||||||
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
||||||
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources.
|
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources.
|
||||||
-d | --destination [destination] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
|
||||||
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
||||||
-x | --debug Enable debug mode.
|
-x | --debug Enable debug mode.
|
||||||
|
|||||||
Reference in New Issue
Block a user