The task is to create and apply an access-list with no more than three statements that will allow Only host C Web access to the Finance Web Server.
Answer: See the explanation
Explanation:
Corp1#conf t
Corp1(config)# access-list 128 permit tcp host 192.168.240.1 host 172.22.141.26 eq www
Corp1(config)# access-list 128 deny tcp any host 172.22.141.26 eq www
Corp1(config)# access-list 128 permit ip any any
Corp1(config)#int fa0/1
Corp1(config-if)#ip access-group 128 out
Corp1(config-if)#end
Corp1#copy run startup-config
The source IP in the explanation is incorrect. Here the source IP for Host A was given instead of Host C. Everything else is correct.
I agree with Henry. The correct Explanation is given below:
Explanation:
Corp1#conf t
Corp1(config)# access-list 128 permit tcp host 192.168.240.3 host 172.22.141.26 eq www
Corp1(config)# access-list 128 deny tcp any host 172.22.141.26 eq www
Corp1(config)# access-list 128 permit ip any any
Corp1(config)#int fa0/1
Corp1(config-if)#ip access-group 128 out
Corp1(config-if)#end
Corp1#copy run startup-config