E. Specify an
Allow
IP rule for the external clients:
1.
Go to: Policies > Firewalling > Main IP Rules > Add > IP Rule
2.
Now enter:
•
Name: web_slb_allow
•
Action: Allow
•
Service: http-all
•
Source Interface: wan
•
Source Network: all-nets
•
Destination Interface: core
•
Destination Network: wan_ip
3.
Click OK
10.4.7. SLB Policy
A
Server Load Balancing Policy
(SLB Policy) is a recommended and alternative method to using
IP
Rule
objects for setting up server load balancing. The following example is a duplicate of
Example 10.4, “Setting up SLB with IP Rules”
but uses a single
SLB Policy
object instead of multiple
IP Rule
objects.
Example 10.5. Setting up SLB with an SLB Policy
In this example, server load balancing is performed between two HTTP web servers situated
behind the NetDefend Firewall. These web servers have the private IPv4 addresses
192.168.1.10
and
192.168.1.11
. Access by external clients is via the
wan
interface which has the IPv4 address
wan_ip
.
The default SLB values for monitoring, distribution method and stickiness are used.
Command-Line Interface
A. Create an address object for each of the web servers:
gw-world:/> add Address IP4Address server1 Address=192.168.1.10
gw-world:/> add Address IP4Address server2 Address=192.168.1.11
B. Specify the
SLB Policy
object:
gw-world:/> add SLBPolicy SourceInterface=wan
SourceNetwork=all-nets
DestinationInterface=core
DestinationNetwork=wan_ip
Service=http-all
Name=my_web_slb_policy
SLBAddresses=server1,server2
Chapter 10: Traffic Management
816
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 ...