Using Nat Pools - D-Link NetDefendOS User Manual

Network security firewall
Hide thumbs Also See for NetDefendOS:
Table of Contents

Advertisement

Example 7.3. Using NAT Pools
This example creates a stateful NAT pool with the external IP address range 10.6.13.10 to
10.16.13.15. This is then used with a NAT IP rule for HTTP traffic on the wan interface originating
from the lan_net.
Note that if a network such as 10.6.13.0/24 is used for the NAT pool IP range, the 0 and 255
addresses (10.6.13.0 and 10.6.13.255) are automatically excluded from the range.
Command-Line Interface
A. First, create an object in the address book for the address range:
gw-world:/> add Address IP4Address nat_pool_range
B. Next, create a stateful NAT Pool object called my_stateful_natpool :
gw-world:/> add NatPool my_stateful_natpool
C. Finally, define the NAT rule in the IP rule set:
gw-world:/> add IPRule Action=NAT
Web Interface
A. First, create an object in the address book for the address range:
1.
Go to: Objects > Address Book > Add > IP4 Address
2.
Specify a suitable name for the IP range nat_pool_range
3.
Enter 10.6.13.10-10.16.13.15 in the IP Address textbox
4.
Click OK
B. Next, create a stateful NAT Pool object called my_stateful_natpool :
1.
Go to: Objects > NAT Pools > Add > NAT Pool
2.
Now enter:
Name: my_stateful_natpool
Pool type: stateful
Address=10.6.13.10-10.16.13.15
Range=nat_pool_range
Type=Stateful
ProxyARPInterfaces=wan
SourceInterface=lan
SourceNetwork=lannet
DestinationInterface=wan
DestinationNetwork=all-nets
Service=http-all
NATAction=UseNATPool
NATPool=my_stateful_natpool
Name=NAT_HTTP
586
Chapter 7: Address Translation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents