cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
613
Views
0
Helpful
3
Replies

Policy NAT

Hi All,

i am trying to prepare for exam and i'm bit stuck with this scenario in my lab. Could someone help me with this? I'm trying to nat one outside global ip address and tcp port to two different inside server based on source ip address.

I have two user pools 10.18.1.0/24 and 10.18.2.0/24 and all users are set to use proxy server 172.16.1.1:8080. That proxy sever was nated on FWSM to 192.168.1.1, but now i want to split the load and want to nat one user subnet (10.18.1.0/24) to 192.168.1.1 and second user subnet to 192.168.1.2.

What i did is i've configured two access-list's

ACL1:

access-list permit tcp host 192.168.1.1 eq 8080 10.18.1.0 255.255.255.0 eq 8080

ACL2:

access-list permit tcp host 192.168.1.2 eq 8080 10.18.2.0 255.255.255.0 eq 8080

i can apply one static:

static (inside,outside) tcp 172.16.1.1 8080 access-list ACL1

fwsm accepts this command but when i try to apply second static:

static (inside,outside) tcp 172.16.1.1 8080 access-list ALC2

i'm getting error that global already used.

What am i doing wrong here?

Thanks

3 Replies 3

sdoremus33
Level 3
Level 3

You can try these configs

Assuming that the src traffic is 10.18.1.0 dst is 172.16.1.1:8080

access-list Policy10 x.x.x.x y.y.y.y where x.x.x.x is the src/subnet and y.y.y.y is the dest

static (inside,outside) 192.168.1.1 access-list Policy10

access-list Policy20 x.x.x.x y.y.y.y where x.x.x.x= src of traffic and y.y.y.y dest of trafic

static (insode,outside) 192.168.1.2 access-list Policy20

This means that xlate when the access-list triggers (src,dst) of traffic

Thanks i will try that

Did this work for you, just checking...

Review Cisco Networking products for a $25 gift card