cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5210
Views
5
Helpful
3
Replies

ASA Remote access VPN & NAT

wsladekjr
Level 1
Level 1

Hello,

I'm trying to get a remote access VPN working using an ASA and Cisco VPN client with no split tunneling. The VPN works kinda, I can access devices on the inside when I connect, but I cannot access the Internet. I don't see any errors in the ASA logfile except these:

Jul 1 04:59:15 gatekeeper %ASA-3-305006: portmap translation creation failed for udp src outside:192.168.47.200/137 dst outside:192.168.47.255/137
Jul 1 04:59:15 gatekeeper %ASA-3-305006: portmap translation creation failed for udp src outside:192.168.47.200/54918 dst outsidexx.xxx.xxx.xxx/53

There's only one public IP address which is DHCP assigned to the outside interface. The inside network is 192.168.1.0/24 which is PAT'ed to the outside interface and the VPN network is 192.168.47.X.

I think my problem is that the .47 net is not being NAT'ed to the outside properly and I'm not sure how to set it up exactly. I can't fathom how this is supposed to work since the the VPN net technically originates from the outside already.

Here's all the relevant config:

access-list vpn extended permit ip any 192.168.47.0 255.255.255.0
mtu inside 1500
mtu outside 1500
ip local pool vpnpool 192.168.47.200-192.168.47.220 mask 255.255.255.0
ip verify reverse-path interface outside
ip audit info action alarm drop
ip audit attack action alarm drop
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
global (inside) 2 interface
global (outside) 1 interface
nat (inside) 0 access-list vpn
nat (inside) 1 0.0.0.0 0.0.0.0
nat (outside) 2 192.168.47.0 255.255.255.0 outside
static (inside,outside) tcp interface 3074 XBOX360 3074 netmask 255.255.255.255
static (inside,outside) udp interface 3074 XBOX360 3074 netmask 255.255.255.255
static (inside,outside) udp interface 88 XBOX360 88 netmask 255.255.255.255
static (inside,outside) tcp interface https someids https netmask 255.255.255.255

I can post more of the config if needed.

Changing 'nat (outside) 2 192.168.47.0 255.255.255.0 outside' to 'nat (outside) 2 access-list vpn outside' yields these:

Jul 1 06:18:35 gatekeeper %ASA-3-305005: No translation group found for udp src outside:192.168.47.200/56003 dst outside:66.174.95.44/53

So how do I properly NAT VPN traffic so it can reach the Internet?

1 Accepted Solution

Accepted Solutions

Jennifer Halim
Cisco Employee
Cisco Employee

A few things that needs to be changed:

1) NAT exemption ACL needs to be changed to be more specific so only traffic between the internal subnets and vpn pool subnet is not NATed. NAT exemption takes precedence over all other NAT statements, hence your internet traffic from the vpn does not work.

This ACL:

access-list vpn extended permit ip any 192.168.47.0 255.255.255.0

Needs to be changed to:

access-list vpn extended permit ip 192.168.47.0 255.255.255.0

2) You do not need "global (inside) 2" statement. The following is what needs to be configured:

no nat (outside) 2 192.168.47.0 255.255.255.0 outside

no global (inside) 2 interface

nat (outside) 1 192.168.47.0 255.255.255.0

3) And lastly, you would need to enable the following to enable u-turn traffic on the outside interface:

same-security-traffic permit intra-interface

And please remember to clear xlate after the above changes, and reconnect to your VPN.

Hope that helps.

View solution in original post

3 Replies 3

Jennifer Halim
Cisco Employee
Cisco Employee

A few things that needs to be changed:

1) NAT exemption ACL needs to be changed to be more specific so only traffic between the internal subnets and vpn pool subnet is not NATed. NAT exemption takes precedence over all other NAT statements, hence your internet traffic from the vpn does not work.

This ACL:

access-list vpn extended permit ip any 192.168.47.0 255.255.255.0

Needs to be changed to:

access-list vpn extended permit ip 192.168.47.0 255.255.255.0

2) You do not need "global (inside) 2" statement. The following is what needs to be configured:

no nat (outside) 2 192.168.47.0 255.255.255.0 outside

no global (inside) 2 interface

nat (outside) 1 192.168.47.0 255.255.255.0

3) And lastly, you would need to enable the following to enable u-turn traffic on the outside interface:

same-security-traffic permit intra-interface

And please remember to clear xlate after the above changes, and reconnect to your VPN.

Hope that helps.

Your suggestions worked!  You are a god.  Thank you so much for your help.

Thanks, pls kindly mark the question answered. Glad to hear it's working now.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: