Scenerio is given in the picture. I want to block all the networks except 192.168.5.128/25 from doing telnet of 192.168.5.0/25.
-
Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.– Ron Maupin ♦Nov 19, 2022 at 22:45
1 Answer
On Switch0, you permit the single source subnet for telnet you want, deny all other telnet connections and then permit everything else.
1000 permit tcp 192.168.5.128/25 192.168.5.0/25 eq 23
1010 deny tcp any 192.168.5.0/25 eq 23
9999 permit ip any any
-
2
-
The 2960 should support extended ACLs. Putting it on the router doesn't prevent telnet from within 192.168.5.0/25.– Zac67 ♦Dec 16, 2020 at 18:39