I have a Cisco 2600 router on a T1 with NAT. I need to block our users from accessing a web site. I have very little knowledge of Cisco commands. This is our current configuration: (I have removed some digits from the IPs)
!
access-list 1 permit 10.0.0.0 0.255.255.255
access-list 12 permit 2.2.1.0 0.0.0.255
access-list 12 permit 2.1.1.32 0.0.0.15
access-list 12 permit 2.2.2.64 0.0.0.63
access-list 12 permit 2.1.6.0 0.0.0.255
access-list 12 deny any
Please give me step-by-step instructions on how to deny a range of IPs. (ie. How to modify and save the list properly.)
I assume I need to add:
access-list 12 deny tcp any xxx.xxx.xxx.xxx 0.0.0.0
access-list 12 permit tcp any any
Thanks.
!
access-list 1 permit 10.0.0.0 0.255.255.255
access-list 12 permit 2.2.1.0 0.0.0.255
access-list 12 permit 2.1.1.32 0.0.0.15
access-list 12 permit 2.2.2.64 0.0.0.63
access-list 12 permit 2.1.6.0 0.0.0.255
access-list 12 deny any
Please give me step-by-step instructions on how to deny a range of IPs. (ie. How to modify and save the list properly.)
I assume I need to add:
access-list 12 deny tcp any xxx.xxx.xxx.xxx 0.0.0.0
access-list 12 permit tcp any any
Thanks.