3-8
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 3 Access Rules
Configure Access Control
Example:
hostname(config)#
access-group outside_access in interface outside
For an interface-specific access group:
•
Specify the extended or EtherType ACL name. You can configure one
access-group
command per
ACL type per interface per direction, and one control plane ACL. The control plane ACL must be
an extended ACL.
•
The
in
keyword applies the ACL to inbound traffic. The
out
keyword applies the ACL to the
outbound traffic.
•
Specify the
interface
name.
•
The
per-user-override
keyword (for inbound ACLs only) allows dynamic user ACLs that are
downloaded for user authorization to override the ACL assigned to the interface. For example, if the
interface ACL denies all traffic from 10.0.0.0, but the dynamic ACL permits all traffic from 10.0.0.0,
then the dynamic ACL overrides the interface ACL for that user.
By default, VPN remote access traffic is not matched against interface ACLs. However, if you use
the
no sysopt connection permit-vpn
command to turn off this bypass, the behavior depends on
whether there is a
vpn-filter
applied in the group policy and whether you set the
per-user-override
option:
–
No
per-user-override
, no
vpn-filter
—Traffic is matched against the interface ACL.
–
No
per-user-override
,
vpn-filter
—Traffic is matched first against the interface ACL, then
against the VPN filter.
–
per-user-override
,
vpn-filter
—Traffic is matched against the VPN filter only.
•
The
control-plane
keyword specifies if the rule is for to-the-box traffic.
For a global access group, specify the
global
keyword to apply the extended ACL to the inbound
direction of all interfaces.
Examples
The following example shows how to use the
access-group
command:
hostname(config)#
access-list outside_access permit tcp any host 209.165.201.3 eq 80
hostname(config)#
access-group outside_access interface outside
The
access-list
command lets any host access the host address using port 80. The
access-group
command specifies that the
access-list
command applies to traffic entering the outside interface.
Configure ICMP Access Rules
By default, you can send ICMP packets to any ASA interface using either IPv4 or IPv6, with these
exceptions:
•
The ASA does not respond to ICMP echo requests directed to a broadcast address.
•
The ASA only responds to ICMP traffic sent to the interface that traffic comes in on; you cannot
send ICMP traffic through an interface to a far interface.
To protect the device from attacks, you can use ICMP rules to limit ICMP access to ASA interfaces to
particular hosts, networks, or ICMP types. ICMP rules function like access rules, where the rules are
ordered, and the first rule that matches a packet defines the action.
Содержание ASA 5512-X
Страница 5: ...P A R T 1 Service Policies and Access Control ...
Страница 6: ......
Страница 50: ...3 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 3 Access Rules History for Access Rules ...
Страница 51: ...P A R T 2 Network Address Translation ...
Страница 52: ......
Страница 126: ...5 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 5 NAT Examples and Reference DNS and NAT ...
Страница 127: ...P A R T 3 Application Inspection ...
Страница 128: ......
Страница 255: ...P A R T 4 Connection Settings and Quality of Service ...
Страница 256: ......
Страница 288: ...12 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 12 Quality of Service History for QoS ...
Страница 303: ...P A R T 5 Advanced Network Protection ...
Страница 304: ......
Страница 339: ...P A R T 6 ASA Modules ...
Страница 340: ......
Страница 398: ...17 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 17 ASA CX Module History for the ASA CX Module ...