02-16-2018 03:06 PM - edited 02-21-2020 07:22 AM
I have two VPN tunnels to distinct external entities. Each entity only allows traffic from a specific IP address. I need to use a single NAT/PAT address for traffic through tunnel 1 and a different NAT/PAT address for traffic through tunnel 2.
Entity 1 expects all user traffic to come from 65.72.34.2
Entity 2 expects all user traffic to come from 65.72.34.3
In ASA 8.2, I would do this with NAT / Global statement pairs, but I can't figure out to do this in 9.4. Can I use an ACL for outbound PAT? If so, what would the syntax look like?
Solved! Go to Solution.
02-17-2018 09:00 PM
Hello,
The syntax looks like below. It will PAT the source network test-src to obj-65.72.34.2 when accessing the remote subnet test-dest
object network obj-65.72.34.2
host 65.72.34.2
nat (inside,outside) source dynamic test-src obj-65.72.34.2 destination static test-dest test-dest
test-src object is your source network that needs to access test-dest object network on remote side
Please note that using this you can only initiate the traffic from src to dest side because we are PATting the source to a single ip address and by logic it will be unidirectional.
For more NAT on 8.3 onwards:
HTH
AJ
02-17-2018 12:01 AM
02-17-2018 12:54 PM
02-17-2018 09:00 PM
Hello,
The syntax looks like below. It will PAT the source network test-src to obj-65.72.34.2 when accessing the remote subnet test-dest
object network obj-65.72.34.2
host 65.72.34.2
nat (inside,outside) source dynamic test-src obj-65.72.34.2 destination static test-dest test-dest
test-src object is your source network that needs to access test-dest object network on remote side
Please note that using this you can only initiate the traffic from src to dest side because we are PATting the source to a single ip address and by logic it will be unidirectional.
For more NAT on 8.3 onwards:
HTH
AJ
02-27-2018 10:15 AM
Thanks, Ajay. That's exactly what we needed to get it working.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide