10.4.6. SLB_SAT Rules
webservers would see only the IP address of the D-Link Firewall.
Example 10.3. Setting up SLB
In this example server load balancing is to be done between 2 HTTP webservers which are situated behind the
D-Link Firewall. The 2 webservers have the private IP addresses 192.168.1.10 and 192.168.1.11 respectively.
The default SLB values for monitoring, distribution method and stickiness are used.
A NAT rule is used in conjunction with the SLB_SAT rule so that clients behind the firewall can access the
webservers. An Allow rule is used to allow access by external clients.
Web Interface
A. Create an Object for each of the webservers:
1.
Go to Objects > Address Book > Add > IP Address
2.
Enter a suitable name, for example server1
3.
Enter the IP Address as 192.168.1.10
4.
Click OK
5.
Repeat the above to create an object called server2 for the 192.168.1.11 IP address
B. Create a Group which contains the 2 webserver objects:
1.
Go to Objects > Address Book > Add > IP4 Group
2.
Enter a suitable name, for example server_group
3.
Add server1 and server2 to the group
4.
Click OK
C. Specify the SLB_SAT IP rule:
1.
Go to Rules > IP Rule Sets > main > Add > IP Rule
2.
Enter:
•
Name: Web_SLB
•
Action: SLB_SAT
•
Service: HTTP
•
Source Interface: any
•
Source Network: all-nets
•
Destination Interface: core
•
Destination Network: ip_ext
3.
Select tab SAT SLB
4.
Under Server Addresses add server_group to Selected
5.
Click OK
D. Specify a matching NAT IP rule for internal clients:
1.
Go to Rules > IP Rule Sets > main > Add > IP Rule
2.
Enter:
•
Name: Web_SLB_NAT
•
Action: NAT
•
Service: HTTP
•
Source Interface: lan
406
Chapter 10. Traffic Management