update docs

This commit is contained in:
tschettervictor
2025-10-05 17:33:41 -06:00
parent 07496cab2d
commit 95a2561e11
2 changed files with 15 additions and 14 deletions

View File

@@ -34,10 +34,11 @@ 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. -d | --destination IP 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 IF,IF Specify interface(s) to apply rule to. Comman separated.
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources. -s | --source IP|table Limit rdr to a source IP or table.
-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.
.. code-block:: shell .. code-block:: shell
@@ -78,8 +79,8 @@ Simply use the table 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. -d | --destination IP 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 IF,IF Specify interface(s) to apply rule to. Comman separated.
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources. -s | --source IP|table Limit rdr to a source IP or table.
-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.

View File

@@ -38,11 +38,11 @@ usage() {
Options: Options:
-d | --destination [destination] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface. -d | --destination IP 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 IF,IF Specify interface(s) to apply rule to. Comman separated.
-s | --source [source] Limit rdr to a source IP or table. Useful to only allow access from certain sources. -s | --source IP|table Limit rdr to a source IP or table.
-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.
EOF EOF
exit 1 exit 1