Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Deny Command

Status
Not open for further replies.

ToddWW

Programmer
Mar 25, 2001
1,073
US
Please help. I have a Cisco 827 ADSL Modem / Router unit running V12.1 OS. Code Red traffic is irritating me terribly and inindating my IIS log files. I have placed an IP restriction in IIS for those computers making Code Red attempts at our web server, however, I would like to know how I can block IP addresses in the router so they never make it to the web server at all. I was hoping I could get a quick answer here before resorting to Cisco help ?? Anyone have a quick answer on how my router can block IP address or IP groups ??
 
!
access-list 1 deny 172.16.0.0 0.0.0.255
access-list 1 deny 172.16.1.1 0.0.0.0
access-list 1 permit any
!
interface Serial0
ip access-group 1 in
!

deny net 172.16.0.0/24
deny host 172.16.1.1
permit any others
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top