Plesk 12 and NAT Manager Extension

There might be cases when a Plesk server is located in a private network and it has only one internal IP address. In such cases, website visitors can access the hosted sites via the NAT technology. NAT translates public IP addresses into internal IP addresses and encapsulates this information in network packets.

Plesk uses one and the same IP address for various purposes. For example, an IP address is used for web hosting (Apache + nginx configuration files) and for DNS zone definitions. And here is a problem. In the former case, an internal IP address should be used, and in the latter case, an external IP address. Plesk UI shows only one IP address, but it does not let you configure the mapping (translation) of IP addresses.

In Plesk 12, there is an option to define both private and public IP addresses. The option is not present in the UI, only in API-RPC. To provide users with an interface for managing NAT, a new extension, called NAT Manager, was created by means of Plesk Extensions SDK. You can download it either from
https://www.plesk.com/extensions/nat-manager/

or from a Plesk 12 installation (Administrator’s panel > Extensions > Extensions Catalog).

Parallels_Plesk_12_0_14-2

Here is a brief instruction on how to use this extension. Let’s assume your internal IP address is 10.0.0.1 and external IP is 8.8.8.8. You need to go to Extensions > NAT Manager, select the required IP address (10.0.0.1 in our example), and then specify a public IP address in the corresponding field.

Screen Shot 2014-07-14 at 17.28.23

If you already have domains, then you need to apply the changes to existing DNS zones. To do this, go to Administrator’s panel > Tools & Settings > DNS Template > Apply DNS Template Changes.

Screen Shot 2014-07-14 at 17.29.35

Alternatively, you can apply changes only to specific domain DNS zones. To do this, go to Hosting Panel > Websites & Domains > DNS Settings > Apply DNS Template Changes.

This_server_acts_as_a_primary_nameserver_for_the_DNS_zone_nat_dom_-_Parallels_Plesk_12_0_14-2

 

After that, DNS zones will have A records that will point at external IP addresses. At the same time, internal IP addresses will still be used for web hosting.

All newly created domains will use internal IP for web hosting purposes and external IP for DNS zones.

18 Comments

  1. I would like use on plesk 11.5.30. How can i find supported version.

    http://kb.sp.parallels.com/en/122684
    New solution was implemented since Plesk 11.5.30.

  2. I cant update domain template name .Can you help me

  3. The Plesk NAT Manager is a really nice extension to use when you have plesk behind a firewall. I had it running but now it says “No items found”. And it does’nt work with subdomains, I don’t know if this is related at the moment but i can’t seem to get the NAT Manager working again?

    • NAT manager page is saying that “no items found”? Check Tools & Settings > IP Addresses list. NAT manager uses the same list of IPs and looks like you have problems w/ your Plesk instance.

      As for subdomains. I can confirm that it’s a bug, that subdomain has incorrect IP in DNS zone after creation. Hope will be fixed in the future.

  4. I Cant see “Apply DNS Template Changes.” button on Dns Settings and domain dns settings.

  5. Yes, i have upgraded to 12. But Windows Server.

  6. i have a problem with slave dns extension the nat private ip address goes as master to the slave. any one had the same problem and any knowledge how to fix it ?

  7. Is this extension useful in Plesk 12.1.26 or later?

    From the changelog:
    “Instead of private IP addresses, Plesk behind NAT now displays the corresponding public IP addresses in its interface.”

Add a Comment

Your email address will not be published. Required fields are marked *

GET LATEST NEWS AND TIPS

  • Yes, please, I agree to receiving my personal Plesk Newsletter! WebPros International GmbH and other WebPros group companies may store and process the data I provide for the purpose of delivering the newsletter according to the WebPros Privacy Policy. In order to tailor its offerings to me, Plesk may further use additional information like usage and behavior data (Profiling). I can unsubscribe from the newsletter at any time by sending an email to [email protected] or use the unsubscribe link in any of the newsletters.

  • Hidden
  • Hidden
  • Hidden
  • Hidden
  • Hidden
  • Hidden

Related Posts

Knowledge Base