08-Configuration Examples

HomeSupportConfigure & DeployH3C Firewall Products Comware 7 Web Configuration Guide-6W40208-Configuration Examples
Table of Contents
Related Documents
37-Server Connection Detection Configuration Examples

Server connection detection configuration examples

Introduction

 

The following information provides server connection detection (SCD) configuration examples.

 

This document is not restricted to specific software or hardware versions. Procedures and information in the examples might be slightly different depending on the software or hardware version of the device.

The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

The following information is provided based on the assumption that you have basic knowledge of the SCD feature.

Network configuration

As shown in Figure 1, configure SCD on the device to perform the following tasks:

·     Monitor connections initiated by servers in subnet 2.2.1.0/24 for one day.

·     Logs all connections initiated by the server except for TCP connections destined for TCP ports 80 and 443 on host 2.2.3.2/24.

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on F9345 of the F1060 device.

Procedure

1.     Assign IP addresses to interfaces and add the interfaces to security zones:

# On the top navigation bar, click Network.

# From the navigation pane, select Interface Configuration > Interfaces.

# Click the Edit icon for GE 1/0/1.

# In the dialog box that opens, configure the interface:

a.     Select the DMZ security zone.

b.     Click the IPv4 Address tab, and then enter the IP address and mask of the interface. In this example, enter 2.2.1.1/24.

c.     Click OK.

# Add GE 1/0/2 to the Untrust security zone and set its IP address to 2.2.2.1./24 in the same way you configure GE 1/0/1.

2.     Configure a route:

This example configures a static route. If dynamic routes are required, configure a dynamic routing protocol.

# On the top navigation bar, click Network.

# From the navigation pane, select Routing > Static Routing.

# On the IPv4 Static Routing tab, click Create.

# In the dialog box that opens, create an IPv4 static route:

¡     Enter destination address 2.2.3.0.

¡     Enter mask length 24.

¡     Enter next hop address 2.2.2.2.

# Click OK.

3.     Create a security policy:

# On the top navigation bar, click Policies.

# From the navigation pane, select Security Policies > Security Policies.

# Click Create.

# In the dialog box that opens, configure a security policy:

¡     Enter policy name test-a.

¡     Select source zone DMZ.

¡     Select destination zone Untrust.

¡     Select type IPv4.

¡     Select action Permit.

¡     Select source IP address 2.2.1.0/24.

# Cilck OK.

4.     Create an internal IP address object group.

# On the top navigation bar, click Objects.

# From the navigation pane, select Object Groups > IPv4 Address Object Groups.

# Click Create.

# In the dialog box that opens, configure the IPv4 address object group:

a.     Enter a group name. In this example, enter abc.

b.     Enter a description. In this example, enter 2.2.1.0/24.

Figure 2 Creating IPv4 address object group

 

c.     Click Add.

d.     In the dialog box that opens, select the Network segment object, and enter the IPv4 address and mask 2.2.1.0/24.

Figure 3 Creating object

 

e.     Click OK.

5.     Configure server connection learning.

# On the top navigation bar, click Policies.

# From the navigation pane, select Server Connection Detect > SCD learning.

# Enter a server address. In this example, enter abc.

# Select a learning period. In this example, select 24 hours.

# Click Apply.

Figure 4 Configuring server connection learning

 

6.     Configure an SCD policy.

# On the top navigation bar, click Policies.

# From the navigation pane, select Server Connection Detect > SCD Policy.

# Click Create.

# In the dialog box that opens, create an SCD policy:

a.     Enter a policy name. In this example, enter policy1.

b.     Enter a server address. In this example, enter 2.2.1.2.

c.     Enable policy.

d.     Enable SCD logging.

Figure 5 Creating an SCD policy

 

e.     Click Create.

f.     In the dialog box that opens, enter the destination address 2.2.3.12 and TCP ports 80 and 443.

Figure 6 Creating an SCD rule

 

g.     Click OK.

Figure 7 Displaying the SCD policy

 

Verifying the configuration

To view the logs generated for server connection events, click Monitor on the top navigation bar, and then select Device Logs > System Logs from the navigation pane.

Figure 8 Viewing the device logs

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网