F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

138
Enabling ALG
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable ALG.
alg { all | dns | ftp | h323 | ils | msn |
nbt | pptp | qq | rtsp | sccp | sip |
sqlnet | tftp }
Optional.
By default, ALG is enabled only for FTP.
FTP ALG configuration example
The example describes only ALG-related configurations, assuming other required configurations on the
server and client have been done.
Network requirements
As shown in Figure 86, a company uses the private network segment 192.168.1.0/24. The company
wants to provide FTP services using public IP address 5.5.5.10.
Configure NAT and ALG so that hosts on the external network can access the FTP server on the internal
network.
Figure 86 Network diagram
Configuration procedure
# Enable ALG for FTP.
[LB] alg ftp
# Configure internal FTP server.
[LB] interface gigabitethernet 0/1
[LB-GigabitEthernet0/1] nat server protocol tcp global 5.5.5.10 ftp inside 192.168.1.2
ftp
SIP/H.323 ALG configuration example
H.323 ALG configuration is similar to SIP ALG configuration. This example discusses SIP ALG
configuration.
The example describes only ALG-related configurations, assuming other required configurations on the
server and client have been done.
Network requirements
As shown in Figure 87, a company uses the private network segment 192.168.1.0/24, and has four public
network addresses: 5.5.5.1, 5.5.5.9, 5.5.5.10, and 5.5.5.11. SIP UA 1 is on the internal network and SIP
UA 2 is on the external network.