Tuesday, July 20, 2010

Cisco ASA Policy Based Nat

Example:
Source address 10.1.1.1 should be translated to 192.168.1.1 when going to 172.16.1.1 and translated to 192.168.1.2 when going to 172.16.1.2


access-list policy_nat1 permit ip host 10.1.1.1 host 192.168.1.1
access-list policy_nat2 permit ip host 10.1.1.1 host 192.168.1.2

static (inside,outside) 172.16.1.1 access-list policy_nat1
static (inside,outside) 172.16.1.2 access-list policy_nat2

1 comments:

  1. Don't you mean:
    Source address 10.1.1.1 should be translated to 172.16.1.1 when going to 192.168.1.1 and translated to 172.16.1.2 when going to 192.168.1.2 ?

    Like the site - very helpful indeed!!
    ReplyDelete