D-Link DFL-860E User Manual for DFL-260E - Page 378
add ARP Interface=wan IP=195.55.66.77 mode=Publish, add IPRule Action=SAT
View all D-Link DFL-860E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 378 highlights
7.4.2. Translation of Multiple IP Addresses (M:N) Chapter 7. Address Translation Command-Line Interface Create an address object for the public IPv4 addresses: gw-world:/> add Address IP4Address wwwsrv_pub Address=195.55.66.77-195.55.66.81 Now, create another object for the base of the web server IP addresses: gw-world:/> add Address IP4Address wwwsrv_priv_base Address=10.10.10.5 Publish the public IPv4 addresses on the wan interface using ARP publish. One ARP item is needed for every IP address: gw-world:/> add ARP Interface=wan IP=195.55.66.77 mode=Publish Repeat this for all the five public IPv4 addresses. Next, change the current category to be the main IP rule set: gw-world:/> cc IPRuleSet main Next, create a SAT rule for the translation: gw-world:/main> add IPRule Action=SAT Service=http SourceInterface=any SourceNetwork=all-nets DestinationInterface=wan DestinationNetwork=wwwsrv_pub SATTranslateToIP=wwwsrv_priv_base SATTranslate=DestinationIP Finally, create an associated Allow Rule: gw-world:/main> add IPRule Action=Allow Service=http SourceInterface=any SourceNetwork=all-nets DestinationInterface=wan DestinationNetwork=wwwsrv_pub Web Interface Create an address object for the public IPv4 address: 1. Go to: Objects > Address Book > Add > IP4 Address 2. Specify a suitable name for the object, for example wwwsrv_pub 3. Enter 195.55.66.77 - 195.55.66.77.81 as the IP Address 4. Click OK Now, create another address object for the base of the web server IP addresses: 1. Go to: Objects > Address Book > Add > IP4 Address 2. Specify a suitable name for the object, for example wwwsrv_priv_base 3. Enter 10.10.10.5 as the IP Address 4. Click OK Publish the public addresses on the wan interface using ARP publish. One ARP item is needed for every IP address: 1. Go to: Interfaces > ARP > Add > ARP 2. Now enter: • Mode: Publish 378