
1.
Go to: Policies > Firewalling > Main IP Rules > Add > IP Rule
2.
Specify a suitable name for the rule, for example
Allow_HTTP_To_DMZ
3.
Now enter:
•
Action: Allow
•
Service: http-all
•
Source Interface: any
•
Source Network: all-nets
•
Destination Interface: wan
•
Destination Network: wwwsrv_pub
4.
Click OK
7.4.5. Port Translation
Port Address Translation
(PAT) can be used to modify the source or destination port of a
connection. In previous SAT examples, a new port number was not been specified and the
original port number was used by default. If the port number is specified, both the IP address and
the port number are translated.
As explained above in the summary of SAT processing in
translation is performed by the same SAT IP rule used for IP address translation but follows
slightly different processing rules to IP address translation. Only one-to-one and many-to-many
port translation can be performed. All-to-one port translation is not possible.
Once a new port number is defined in the SAT IP rule, the type of port translation performed is
decided by the
Service
object associated with the SAT IP rule. If the
Service
object has a single
value specified for its
Port
property, the port translation is one-to-one. If the
Port
property is a
simple range (for example,
60-70)
, the translation is many-to-many, with the transposition
beginning with the new port number specified.
Port translation will not occur if the
Service
object's
Port
property is anything other than a single
value or a simple range. For example, if the property is
60-70,80
, port translation will not take
place even though a new port number is specified in the SAT IP rule.
For example, consider the following SAT IP rule with a
Service
object associated with it that has
the simple port range
80-85
. The rule specifies the destination address
wwwsrv_pub
is translated
to
wwwsrv_priv
with the new port number of 1080.
# Action
Src Iface
Src Net
Dest Iface Dest Net
Service
SAT Action
1 SAT
any
all-nets
wan
wwwsrv_pub TCP 80-85
Destination IP: wwwsrv_priv Port:1080
This rule produces a many-to-many transposition of all ports in the range 80-85 to the range
1080-1085. For example, the following will happen:
•
Attempts to communicate with the web server's public address - port 80, will result in a
connection to the web server's private address - port 1080.
•
Attempts to communicate with the web server's public address - port 84, will result in a
Chapter 7: Address Translation
599
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...