08-19-2020 07:07 AM - edited 08-19-2020 07:22 AM
Hello!
I don't understand this common error with configuring ACL
So R2 have extended access list configured on interface e0/0 (inbound)
R2# show access-lists 150 Extended IP access list 150 10 deny tcp any host 13.1.1.1 eq 22 20 permit ip any any
But host 37.1.11.10 can use ssh to connect.
Do I have to configure this ACL on R1 (interface e0/0, inbound)?
Solved! Go to Solution.
08-19-2020 07:30 AM - edited 08-19-2020 12:09 PM
Hello,
stupid question maybe, but does access list 150 actually exist on R1 ? The output shows the access list on R2, make sure that if you apply it on R1, it is also configured on R1. Or apply it inbound on e0/0 of R2. Both should work.
08-19-2020 07:26 AM
Show configuration of interface e0/0 R2.
08-19-2020 07:30 AM - edited 08-19-2020 12:09 PM
Hello,
stupid question maybe, but does access list 150 actually exist on R1 ? The output shows the access list on R2, make sure that if you apply it on R1, it is also configured on R1. Or apply it inbound on e0/0 of R2. Both should work.
08-19-2020 07:31 AM
Simple ACL should restrict here for your purpose :
On R2
access-list 1 permit host x.x.x.x ( you want to permit) - rest automatically deny.
line vty 0 4
access-class 1 in
08-19-2020 10:59 AM
08-19-2020 01:00 PM
by looking at the diagram this is not real, this eve-ng/pnet IOL
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide