A Nat Example; Adding A Nat Rule - D-Link DFL-260E User Manual

Network security firewall netdefendos version 2.27.03
Hide thumbs Also See for DFL-260E:
Table of Contents

Advertisement

7.2. NAT
4.
NetDefendOS receives the packet and compares it to its list of open connections. Once it finds
the connection in question, it restores the original address and forwards the packet.
5.
The original sender now receives the response.
The sequence of these events is illustrated further in the diagram below.
Example 7.1. Adding a NAT Rule
To add a NAT rule that will perform address translation for all HTTP traffic originating from the internal network,
follow the steps outlined below:
Command-Line Interface
First, change the current category to be the main IP rule set:
gw-world:/> cc IPRuleSet main
Now, create the IP rule:
gw-world:/main> add IPRule Action=NAT Service=http
Return to the top level:
gw-world:/main> cc
195.55.66.77:80 => 195.11.22.33:32789
195.55.66.77:80 => 192.168.1.5:1038
Figure 7.2. A NAT Example
SourceInterface=lan
SourceNetwork=lannet
DestinationInterface=any
DestinationNetwork=all-nets
Name=NAT_HTTP
NATAction=UseInterfaceAddress
343
Chapter 7. Address Translation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents