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 one last entry. If the preceding conditions are not met,
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 one last entry. If the preceding conditions are not met,
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 they work normally!
[Editor: peter]