Network Address Translation (NAT) is a service where the IP address of a host (the Internal IP address) is translated into another IP address (the External or Globally Unique IP Address) before being forwarded to the external network. Typical uses of NAT are in the following situations:
The ZyTrax Standard NAT (Network Address Translation) service allows the user to configure incoming and outgoing address translation (internal to external IP) on a one-for-one basis. Up to 16 address translations may be defined (see also point c below).
The ZyTrax SuperNAT services allows a number of extensions to standard NAT:
The ZyTrax NAT and SuperNAT services may be used in conjunction with the ZyTrax LockBox (firewall) service.
SuperNAT services are configured using MIB entries in the natTable. The NAT route is defined in the routing table (ipRouteTable) and if using PROXY mode the dynamic or static Proxy IP address acquisition connection is defined in the linkParams field of the userProfile.
Using CoolFig (version 2.0 or higher) or Control Server (version 4.00 or higher) (both available here). The following entries are required (zytrax\router\natDhcp\natTable\natEntry):
MIB Name | Meaning |
natMode | May take one of the
following values:
|
natExcludeIP |
Defines the IP address(es) (used together with natMask) that are to be excluded from the NAT service (these addresses will continue to receive forwarding services – see note 2 below). The value 255.255.255.255 indicates that no addresses will be excluded. |
natExcludeMask |
The mask that will be AND'd with nat Exclude IP to determine the range of IP addresses to be excluded from the NAT service. The mask 255.255.255.255 means the single IP address natExcludeIP will be excluded. The value 0.0.0.0 means that ALL IP addresses will be excluded from NAT translation. NOTE: This value overrides any defined NAT lists. |
InternalIP | The Internal IP address that will be used by the NAT and SuperNAT translation into the corresponding ExternalIP address. If PROXY mode is in use these entries are only required if specific IP addresses are NOT to be forwarded (see ExternalIP). If not being used this value should be set to 255.255.255.255. In SHARE MODE ONLY the entry 250.0.0.2 indicates that all Internal IP addresses not defined in this table will be translated to the corresponding External IP address (a default Proxy service). |
ExternalIP | In TABLE MODE this defines the external IP address that the corresponding InternalIP address will be translated to before forwarding to the external network. In all MODES the value 0.0.0.0 means that this IP address will NOT be translated OR forwarded to the network. In PROXY mode these entries may be used to exclude individual IP addresses from all forwarding services or to define Proxy DNS entries by using the special address 250.0.0.1. A Proxy DNS address means that when a DNS request to the corresponding InternalIP is received it is translated to one of the DNS Server entries (defined in serverTable). |
NOTES:
To allow additional flexibility on configuration the ZyTrax SuperNAT system does not assume that the default route is the NAT route (even though this is the most common configuration). Instead the NAT route (or routes) are configured in the static routing table entries using the ipRouteFlags field (zytrax\router\routing\ipRouteTable\ipRouteEntry) as follows:
MIB Name | Meaning |
ipRouteFlags | Set bit 7 of this field to 1 (e.g. 0x80) to indicate that NAT translation should be performed on traffic to and from this route. Any number of NAT routes may be defined in this manner. |
NOTE
ZyTrax routers allow multiple concurrent ISDN connections, to allow flexibility in defining the dynamic IP (only necessary in PROXY MODE) you must indicate in the linkParams field of the userProfile definition (zytrax\router\linkUsers\userProfileTable\userProfileEntry\linkParams) which profile will provide the IP address to be used as the external proxy IP address as follows:
MIB Name | Meaning |
linkParams | Set bit 0 of this field to indicate the IP address negotiated (statically or dynamically) in ipcpLocalAddress will be used as the proxy field. Only one userProfile may be defined in this manner. |
NOTE: If configuring using NT_Ser this field is encoded as a decimal field so to set bit 0 set this value to 1 decimal If additional bits are set you will have to calculate the decimal version of this field. CoolFig uses bit significant fields so this restriction does not apply.
The Port MAP entries allow the user to define specific ports or port ranges that will be mapped to a specific Internal IP address e.g. an FTP service will always go to Internal IP address 207.0.0.125, web service to 127.0.0.23 or the SNMP port will always go to the Router. Up to 8 Port Map entries may be defined. The Port MAP entries are defined in the ipPolicyTable (zytrax\router\routing\ipPolcyTable\ipPolicyEntry) as follows.
MIB Name | Meaning |
policyMode | 10 = PORT MAP entry in which case the following entries are are used. NOTE: Entries not defined are ignored for this entry type. |
policyIPType | The type of traffic as
follows
NOTE: 0 is not a valid value for PORT MAP entries. |
policyIP | The Internal IP address that the traffic will be translated for and forwarded to. The value 0.0.0.0 may be optionally used to mean that the traffic will be forwarded to this router. |
policyLowPort | The lowest (if PolicyHighPort defined) or only (PolicyHighPort = 0) port number of the traffic to be forwarded to the defined Internal IP ( PolicyIP). |
policyHighPort | If 0 then the single port defined by PolicyLowPort will be used. Otherwise any port in the range defined by PolicyLowPort to PolicyHighPort will be translated and forwarded to PolicyIP. |
Notes
support home
NetWidget
air-frame
on-line help
tech info
faqs
open guides
If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Mozilla
Copyright © 1994 - 2024 ZyTrax, Inc. All rights reserved. Legal and Privacy |
site by zytrax hosted by javapipe.com |
web-master at zytrax Page modified: January 20 2022. |