ip access-list extended TC-TEMesh
permit tcp any range 22 23 172.18.252.0 0.0.0.255
permit tcp any range 22 23 172.18.8.0 0.0.7.255
permit tcp any range 22 23 192.168.240.0 0.0.0.255
permit tcp any eq telnet 172.18.184.0 0.0.7.255
permit tcp any range 22 23 198.181.96.0 0.0.0.31
permit tcp any eq telnet 10.0.10.0 0.0.0.255
You have to allow the return traffic from the telnet or ssh session.