Basic ACL Statements
 
Basic ACL
Statements
PIX ACLs can be used to control connections based on source
address, destination address, or protocol information. Because many ACLs are
created to allow outside access into the more secure areas of the network,
configuring them carefully to allow only the minimum access required is
important. Whenever possible, configure ACLs more restrictively by specifying a
remote source address, local destination address, and the protocol used, thereby
reducing the likelihood of unwanted additional traffic. The any and host keywords are implemented the same
as in IOS ACLs. Use the no form of the command to remove the ACL entry. The
basic syntax is
Pix(config)# access-list acl_id {deny
| permit} protocol {source_addr | local_addr} {source_mask | local_mask}[operator port [port_id] {dest_addr | remote_addr} {dest_mask | remote_mask} [operator port [port_id]
In the following example, a static mapping is created for a
server, and then outside users are allowed to access that global address for web
and FTP activities.
Pix(config)# static (dmz,outside) 1.1.1.3 192.168.2.3 Pix(config)# access-list tcp_ok permit tcp any host 1.1.1.3 eq www Pix(config)# access-list tcp_ok permit tcp any host 1.1.1.3 eq ftp Pix(config)# access-group tcp_ok in interface outside
37 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|