How can I use the self-anti-ACL to restrict Internet access?

Source: Internet
Author: User

To protect the security of the Intranet, you can only allow Intranet access to the Internet and not allow Internet access to the Intranet. Here, we use the self-reverse ACL of the cisco router.

You need to configure the routing protocol. The following configurations are for RIP Version1. You can also configure other configurations, such as VPN or OSPF.

Self-reverse ACL for Intranet access to the Internet

R1> en

R1 # conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1 (config) # ACL created by ip access-list extended aclout

R1 (config-ext-nacl) # permit tcp any reflect tcp sets this entry to self-inverse, and its name is tcp

Self-reverse ACL for Internet access to the Intranet

R1 (config) # ip access-list extended aclin

R1 (config-ext-nacl) # evaluate tcp generates an auto-inverse list (the first step is to generate an auto-inverse ACL named tcp, so the corresponding name is tcp)

R1 (config-ext-nacl) # permit udp any

Apply the self-countermeasure C to the corresponding interface

R1 (config) # int fa0/1 Internet interface

R1 (config-if) # ip access-group aclout out

R1 (config-if) # ip access-group aclin in

Then, you can only ping the Internet on the PC, but not the Intranet.

  1. Use the access control list to implement one-way network access

Related Article

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.