cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
692
Views
0
Helpful
5
Replies

url limited access

mike
Level 1
Level 1

Hi, There:

I have two URLs on the same server same port,

/test1/

/test2/

I want to give all users access /test2, but I only want to give user at network range 10.0.0.0 255.0.0.0 to access /test1, how should I do that?

Thx

5 Replies 5

mike
Level 1
Level 1

it looks like I am missing something here

acl 10

clause 10 permit any 10.0.0.0 255.0.0.0 dest content mine/test1

clause 20 permit any 10.0.0.0 255.0.0.0 dest content mine/test2

clause 30 permit any 10.0.0.0 255.0.0.0 dest any

clause 40 deny any any dest content mine/test1

clause 50 permit any any dest content mine/test2

never tested this.

But if your acl above does not work, what you can try is create a fake server or a server with a denied access message.

Then replace your clause 40 with

clause 40 permit any any dest content mine/test1 prefer fake_server.

Gilles.

Hi, Gilles:

from previous ACL, all users on 10.0.0 network could access everything, but other user could not access test1 and test2, is there anyway to work around this?

thx,

BTW, I use one-armed configuration, if I do not use ACL, is there any other solutions?

thanks

I figured it out.

thx,

Review Cisco Networking for a $25 gift card