Cisco Access Control List allows some people to access the Internet

Source: Internet
Author: User
Route # configtEnterconfigurationcommands, oneperline. endwithCNTLZ. route (config) # intfa01route (config-if) # ipaccess-group112in then, in this group, write the host address that allows Internet access (the configuration should be configured globally ). Add the last one. If the above conditions are not met, all

Route # config t Enter configuration commands, one per line. end with CNTL/Z. route (config) # int fa0/1 route (config-if) # ip access-group 112 in then, in this group, write the host address that allows Internet access (configured globally ). Add the last one. If the above conditions are not met, all

Route # config t

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

Route (config) # int fa0/1

Route (config-if) # ip access-group 112 in

Then, in this group, writeAllowInternet accessHost address (the configuration must be global ). Add one last entry. If the preceding conditions are not met, filter all entries.

Access-list 112 permit ip host 192.168.0.160 any

Access-list 112 permit ip host 192.168.0.161 any

Access-list 112 permit ip host 192.168.0.162 any

Access-list 112 permit ip host 192.168.0.163 any

Access-list 112 permit ip host 192.168.0.164 any

Access-list 112 permit ip host 192.168.0.165 any

Access-list 112 permit ip host 192.168.0.166 any

Access-list 112 permit ip host 192.168.0.167 any

Access-list 112 permit ip host 192.168.0.168 any

Access-list 112 permit ip host 192.168.0.169 any

Access-list 112 permit ip host 192.168.0.170 any

Access-list 112 permit ip host 192.168.0.171 any

Access-list 112 permit ip host 192.168.0.172 any

Access-list 112 permit ip host 192.168.0.173 any

Access-list 112 permit ip host 192.168.0.174 any

Access-list 112 permit ip host 192.168.0.175 any

Access-list 112 permit ip host 192.168.0.151 any

Access-list 112 permit ip host 192.168.0.5 any

Access-list 112 deny ip any

In this table, IAllowYesAccessPublic Network. Another special one is that our company has a WEB proxy server. The server address is 5. So be sureAllowProxy ServerAccessGateway. Or in the companyAllowInternet accessThe web page cannot be opened! If the company has web, ftp, or mail, add these server addressesAccessControlList. To ensure their normal work!

[Editor: peter]

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.