Many-to-One Destination NAT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Many-to-One Destination NAT

L0 Member

Hi,

 

We currently have a problem on site where our windows domain name matches the website name so the naked domain DNS configuration contains an A record for a web server and not the domain controllers.

 

As a short term workaround (because it could take 2-3 years to plan and change the domain name) I'm using the destination NAT feature.

 

In my testing this has proved to work successfully; Changing the A record to match a domain controller so domain connected machines have no problem contacting them and the NAT will take care of traffic going to HTTP and HTTPS and replacing the IP address with the web server. Rule below;

 

panos_screenshot_campusmsdcsuat.png

 

The problem has come into place with more than one domain controller...

 

Adding another entry in the in the destionation address list throws the following error when commiting;

"Mismatch of destionation address translation range between original and translated address"

 

I understand it is trying to tell me I can only translate one-to-one when using destination NAT, but I'm wondering why? Could I just have 4 NAT rules for 4 domain controllers all doing the same thing? Or is this not best practice? Is there another way I could configure these devices for the desired effect?

 

Thanks very much in advance.

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

Hi

 

NAT will try to apply your translation to a subnet, so a /32 will simply address 1 single host, but adding a secondary ip in there would logically be done by setting the subnet to /30 and translating to a /30 range. 2 or more independent (non-consecutive within the same subnet) destination NAT hosts would require a policy per host (so 4 policies, each containing a single destination subnet of /32, in your example)

 

2016-05-20_13-32-17.jpg

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

Hi

 

NAT will try to apply your translation to a subnet, so a /32 will simply address 1 single host, but adding a secondary ip in there would logically be done by setting the subnet to /30 and translating to a /30 range. 2 or more independent (non-consecutive within the same subnet) destination NAT hosts would require a policy per host (so 4 policies, each containing a single destination subnet of /32, in your example)

 

2016-05-20_13-32-17.jpg

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Thanks for your response.

 

I have now configured multiple NAT rules for the domain controllers.

 

panos_screenshot_campusmsdcsuat2.png

  • 1 accepted solution
  • 3977 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!