Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple ACL Question??

Status
Not open for further replies.

rocketlauncher

Programmer
Nov 11, 2000
110
US
Hi all,

I have a question on regards to an ACL.

Is there any difference between the following ACL commands?

permit tcp any eq permit tcp any any eq wwww

Are they redundant commands?

I see similar command throughout an ACL, but with different port assignment.

I just want to know if they're the same so we can delete one entry from the ACL.

Thanks in advance!

Rocket.
 
The first line permits any TCP traffic *from* port 80 to another host. The second line permits TCP traffic *to* any host on port 80.

HTH,
John
 
When reading access-lists always remember that they are written "FROM" first, followed by who they are going "TO"

So, in the first acl it reads:
Permit tcp FROM anywhere equaling WWW, TO anywhere.

the second acl reads a bit different:
Permit tcp FROM anywhere, TO anywhere equaling WWW.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top