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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Access List Problem--please help

Status
Not open for further replies.

DrTebi

Programmer
Apr 14, 2001
5
US
Hi,
I am very new to Cisco Access lists, and I am trying the following:

enable
config term
interface s0
ip access-group MyList in
ip access-list extended MyList
deny ip any host 216.179.143.249
deny tcp any any eq 137
deny udp any any eq netbios-ns
deny tcp any any eq 138
deny udp any any eq netbios-dgm
deny tcp any any eq 139
deny udp any any eq netbios-ss
permit ip any any
exit

What I am trying to accomplish is to deny any access to Netbios, and that works. But as you can see in the beginning of the commands, I am also trying to get rid of this server at 216.179.143.249 (a Nimda infected server that has still not been fixed), trying to deny any access to that IP. But it doesn't work??? My Firewall still displays the message that access to IP 216.179.143.249 was blocked (which means it got beyond the router).

What am I doing wrong?

(I am sure it's something very simple... let me know where I can get a good start on learning Cisco Access List configuration, maybe a good online tutorial...)

Thanks,
DrTebi
 
"deny ip any host 216.179.143.249"

The access-list is SOURCE then DESTINATION... you are only blocking access to it, not from it.

Set it to deny ip host 216.179.143.249 any and it will block anything from it.
 
Thanks!
I knew it was a simple problem...

DrTebi

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top