cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1617
Views
0
Helpful
2
Replies

ACL with service object - Help

AurangzebK
Frequent Visitor
Frequent Visitor

 

Can some please help me understand following ACL.

 

object-group service SERVICE_Object

 service-object tcp eq 30175

 service-object udp eq 30175

 

access-list OUTSIDE extended permit object-group SERVICE_Object 1.1.1.1 2.2.2.2

 

 

is it

 

1: any traffic from source 1.1.1.1 to destination 2.2.2.2  to destination ports tcp-30175 & udp-30175??

OR

2: any traffic from source 1.1.1.1 to destination 2.2.2.2 from source ports tcp-30175 & udp-30175??

 

 

 

Thanks in advance.

 

 

 

 

 

2 Replies 2

This is not a valid syntax. If you want to specify the port-numbers, you also have to configure source or destination:

asa1(config-service-object-group)# service-object tcp ?

dual-service-object-group mode commands/options:
  destination  Keyword to specify destination
  source       Keyword to specify source
  <cr>
asa1(config-service-object-group)# service-object tcp destination ?

dual-service-object-group mode commands/options:
  eq     Port equal to operator
  gt     Port greater than  operator
  lt     Port less than operator
  neq    Port not equal to operator
  range  Port range operator
--
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.

Hi,

This represents destination ports (not source ports)


**** please remember to rate useful posts
Review Cisco Networking for a $25 gift card