mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-08 22:11:21 +01:00
Clarify add/delete syntax description
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1821 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d583d40787
commit
1be6dd76b0
@ -29,11 +29,18 @@
|
|||||||
case $1 in
|
case $1 in
|
||||||
|
|
||||||
add)
|
add)
|
||||||
echo "add: add <interface>[:<bridge-port>][:<host-list>] ... <zone>
|
echo "add: add <interface>[:<host-list>] ... <zone>
|
||||||
Adds a list of hosts or subnets to a dynamic zone usually used with VPN's.
|
Adds a list of hosts or subnets to a dynamic zone usually used with VPN's.
|
||||||
|
|
||||||
shorewall add interface[:<port>][:host-list] ... zone - Adds the specified interface
|
shorewall add interface:host-list ... zone - Adds the specified interface
|
||||||
(and bridge port/host if included) to the specified zone.
|
(and host-list if included) to the specified zone.
|
||||||
|
|
||||||
|
A host-list is a comma-separated list whose elements are:
|
||||||
|
|
||||||
|
A host or network address
|
||||||
|
The name of a bridge port
|
||||||
|
The name of a bridge port followed by a colon (":") and a host or
|
||||||
|
network address.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@ -95,11 +102,18 @@ debug)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
delete)
|
delete)
|
||||||
echo "delete: delete <interface>[:<bridge-port>][:<host-list>] ... <zone>
|
echo "delete: delete <interface>[:<host-list>] ... <zone>
|
||||||
Deletes a host or subnet from a dynamic zone usually used with VPN's.
|
Deletes a list of hosts or networks from a dynamic zone usually used with VPN's.
|
||||||
|
|
||||||
shorewall delete interface[:port][:host-list] ... zone - Deletes the specified
|
shorewall delete interface[:host-list] ... zone - Deletes the specified
|
||||||
interfaces (and bridge ports/hosts if included) from the specified zone.
|
interfaces (and host list if included) from the specified zone.
|
||||||
|
|
||||||
|
A host-list is a comma-separated list whose elements are:
|
||||||
|
|
||||||
|
A host or network address
|
||||||
|
The name of a bridge port
|
||||||
|
The name of a bridge port followed by a colon (":") and a host or
|
||||||
|
network address.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -29,11 +29,18 @@
|
|||||||
case $1 in
|
case $1 in
|
||||||
|
|
||||||
add)
|
add)
|
||||||
echo "add: add <interface>[:<bridge-port>][:<host-list>] ... <zone>
|
echo "add: add <interface>[:<host-list>] ... <zone>
|
||||||
Adds a list of hosts or subnets to a dynamic zone usually used with VPN's.
|
Adds a list of hosts or subnets to a dynamic zone usually used with VPN's.
|
||||||
|
|
||||||
shorewall add interface[:<port>][:host-list] ... zone - Adds the specified interface
|
shorewall add interface:host-list ... zone - Adds the specified interface
|
||||||
(and bridge port/host if included) to the specified zone.
|
(and host-list if included) to the specified zone.
|
||||||
|
|
||||||
|
A host-list is a comma-separated list whose elements are:
|
||||||
|
|
||||||
|
A host or network address
|
||||||
|
The name of a bridge port
|
||||||
|
The name of a bridge port followed by a colon (":") and a host or
|
||||||
|
network address.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@ -95,11 +102,18 @@ debug)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
delete)
|
delete)
|
||||||
echo "delete: delete <interface>[:<bridge-port>][:<host-list>] ... <zone>
|
echo "delete: delete <interface>[:<host-list>] ... <zone>
|
||||||
Deletes a host or subnet from a dynamic zone usually used with VPN's.
|
Deletes a list of hosts or networks from a dynamic zone usually used with VPN's.
|
||||||
|
|
||||||
shorewall delete interface[:port][:host-list] ... zone - Deletes the specified
|
shorewall delete interface[:host-list] ... zone - Deletes the specified
|
||||||
interfaces (and bridge ports/hosts if included) from the specified zone.
|
interfaces (and host list if included) from the specified zone.
|
||||||
|
|
||||||
|
A host-list is a comma-separated list whose elements are:
|
||||||
|
|
||||||
|
A host or network address
|
||||||
|
The name of a bridge port
|
||||||
|
The name of a bridge port followed by a colon (":") and a host or
|
||||||
|
network address.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -818,3 +818,8 @@ New Features:
|
|||||||
shorewall add eth1:1.2.3.4 eth1:2.3.4.5 z12
|
shorewall add eth1:1.2.3.4 eth1:2.3.4.5 z12
|
||||||
shorewall delete eth1:1.2.3.4 eth1:2.3.4.5 z12
|
shorewall delete eth1:1.2.3.4 eth1:2.3.4.5 z12
|
||||||
|
|
||||||
|
The above commands may also be written:
|
||||||
|
|
||||||
|
shorewall add eth1:1.2.3.4,2.3.4.5 z12
|
||||||
|
shorewall delete eth1:1.2.3.4,2.3.4.5 z12
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user