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

Cisco PIX - ACL to permit range

TheJax2009
Level 1
Level 1

I have an old Cisco pix 515r v6.3

I need to permit a range of IP's to our mail server on port 25 (only this range should be able to access PORT 24 on the mail server). I'm not very familiar with the PIX, so any help with this would be appreciated. What would the command look like?

Thanks!

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

You can create an object-group.

object-group network permit_smtp

network-object host 1.1.1.1

network-object host 2.2.2.2

network-object 4.4.4.0 255.255.255.0

Then you apply the object group in the ACL.

access-list outside_access extended permit tcp object-group permit_smtp host [your host] eq 24

Hope that helps.

Thank you very much! That works perfectly.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card