cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
376
Views
0
Helpful
4
Replies

Access List question

sonitadmin
Level 1
Level 1

I have a range of about 12 IP's xx.xx.xx.99-xx.xx.xx.110 that I need to allow http access to on my Pix. Is there a command to just allow that range so I don't have to set each one up seperately?

Thanks!

4 Replies 4

srue
Level 7
Level 7

you could supernet them.

x.x.x.96/28

this will actually allow hosts x.x.x.96-x.x.x.110

http x.x.x.96 255.255.255.240 inside

or, if you meant http access *through* and not *to*...

access-list 101 permit tcp x.x.x.96 255.255.255.240 any eq 80

If this is not acceptable, you'll have to type each one in separately.

I think I understand, but could you show me exactly how the access-list command would look?

Thanks!

access-list 101 permit tcp x.x.x.96 255.255.255.240 any eq 80

access-group 101 in interface outside

Steve,

You need to clarify in which direction this traffic is travelling through your pix. The post directly above is most likely not right as this allows the network to any inside on port 80. I assume these are you inside ips which are going outbound on port 80 or any from outside may access them on port 80.

Review Cisco Networking products for a $25 gift card