cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
915
Views
0
Helpful
1
Replies

PIX access-list

troseberry
Visitor

Is it possible to permit/deny more that one tcp/udp port on the same line in an access-list. For example, could I state:

access-list acl_out permit tcp any host X.X.X.X eq 22 23 80

to permit SSh, Telnet, and HTTP. (PIX software version 6.1.4)

1 Reply 1

steve.barlow
Level 10
Level 10

You can specify a range, eg access-list acl_out permit tcp any host X.X.X.X range 10 100 (permits port 10 through 100), which is the closest you will get to what you asked.

Or you can specify greater than and less than port numbers, eg access-list acl_out permit tcp any host X.X.X.X gt 22 (which will permit ports 22 to 65535). But that can be dnagerous.

Steve

Review Cisco Networking for a $25 gift card