Home Database Mysql Tutorial Cisco 访问控制列表允许部分人上网

Cisco 访问控制列表允许部分人上网

Jun 07, 2016 pm 03:16 PM
amp cisco nbsp list control access part

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 然后,在这个组里面,写入 允许 上网 的主机地址(配置要在全局下配置)。最后加一条,不符合以上条件者,

  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

  然后,在这个组里面,写入允许上网的主机地址(配置要在全局下配置)。最后加一条,不符合以上条件者,全部过滤。

  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 any

  在这个表中,我允许了160-175可以访问公网。还有一条比较特殊,因为我们公司有WEB代理服务器。服务器地址为5。所以一定要允许代理服务器 访问网关。要不公司里允许上网的人也打不开网页了!如果公司有web,ftp,mail应该把这些服务器地址,添加到访问控制列表中。以保证他们正常工作!

【责编:peter】

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Solution: Your organization requires you to change your PIN Solution: Your organization requires you to change your PIN Oct 04, 2023 pm 05:45 PM

Solution: Your organization requires you to change your PIN

How to adjust window border settings on Windows 11: Change color and size How to adjust window border settings on Windows 11: Change color and size Sep 22, 2023 am 11:37 AM

How to adjust window border settings on Windows 11: Change color and size

How to change title bar color on Windows 11? How to change title bar color on Windows 11? Sep 14, 2023 pm 03:33 PM

How to change title bar color on Windows 11?

How to enable or disable taskbar thumbnail previews on Windows 11 How to enable or disable taskbar thumbnail previews on Windows 11 Sep 15, 2023 pm 03:57 PM

How to enable or disable taskbar thumbnail previews on Windows 11

Display scaling guide on Windows 11 Display scaling guide on Windows 11 Sep 19, 2023 pm 06:45 PM

Display scaling guide on Windows 11

10 Ways to Adjust Brightness on Windows 11 10 Ways to Adjust Brightness on Windows 11 Dec 18, 2023 pm 02:21 PM

10 Ways to Adjust Brightness on Windows 11

How to turn off private browsing authentication for iPhone in Safari? How to turn off private browsing authentication for iPhone in Safari? Nov 29, 2023 pm 11:21 PM

How to turn off private browsing authentication for iPhone in Safari?

Win10/11 digital activation script MAS version 2.2 re-supports digital activation Win10/11 digital activation script MAS version 2.2 re-supports digital activation Oct 16, 2023 am 08:13 AM

Win10/11 digital activation script MAS version 2.2 re-supports digital activation

See all articles