Chapter 15 Firewall
ZyWALL (ZLD) CLI Reference Guide
130
15.2.1 Firewall Sub-Commands
The following table describes the sub-commands for several firewall commands.
Table 65
firewall Sub-commands
COMMAND
DESCRIPTION
action {allow|deny|reject}
Sets the action the ZyWALL takes when packets
match this rule.
[no] activate
Enables a firewall rule. The
no
command disables
the firewall rule.
[no] ctmatch {dnat | snat}
Use
dnat
to block packets sent from a computer
on the ZyWALL’s WAN network from being
forwarded to an internal network according to a
virtual server rule.
Use
snat
to block packets sent from a computer
on the ZyWALL’s internal network from being
forwarded to the WAN network according to a 1:1
NAT or Many 1:1 NAT rule.
The
no
command forwards the matched packets.
[no] description
description
Sets a descriptive name (up to 60 printable ASCII
characters) for a firewall rule. The
no
command
removes the descriptive name from the rule.
[no] destinationip
address_object
Sets the destination IP address. The
no
command
resets the destination IP address(es) to the default
(
any
).
any
means all IP addresses.
[no] from
zone_object
Sets the zone on which the packets are received.
The
no
command removes the zone on which the
packets are received and resets it to the default
(
any
).
any
means all interfaces or VPN tunnels.
[no] log [alert]
Sets the ZyWALL to create a log (and optionally an
alert) when packets match this rule. The
no
command sets the ZyWALL not to create a log or
alert when packets match this rule.
[no] schedule
schedule_object
Sets the schedule that the rule uses. The
no
command removes the schedule settings from the
rule.
[no] service
service_name
Sets the service to which the rule applies. The
no
command resets the service settings to the default
(
any
).
any
means all services.
[no] sourceip
address_object
Sets the source IP address(es). The
no
command
resets the source IP address(es) to the default
(
any
).
any
means all IP addresses.
[no] sourceport {tcp|udp} {eq
<1..65535>|range <1..65535> <1..65535>}
Sets the source port for a firewall rule. The
no
command removes the source port from the rule.
[no] to {
zone_object
|ZyWALL}
Sets the zone to which the packets are sent. The
no
command removes the zone to which the
packets are sent and resets it to the default (
any
).
any
means all interfaces or VPN tunnels.
[no] user
user_name
Sets a user-aware firewall rule. The rule is
activated only when the specified user logs into the
system. The
no
command resets the user name to
the default (
any
).
any
means all users.
Содержание ZyWall
Страница 2: ......
Страница 6: ...Document Conventions ZyWALL ZLD CLI Reference Guide 6 ...
Страница 10: ...10 ...
Страница 26: ...Chapter 1 Command Line Interface ZyWALL ZLD CLI Reference Guide 26 ...
Страница 46: ...46 ...
Страница 84: ...Chapter 6 Interfaces ZyWALL ZLD CLI Reference Guide 84 ...
Страница 98: ...Chapter 8 Route ZyWALL ZLD CLI Reference Guide 98 ...
Страница 106: ...Chapter 10 Zones ZyWALL ZLD CLI Reference Guide 106 ...
Страница 110: ...Chapter 11 DDNS ZyWALL ZLD CLI Reference Guide 110 ...
Страница 116: ...Chapter 12 Virtual Servers ZyWALL ZLD CLI Reference Guide 116 ...
Страница 120: ...Chapter 13 HTTP Redirect ZyWALL ZLD CLI Reference Guide 120 ...
Страница 124: ...Chapter 14 ALG ZyWALL ZLD CLI Reference Guide 124 ...
Страница 125: ...125 PART III Firewall Firewall 127 ...
Страница 126: ...126 ...
Страница 134: ...Chapter 15 Firewall ZyWALL ZLD CLI Reference Guide 134 ...
Страница 135: ...135 PART IV VPN IPSec VPN 137 SSL VPN 147 L2TP VPN 153 ...
Страница 136: ...136 ...
Страница 146: ...Chapter 16 IPSec VPN ZyWALL ZLD CLI Reference Guide 146 ...
Страница 152: ...Chapter 17 SSL VPN ZyWALL ZLD CLI Reference Guide 152 ...
Страница 160: ...Chapter 18 L2TP VPN ZyWALL ZLD CLI Reference Guide 160 ...
Страница 161: ...161 PART V Application Patrol Application Patrol 163 ...
Страница 162: ...162 ...
Страница 174: ...Chapter 19 Application Patrol ZyWALL ZLD CLI Reference Guide 174 ...
Страница 175: ...175 PART VI Anti X Anti Virus 177 IDP Commands 185 Content Filtering 203 Anti Spam 215 ...
Страница 176: ...176 ...
Страница 202: ...Chapter 21 IDP Commands ZyWALL ZLD CLI Reference Guide 202 ...
Страница 214: ...Chapter 22 Content Filtering ZyWALL ZLD CLI Reference Guide 214 ...
Страница 224: ...Chapter 23 Anti Spam ZyWALL ZLD CLI Reference Guide 224 ...
Страница 225: ...225 PART VII Device HA Device HA 227 ...
Страница 226: ...226 ...
Страница 236: ...236 ...
Страница 248: ...Chapter 26 Addresses ZyWALL ZLD CLI Reference Guide 248 ...
Страница 252: ...Chapter 27 Services ZyWALL ZLD CLI Reference Guide 252 ...
Страница 262: ...Chapter 29 AAA Server ZyWALL ZLD CLI Reference Guide 262 ...
Страница 266: ...Chapter 30 Authentication Objects ZyWALL ZLD CLI Reference Guide 266 ...
Страница 272: ...Chapter 31 Certificates ZyWALL ZLD CLI Reference Guide 272 ...
Страница 276: ...Chapter 32 ISP Accounts ZyWALL ZLD CLI Reference Guide 276 ...
Страница 280: ...Chapter 33 SSL Application ZyWALL ZLD CLI Reference Guide 280 ...
Страница 288: ...Chapter 34 Endpoint Security ZyWALL ZLD CLI Reference Guide 288 ...
Страница 289: ...289 PART IX System System 291 System Remote Management 299 ...
Страница 290: ...290 ...
Страница 298: ...Chapter 35 System ZyWALL ZLD CLI Reference Guide 298 ...
Страница 314: ...314 ...
Страница 332: ...Chapter 37 File Manager ZyWALL ZLD CLI Reference Guide 332 Figure 55 Startup Complete ...
Страница 344: ...Chapter 39 Reports and Reboot ZyWALL ZLD CLI Reference Guide 344 ...
Страница 346: ...Chapter 40 Session Timeout ZyWALL ZLD CLI Reference Guide 346 ...
Страница 348: ...Chapter 41 Diagnostics ZyWALL ZLD CLI Reference Guide 348 ...
Страница 362: ...Chapter 44 Watchdog Timer ZyWALL ZLD CLI Reference Guide 362 ...
Страница 363: ...363 PART XI Command List List of Commands Alphabetical 365 ...
Страница 364: ...364 ...
Страница 394: ...List of Commands Alphabetical ZyWALL ZLD CLI Reference Guide 394 ...