07-14-2021 09:24 PM - edited 07-14-2021 09:25 PM
When setting up a site to site VPN with overlapping subnets can you NAT the an internal subnet to the outside interface (or a single public ip address) of the ASA on both sides of the VPN? Like PAT overloading. Is this possible?
192.168.1.0/24 > NAT to outside interface 1.1.1.1 ----Internet-----NAT to outside interface 2.2.2.2 < 192.168.1.0/24
07-15-2021 12:08 AM
hope below example help you for overlapping test and advise any issues : ( since you have not mentioned what device, so i gave this example).
07-15-2021 08:35 AM
Is there a doc for the newer ASA's? 5512-x?
07-15-2021 08:55 AM
You mean with 9.x code? ....which has different nat syntax. Here is the cisco guide.
You'll need to be sure to use the translated IP address in the crypto ACL, not the real IP address.
07-15-2021 08:58 AM
sure i may have given older one here is the new one
07-16-2021 08:10 AM
Thanks but I was looking for a overlapping subnets example utilizing port address translation not just Nat.
07-16-2021 10:11 AM
You need Build step by step approac at a time and records the results and add new feature requirement on top of it.
you refer this thread :
https://community.cisco.com/t5/vpn/site-to-site-vpn-with-overlapping-subnets-and-pat/td-p/3069556
Build the config and let us know the config and where did you get stuck so we can suggest any tweak required.
07-17-2021 12:30 PM
You need to identify what services at both ends need to be reached by each side. just doing an "overload" on both sides will accomplish nothing as neither of the sides will be able to reach anything at the remote site.
So lets look at a couple scenarios. Site B needs to access Site A servers. In this case you could NAT Site B LAN to Site B ASA outside interface, then in the crypto ACL specify the site B outside interface IP.
Another scenario could be that both Site A and Site B need to access resources at eachothers sites. In this case I would recommend allocating an unused subnet for each site, then do static NAT for the services so they have their own "unused" IPs and then NAT the rest of the IPs to the remaining IPs within the unused subnets.
If you do not allocate an unused subnet you would need to start using PAT and translate the ports used for the services. This could become a management hassel.
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