11-10-2006 12:49 PM - edited 02-21-2020 02:43 PM
Hi
I was asked to setup a VPN tunnel with partner. The partner on the other side insists on the traffic coming from my side to originate from a specific subnet (that he's given me, private IPs) that is not the same subnet that I use. So to achieve this I want to NAT traffic going into that tunnel. Is this possible? How?
11-13-2006 02:05 PM
Paolo,
use static with access list. For example:
access-list acl_static permit ip host your_host_inside_ip host destination_host
static (inside,outside) your_outside_ip_for_vpn access-list acl_static
You have to have one static for each internal host that need to communicate over VPN. Cannot use subnets in acls, cannot use nat command.
Hope this help.
Regards,
Sasa
11-13-2006 04:25 PM
It's also important to remember that NAT happens before the crypto map, so your ACL for your VPN traffic should match based on the NAT address.
So if you are hiding 10.10.10.10 behind 1.1.1.10 and connecting to your vendor who uses 2.2.2x, your crypto ACL should be something like:
access-list outside_cryptomap line 1 extended permit ip host 1.1.1.10 2.2.2.0 255.255.255.0
-Eric
Please remember to rate all helpful posts.
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