I need to setup a PAT rule on an ASA 5520 for an ipsec site-to-site vpn. I checked a cisco reference and found the following script might work, can anyone tell me if this is the correct command syntax/setup?
ciscoasa# access-list VPN_PAT-1 permit ip 10.20.20.0 255.255.255.0 18.104.22.168 255.255.255.224
ciscoasa# global (outside) 5 172.31.150.145 netmask 255.255.255.255
ciscoasa# nat (inside) 5 access-list VPN_PAT-1 255.255.255.0
ciscoasa# wr mem