Accessing NAT'd services over an IPSEC VPN - route-map question
I have two private networks connected via the internet over a site-to-site IPSEC VPN. I have dns servers running on each network which run multiple views, one resolving the private networks and one NAT'd to the internet resolving public addresses. because the name servers act as replicas, they need to be able to transfer zones both over the vpn and over the internet using their NAT'd addresses.
If I add a route map to the static NAT, a host in one network can query a dns server in the other network using it's private address, but not it's NAT'd internet address.
If I only have a route-map on the overload NAT then I can only query the remote DNS server by it's NAT'd address and not over the VPN.
In any case, the query is logged on the DNS server, and appears to have come from the correct address - ie. either the hosts private address when querying using the VPN or the primary networks public address when querying using the secondary networks public address, but the querying host never recieves the response.
a rough extract of the relevant configs.
ip nat inside source route-map no-nat-map interface FastEthernet4 overload
Table of ContentsIntroductionVersion HistoryPossible Future
UpdatesDocuments PurposeNAT Operation in ASA 8.3+ SectionsRule Types
Network Object NATTwice NAT / Manual NATRule Types used per SectionNAT
Types used with Twice NAT / Manual NAT and Network Obje...
Table of Contents Introduction:This document describes details on how
NAT-T works. Background: ESP encrypts all critical information,
encapsulating the entire inner TCP/UDP datagram within an ESP header.
ESP is an IP protocol in the same sense that TCP an...