Book now with code EOY2025
access-list 152 permit tcp host 172.16.1.2 any eq telnet
access-list 152 permit tcp host 172.16.1.2 host 10.1.1.2 eq telnet
jbkm wrote: access-list 152 deny ip host 172.16.1.2 host 10.1.1.2
Router# interface Serial1 ip address 192.168.3.2 255.255.255.0 ip access-group 152 in ! access-list 152 permit tcp host 192.168.3.1 host 192.168.3.2 eq telnet access-list 152 permit ip any any Router#
Texas3# interface Serial1 ip address 192.168.3.1 255.255.255.0 clockrate 4000000 Texas3#telnet 192.168.3.2 Trying 192.168.3.2 ... % Connection refused by remote host Texas3#
access-list 10 permit 192.168.3.1 line vty 0 4 access-class 10 in password ######## login Router#telnet 192.168.3.2 Trying 192.168.3.2 ... % Connection refused by remote host Texas3>telnet 192.168.3.2 Trying 192.168.3.2 ... Open User Access Verification Password:
jbkm wrote: but that explicet deny would block ALL packets regardless of their source right? see i essentially want to allow only telnet from taht one PC and not bother access from any other. hope that isn't confusing!
I am to allow Telnet onto a router (10.1.1.2) but deny all other IP traffic from pc 172.16.1.2
access-list 152 permit tcp host 172.16.1.2 host 10.1.1.2 eq telnet access-list 152 deny tcp host 172.16.1.2 any access-list 152 permit any any
jbkm wrote: so even tho its on the only interface "into" the network it would still pass the traffic to another interface? Say i have this PC S0/0 router E 0/1 I could still go threw the s0 to the e1 on the same router?
Use code EOY2025 to receive $250 off your 2025 certification boot camp!