Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
Access List question
Mr Big
I am writing some access list statements and on one of my statements I want any host to be able to access any port on a specific ip. How do I write that?
Example: I want any ip to access 55.77.88.99 on any port:
access-list 102 permit tcp any host 70.168.88.37 any ????
I type that in and it doesnt work
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
Danman32
By any port, do you mean FROM any port? We're dealing with networks and IPs, not ports, though ports are assigned networks.
Where are you assigning this ACL, and in what direction? Just typing in an Access-list without assigning it doesn't do anything.
dmaftei
access-list 102 permit tcp any host 70.168.88.37
marlon23
when you dont need to restrict/allow specific ports or ranges, you dont need tou use TCP as protocol in access list. IP is enought (btw: when you specify any any ports on tcp, and no other lines like permit ip any any, all of your UDP connections will be blocked!!! and other protocols too (icmp...))
access-list 102 permit ip any host 55.77.88.99
this will allow any ip to access 55.77.88.99 without port based restrictions
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS