Example: how to properly apply the ACL Access Control List

Source: Internet
Author: User
The access control list is a rule created on the router to filter the traffic processed by the router. It plays an increasingly important role in improving network performance and enhancing network security. This document lists several application instances for configuring access control lists on CISCO routers.

The access control list is a rule created on the router to filter the traffic processed by the router. It plays an increasingly important role in improving network performance and enhancing network security. This document lists several application instances for configuring access control lists on CISCO routers.

AccessControlListIt is a rule established on the router to filter the traffic processed by the router. It has played an increasingly important role in improving network performance and enhancing network security. This document lists several settings on a CISCO router.AccessControlListOfApplicationInstanceI hope that you can fully master andAppropriateApplicationAccessControlListIt is helpful.

One-way blocking of icmp echo packets

1. Set the followingAccessControlList

       
        
Access-list 100 permit icmp any local router wide area address echoaccess-list 100 deny icmp any echoaccess-list 100 permit ip any
       

2. on the corresponding vro PortApplication

Interface {external network interface} {network interface number}

       
        ip access-group 100 in
       

ListThe first line is to allow the Internet host to PING the wide-area port address of our router to facilitate Internet network testing.ListThe second line is to prohibit any icmp echo packets initiated by the Internet host from reaching our network host, so as to prevent the "port scanner Nmap ping operation" initiated by the Internet host ".ListThe third line allows all IP protocol packets to pass through, which ensures that other types of packets are not affected.Application. PortApplicationSet in the Inbound directionApplicationTo ensure that our network host can PING any host on the Internet, so that we can test network connectivity.

Prevent virus spreading and hacker attacks

For Microsoft operating system vulnerabilities, some virus programs and vulnerability scanning software spread viruses and attack, the settings are as follows:AccessControlListPrevents virus propagation and hacker attacks.

1. Set the followingAccessControlList

       
        access-list 101 deny udp any any eq 135access-list 101 deny udp any any eq 137access-list 101 deny udp any any eq 138access-list 101 deny udp any any eq 1434access-list 101 deny tcp any any eq 135access-list 101 deny tcp any any eq 137access-list 101 deny tcp any any eq 139access-list 101 deny tcp any any eq 445 access-list 101 deny tcp any any eq 4444access-list 101 deny tcp any any eq 5554access-list 101 deny tcp any any eq 9995access-list 101 deny tcp any any eq 9996access-list 101 permit ip any any
       

2. on the corresponding vro PortApplication

Interface {external network interface} {network interface number}

       
        ip access-group 101 in
       

Note: On the same portApplicationAccessControlListOnly one IN or OUT statement can exist.AccessListApplicationTo the same direction on the same port, you need to set the two groupsAccessControlListOnly after mergingApplication.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.