NAT_S615
Entry ID: 109744660, V1.1, 08/2017
Siemens AG All rights reserved
3.2 S7 connections and NAT
For S7 connections specified on both sides, both sides check the partner’s IP
address when the connection is established.
As neither the source nor the destination IP address can be changed when using
NAT, a connection using this method cannot work.
Instead, create a new connection with the "unspecified” partner on both modules
or, alternatively, create a unilateral connection on resource 03 with PUT/GET.
This setting allows you to manually enter the IP address.
According to NAT, use the translated IP address with which the connection comes
in or to which sending takes place.
In the address details, enter the rack, slot and connection resource. Vice versa, the
"Local” values correspond to the "Partner” entry of the other module.
3.3 TIA Online functions and NAT
Source NAT makes no difference regarding the use of the TIA Online function as,
by default, the PG connection is accepted from any IP addresses.
When using destination NAT, the IP address in the project no longer matches the
IP address translated by NAT through which the appropriate module can actually
be accessed.
Therefore, destination NAT requires that the translated NAT IP address to which
you want to establish the connection be specified in advance:
1. In TIA Portal, open the "Online > Extended go online…” menu item.
2. Set the interface based on the PC or module interfaces you are using.
3. Select "Show accessible devices”.
4. Click the first blank row of the "Address” column. An input field appears, where
you can enter the NAT IP address.