Hello,
I have cisco 2610 and i want to block all ip address to access the internet and permit only 5 ip address to access the internet.
scenario: block all class C ip address
192.168.10.1 to 255
and permit only the following ip to access the internet: 192.168.10.5, 192.168.10.11, 192.168.10.16, 192.168.10.50, 192.168.10.111
initially my configuration are as follow but it seems not right. Anybody can decode this.
!
access-list 112 permit tcp host 192.168.10.5 any eq www
!
access-list 112 permit tcp host 192.168.10.11 any eq www
access-list 112 permit tcp host 192.168.10.16 any eq www
…..
!
int s0/1
ip 192.168.2.2 255.255.255.252
ip access-group 112 out
!
anybody please help.
-Sphynx.