Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Community Member

ACL to deny telnet from any host on subnet

Hello, I need to configure an ACL to deny telnet from any host on subnet 135.79.40.0/24 to anything on other subnets.  

I think I want to do something like this:

access-list 150 deny tcp host 135.79.40.0 0.0.0.255 any eq telnet

But I am not getting any results.... How can I configure my ACL to deny telnet requests from hosts on that subnet?

 

 

Attatched is a map of the network I am currently working with.  The goal is to deny telnet attempts from host E into router b and c, switch a and b.


Thank you,
Dean

1 REPLY
VIP Green

Re: ACL to deny telnet from any host on subnet

Hi @Deanmikawa

 

 You ACL should be:

access-list 150 deny tcp 135.79.40.0 0.0.0.255 any eq telnet

 

But then you need to apply this on the switch A interface F 0/27

interface f 0/27

ip access-group 150 in

 

-If I helped you somehow, please, rate it as useful.-

514
Views
5
Helpful
1
Replies
CreatePlease to create content