Sangfor IAM User Manual 11.2

Loading...
IAM 11.2 User Manual

SANGFOR IAM11.2 User Manual

2016 January

www.sangfor.com

1

IAM 11.2 User Manual

www.sangfor.com

2

IAM 11.2 User Manual

Table of Content Table of Content......................................................................................................................................... 3 Declaration................................................................................................................................................. 8 About This Document................................................................................................................................ 9 Organization....................................................................................................................................... 9 Conventions....................................................................................................................................... 9 Symbol Conventions........................................................................................................................ 10 Technical Support.............................................................................................................................10 Acknowledgment............................................................................................................................. 10 Chapter 1 IAM Installation....................................................................................................................... 11 1.1 Environment Requirement........................................................................................................ 11 1.2 Power......................................................................................................................................... 11 1.3 Product Appearance.................................................................................................................. 11 1.4 Configuration and Management............................................................................................... 13 1.5 Wiring Method of Standalone................................................................................................... 13 1.6 Wiring Method of Redundant System....................................................................................... 16 Chapter 2 IAM Console............................................................................................................................ 17 2.1 Web UI Login.............................................................................................................................. 17 2.1.1 Log into the Web Console...............................................................................................17 2.1.2 Remove the Certificate Alert Dialog............................................................................... 18 2.2 Configuration............................................................................................................................. 20 Chapter 3 Functions.................................................................................................................................22 3.1 System........................................................................................................................................ 22 3.1.1 Status.............................................................................................................................. 22 3.1.1.1 Dashboard............................................................................................................22 3.1.1.2 Online users......................................................................................................... 29 3.1.1.3 Connection Quality.............................................................................................. 32 3.1.1.4 Traffic Statistics.................................................................................................... 40 3.1.1.5 Internet Activities................................................................................................ 47 3.1.1.6 Locked Users........................................................................................................ 49 3.1.1.7 DHCP Status......................................................................................................... 50 3.1.1.8 Security Events.....................................................................................................51 3.1.2 Firewall............................................................................................................................51 3.1.2.1 Firewall Rules....................................................................................................... 51 3.1.2.2 IPv4 SNAT............................................................................................................. 53 3.1.2.3 IPv4 DNAT............................................................................................................ 59 3.1.2.4 IPv6 NAT............................................................................................................... 63 3.1.3 Network.......................................................................................................................... 65 3.1.3.1 Deployment......................................................................................................... 65 3.1.3.2 Network Interface Configuration........................................................................ 92 3.1.3.3 Static Routes........................................................................................................ 99 3.1.3.4 Policy-Based Routing......................................................................................... 101 3.1.3.5 High Availability................................................................................................. 106 3.1.3.6 HOSTS.................................................................................................................115 3.1.3.7 DHCP.................................................................................................................. 116 www.sangfor.com

3

IAM 11.2 User Manual

3.1.3.8 Protocol Extension.............................................................................................118 3.1.3.9 Optical Bypass Module...................................................................................... 120 3.1.4 General..........................................................................................................................122 3.1.4.1 Licensing............................................................................................................ 122 3.1.4.2 Administrator.....................................................................................................123 3.1.4.3 Date/Time.......................................................................................................... 134 3.1.4.4 Update............................................................................................................... 135 3.1.4.5 Alarm Options....................................................................................................137 3.1.4.6 Global Exclusion.................................................................................................141 3.1.4.7 Backup/Restore................................................................................................. 143 3.1.4.8 Custom Webpage.............................................................................................. 144 3.1.4.9 Report Center.................................................................................................... 146 3.1.4.10 Advanced Settings........................................................................................... 148 3.1.5 Diagnostics....................................................................................................................157 3.1.5.1 System Logs....................................................................................................... 157 3.1.5.2 Capture Packets................................................................................................. 158 3.1.5.3 Web Console......................................................................................................160 3.1.5.4 Troubleshooting.................................................................................................161 3.1.5.5 Shutdown...........................................................................................................163 3.2 Proxy .......................................................................................................................................164 3.2.1 Proxy Services............................................................................................................... 164 3.2.2 Proxies...........................................................................................................................166 3.2.2.1 HTTP Proxy.........................................................................................................166 3.2.2.2 SOCKS4 Proxy.....................................................................................................169 3.2.2.3 SOCKS5 Proxy.....................................................................................................170 3.2.3 ICAP Server Groups.......................................................................................................171 3.2.4 Cascading Proxy Servers............................................................................................... 174 3.2.5 Forward......................................................................................................................... 175 3.3 Object.......................................................................................................................................177 3.3.1 Application Signature....................................................................................................178 3.3.1.1 Viewing the Application Signature.................................................................... 179 3.3.1.2 Enabling/Disabling Application Identification Rules.........................................182 3.3.2 Advanced App Signature.............................................................................................. 183 3.3.2.1 Enabling/Disabling Advanced App Signature....................................................184 3.3.2.2 Editing P2P Behavior Identification Rules......................................................... 184 3.3.2.3 Editing Ultrasurf/Freegate Identification Rules................................................ 186 3.3.2.4 Editing Web Online Proxy Identification Rules..................................................187 3.3.3 Custom Application.......................................................................................................188 3.3.3.1 Adding Custom Application Rules..................................................................... 188 3.3.3.2 Enabling, Disabling, and Deleting Custom Application Rules........................... 190 3.3.3.3 Importing and Exporting Custom Application Rules.........................................190 3.3.4 URL Database................................................................................................................ 190 3.3.4.1 URL Database List.............................................................................................. 191 3.3.5 Ingress Rule Database...................................................................................................195 3.3.5.1 Ingress Rules...................................................................................................... 195 3.3.5.2 Combined Ingress Rule...................................................................................... 206 3.3.6 Service...........................................................................................................................210 3.3.7 IP Group........................................................................................................................ 212 3.3.8 ISP..................................................................................................................................213 3.3.9 Schedule........................................................................................................................215 www.sangfor.com

4

IAM 11.2 User Manual

3.3.10 Keyword Group........................................................................................................... 217 3.3.11 File Type Group...........................................................................................................218 3.3.12 Location.......................................................................................................................219 3.4 Users.........................................................................................................................................222 3.4.1 Working Principle..........................................................................................................222 3.4.1.1 Users Type..........................................................................................................222 3.4.1.2 User Authentication.......................................................................................... 224 3.4.2 Authentication.............................................................................................................. 225 3.4.2.1 Authentication Policy.........................................................................................225 3.4.2.2 External Auth Server..........................................................................................240 3.4.2.3 Single Sign-On....................................................................................................260 3.4.2.4 Custom Webpage.............................................................................................. 273 3.4.3 Users............................................................................................................................. 278 3.4.3.1 Local Users......................................................................................................... 278 3.4.3.2 User Import........................................................................................................302 3.4.3.3 User Binding.......................................................................................................306 3.4.3.4 IP&MAC Binding................................................................................................ 310 3.4.4 Advanced...................................................................................................................... 312 3.4.4.1 Authentication Options..................................................................................... 313 3.4.4.2 USB Key User..................................................................................................... 316 3.4.4.3 Custom Attributes..............................................................................................319 3.4.4.4 MAC Filtering Across L3 Switch......................................................................... 321 3.5 Access Mgt............................................................................................................................... 324 3.5.1 Policies.......................................................................................................................... 324 3.5.1.1 Introduction to Policies......................................................................................325 3.5.1.2 Adding Object for Access Control......................................................................330 3.5.1.3 Viewing Network Access Policies of Users........................................................ 336 3.5.1.4 Matching Network Access Policies....................................................................339 3.5.1.5 Adding Policies...................................................................................................340 3.5.1.6 Adding a Policy Using a Template......................................................................390 3.5.1.7 Deleting an Ingress Policy..................................................................................392 3.5.1.8 Editing Policies in Batches................................................................................. 392 3.5.1.9 Enabling or Disabling a Policy............................................................................393 3.5.1.10 Changing the Policy Order...............................................................................394 3.5.1.11 Importing/Exporting a Policy.......................................................................... 395 3.5.2 Advanced Policy Options.............................................................................................. 397 3.5.2.1 Logging...............................................................................................................397 3.5.2.2 Web Access Options.......................................................................................... 399 3.5.2.3 Policy Troubleshooting...................................................................................... 400 3.5.2.4 Excluded Application......................................................................................... 400 3.6 Traffic Management.................................................................................................................402 3.6.1 Overview....................................................................................................................... 402 3.6.2 Bandwidth Management..............................................................................................403 3.6.3 Bandwidth Channel Configuration............................................................................... 403 3.6.3.1 Line Bandwidth..................................................................................................404 3.6.3.2 Limited Channel.................................................................................................412 3.6.3.3 Traffic Sub-Channel............................................................................................421 3.6.3.4 Penalty Channel................................................................................................. 428 3.6.3.5 Adding a Channel Using a Template..................................................................438 3.6.3.6 Exclusion Policy..................................................................................................438 www.sangfor.com

5

IAM 11.2 User Manual

3.6.4 Line Bandwidth Configuration......................................................................................440 3.6.5 Virtual Line Configuration.............................................................................................441 3.7 Endpoint Device Connection Management............................................................................ 445 3.7.1 Shared Connection Management.................................................................................445 3.7.2 Mobile Endpoint Management.................................................................................... 449 3.8 Security Protection.................................................................................................................. 452 3.8.1 Anti-DoS Attack............................................................................................................. 453 3.8.2 ARP Protection..............................................................................................................454 3.8.3 Antivirus........................................................................................................................ 456 3.9 VPN Configuration................................................................................................................... 458 3.9.1 DLAN Operating Status................................................................................................. 458 3.9.2 Basic Settings................................................................................................................ 459 3.9.3 User Management........................................................................................................ 461 3.9.4 Connection Management.............................................................................................469 3.9.5 Virtual IP Address Pool................................................................................................. 471 3.9.6 Multi-Line Settings........................................................................................................477 3.9.7 Multi-Line Route Selection Policy.................................................................................479 3.9.8 Local Subnet List........................................................................................................... 481 3.9.9 Inter-channel Routing Settings..................................................................................... 482 3.9.10 Third party connection............................................................................................... 485 3.9.10.1 Phase I..............................................................................................................485 3.9.10.2 Phase II.............................................................................................................491 3.9.10.3 Security Options.............................................................................................. 495 3.9.11 Object..........................................................................................................................497 3.9.11.1 Schedule.......................................................................................................... 497 3.9.11.2 Algorithm List Settings.....................................................................................498 3.9.12 Advanced Settings...................................................................................................... 498 3.9.12.1 Intranet Service Settings..................................................................................498 3.9.12.2 VPN Interface Settings.....................................................................................501 3.9.12.3 Multicast Service............................................................................................. 503 3.9.12.4 LDAP Server Settings....................................................................................... 505 3.9.12.5 Radius Server Settings..................................................................................... 506 3.9.12.6 Dynamic Routing Settings................................................................................507 Chapter 4 Use Cases.............................................................................................................................. 508 4.1 SSO Configuration.................................................................................................................... 508 4.1.1 SSO Configuration for the AD Domain......................................................................... 508 4.1.1.1 SSO Implemented by Delivering a Login Script Through Domains................... 508 4.1.1.2 Obtaining Login Information Using a Program (SSO Without a Plug-in).......... 521 4.1.1.3 SSO Implemented Using IWA............................................................................ 535 4.1.1.4 SSO Implemented in Monitoring Mode............................................................ 535 4.1.2 Proxy SSO Configuration............................................................................................... 539 4.1.2.1 4 SSO in Monitoring Mode................................................................................ 539 4.1.2.2 SSO in ISA Mode................................................................................................ 543 4.1.3 POP3 SSO Configuration............................................................................................... 547 4.1.4 Web SSO Configuration................................................................................................ 551 4.1.5 Configuration of SSO Implemented with Third-Party Devices.....................................555 4.1.5.1 SSO Implemented with Ruijie SAM................................................................... 555 4.1.5.2 SSO Implemented with Devices Supporting the HTTP SSO Interface...............563 4.1.5.3 SSO Implemented with H3C CAMS................................................................... 565 4.1.5.4 SSO Implemented with Dr. COM....................................................................... 566 www.sangfor.com

6

IAM 11.2 User Manual

4.1.5.5 SSO Implemented with H3C IMC.......................................................................568 4.1.6 SSO Implemented with Another SANGFOR Device......................................................569 4.1.7 SSO Implemented with a Database System................................................................. 571 4.2 Configuration That Requires No User Authentication............................................................ 574 4.3 Configuration That Requires Password Authentication.......................................................... 580 4.3.1 SMS Authentication...................................................................................................... 580 4.3.1.1 Sending SMS Messages Through an SMS Modem............................................580 4.3.1.2 Sending an SMS Message Using an SMS Modem Installed on an External Server585 4.3.2 WeChat and QR Code Authentication..........................................................................592 4.3.3 Password Authentication..............................................................................................603 4.4 Other Configuration Cases.......................................................................................................611 4.5 CAS Server Authentication Case.............................................................................................. 624 4.6 Policy Configuration Cases.......................................................................................................628 4.6.1 Configuring a Policy for Blocking P2P and P2P Streaming Media Data for a User Group628 4.6.2 Configuring an IM Monitoring Policy for a User Group............................................... 632 4.6.3 Enabling the Audit Function for a User Group............................................................. 636 4.7 Endpoint Device Management Configuration Cases...............................................................639 4.7.1 Configuring the Sharing Prevention Function.............................................................. 639 4.7.2 Mobile Endpoint Management Configuration Cases...................................................641 4.8 Comprehensive Configuration Cases.......................................................................................642 4.8.1 Customer Network Environment and Requirement.................................................... 642 4.8.2 Configuration Idea........................................................................................................ 643 4.8.3 Configuration Process...................................................................................................644 Appendix: Usage of SANGFOR Device Upgrade System........................................................................665 Product Upgrade Procedure.......................................................................................................... 668

www.sangfor.com

7

IAM 11.2 User Manual

Declaration Copyright © SANGFOR Technologies Co.Ltd. All rights reserved. No part of the information contained in this document shall be extracted, reproduced or transmitted in any form or by any means, without prior written permission of SANGFOR.

SANGFOR, SANGFOR Technologies and the SANGFOR logo

are the trademarks

or registered trademarks of SANGFOR Technologies Co. Ltd. All other trademarks used or mentioned herein belong to their respective owners. This manual shall only be used as usage guide, and no statement, information, or suggestion in it shall be considered as implied or express warranties of any kind, unless otherwise stated. This manual is subject to change without notice. To obtain the latest version of this manual, please contact the Customer Service of SANGFOR Technologies CO. Ltd

www.sangfor.com

8

IAM 11.2 User Manual

About This Document Organization Part I

Describe the hardware server and software server requirement in order to install External

Data Center. Step of Installation included. Part II

Describe the interface and each of the function such as generate report, check online

behavior and system management. Justify overall configuration, setting and precaution.

This document takes SANGFOR IAM M5100 as an example. Equipment of different models differs in both hardware and software specifications. Therefore, confirm with SANGFOR about problems involving product specifications.

Conventions GUI Conventions Item

Sign Frame+shadow+

Button

shading

Menu item Choose

Example

{}

cascading

menu

items Drop-down

list,

button, check box Window name

option

→ [] Bold Font

The OK button can be simplified as OK. The menu item System Setup can be simplified as System Setup. Choose System Setup > Interface Configuration. The Enable User check box can be simplified as Enable User. Open the New User window. The prompt “Succeed in saving configuration. The

Prompt

“”

configuration is modified. You need to restart the DLAN service for the modification to take effect. Restart the service now?” is displayed.

www.sangfor.com

9

IAM 11.2 User Manual

Symbol Conventions The symbols that may be found in this document are defined as follows: Caution: alerts you to a precaution to be observed during operation. Improper operation may cause setting validation failure, data loss, or equipment damage. Warning: alerts you to pay attention to the provided information. Improper operation may cause bodily injuries.

Note or tip: provides additional information or a tip to operations.

Technical Support Email: [email protected] International Service Centre: +60 12711 7129 (7511)

Malaysia: 1700817071

Website: www.sangfor.com

Acknowledgment Thanks for choosing our product and user manual. For any suggestions on our product or user manual, provide your feedback to us by phone or email.

www.sangfor.com

10

IAM 11.2 User Manual

Chapter 1 IAM Installation This chapter mainly describes the appearance and installation of SANGFOR IAM hardware device. After correct installation, you can configure and debug the system.

1.1 Environment Requirement The SANGFOR IAM device requires the following working environment: 

Input voltage: 110V-230V



Temperature: 0-45℃



Humidity: 5%-90%

To ensure long-term and stable running of the system, the power supply should be properly grounded, dustproof measures taken, working environment well ventilated and indoor temperature kept stable. This product conforms to the requirements on environment protection, and the placement, usage and discard of the product should comply with relevant national law and regulation.

1.2 Power The SANGFOR IAM device uses 110 ~ 230V alternating current (IAM) as its power supply. Make sure it is well-grounded before being provided with power supply.

1.3 Product Appearance

SANGFOR IAM Hardware Device

Above is the front panel of SANGFOR IAM hardware gateway device. The interfaces or indicators on www.sangfor.com

11

IAM 11.2 User Manual

the front panel are described respectively in the following table.

www.sangfor.com

12

IAM 11.2 User Manual

Table 1 Interface Description No.

Interface/Indicator

Usage

1

CONSOLE Interface

Used for high-availability function (redundant system)

2

WAN2 (eth3)

Network interface to be defined as WAN2 interface

3

DMZ (eth1)

Network interface to be defined as DMZ interface

4

WAN1 (eth2)

Network interface to be defined as WAN1 interface

5

LAN (eth0)

Network interface to be defined as LAN interface

6

POWER Indicator

Power indicator of IAM gateway device

7

ALARM Indicator

Alarm indicator of IAM gateway device

The CONSOLE interface is only for debugging by technical engineers. The end users connect to the device via the network interfaces.

1.4 Configuration and Management Before configuring the device, please prepare a computer and make sure the web browser (for example, Internet Explorer browser) of the computer can be used normally. Then connect the computer with the IAM device to a same local area network (LAN) and then configure the IAM device on the computer over the established network. The default IP address settings for the network interfaces are described below: Interface

IP Address

eth0 (LAN)

10.251.251.251/24

eth1 (DMZ)

10.252.252.252/24

eth2 (WAN1)

200.200.20.61/24

1.5 Wiring Method of Standalone Connect the power cable to the Power interface on the rear panel of the IAM device and switch on www.sangfor.com

13

IAM 11.2 User Manual

the power supply. The POWER indicator (in green) and ALARM indicator (in red) on the front panel will be lighted. The ALARM indicator will go out one or two minutes later, indicating the device runs normally. Follow the instructions below to wire the interfaces: 

Use standard RJ-45 Ethernet cable to connect the LAN interface to the local area network and then configure the IAM device.



Use standard RJ-45 Ethernet cable to connect the WAN1 interface with the networking device, such as router, optical fiber transceiver, ADSL Modem, etc.



Use standard RJ-45 Ethernet cable to connect DMZ interface to the DMZ zone network. Generally, the Web server and Mail server providing services to wide area network (WAN) are placed at the DMZ zone. The IAM device provides secure protection for these servers.

When wiring the interfaces, please use the correct cables for connection as instructed below: 

Use straight-through cable to connect a WAN interface with the Modem, and crossover cable to connect a WAN interface with the router.



Use straight-through cable to connect the LAN interface with the switch, and crossover cable to connect the LAN interface on the device with the network interface on the computer.

If connections cannot be established while the corresponding indicator functions normally, please check whether cables are correctly used for connections. The differences between straight-through cable and crossover cable are the wire sequences at both ends, as shown below:

www.sangfor.com

14

IAM 11.2 User Manual

Wire Sequences of Straight-through Cable and Crossover Cable

After correct connections, log in to the console of IAM device and configure the deployment mode according to the network topology (see section 3.1.3.1 Deployment).

1. Multi-line function of the IAM device allows multiple Internet lines to be connected in. In this situation, connect the second networking device to WAN2 interface, the third networking device to WAN3 interface, and so on. 2. When IAM gateway device is running, the POWER indicator (in green) keeps lighted, the WAN LINK and LAN LINK indicators (in orange) keep lighted. The ACT indicator (in green) will flicker if there is data flow. When the device is starting, the ALARM indicator is lighted (in red) due to system loading and then goes out after one or two minutes, indicating successful startup of the device. After startup, the ALARM indicator may flash, which means the device is writing logs. However, if the ALARM indicator stays lighted for a long time and does not go out, please www.sangfor.com

15

IAM 11.2 User Manual

shut down the device and restart the device after 5 minutes. If this situation remains after restart, please contact us.

1.6 Wiring Method of Redundant System If two IAM devices are deployed in high availability mode (HA), please wire the two devices to external network and internal network as shown below:

Follow the instructions below to wire the two devices: 

Use standard RJ-45 Ethernet cable to connect the WAN1 interfaces of the two IAM devices to a same switch (if multi-line function is applied, the wiring method is the same: just connect the WAN interfaces of the two devices to a same external line), and then connect the switch to other networking devices, such as router, fiber optical transceiver and ADSL Modem, etc.



Use the Console cable (among the accessories) to connect Console interfaces of the two IAM devices.



Use RJ-45 Ethernet cable to connect the LAN interfaces (eth0) of the two IAM devices to a same switch, and then connect the switch to the LAN switch, connecting it to the LAN.

After the two devices are correctly wired, switch on the power for both devices and then configure them. The procedures for configuring the redundant system are the same as that for a standalone device. You need only configure the active IAM device, which will automatically synchronize its configurations to the standby IAM device.

www.sangfor.com

16

IAM 11.2 User Manual

Chapter 2 IAM Console 2.1 Web UI Login The IAM device supports secure HTTPS login, using the standard port of HTTPS protocol. If you log into the Web Console of the IAM device for the first time, type the default login address http://10.251.251.251 in the address bar of the browser.

Using HTTPS to login to the WEBUI and manage the IAM device can avoid the potential risks that the configurations may be intercepted during transmission.

2.1.1 Log into the Web Console After finishing all the wiring, you can then log into the Web User Interface (UI) to configure the SANGFOR IAM device. Follow the procedures below to log into the console of the IAM device: Step 1. Configure an IP address (for example, 10.251.251.100) on the 10.251.251.X subnet for the computer, and then type the default login IP address and port in the IE address bar: http://10.251.251.251. Click and the following alert dialog appears:

www.sangfor.com

17

IAM 11.2 User Manual

Step 2. Click to open the login interface, as shown below:

Step 3. Type the user name and password, and click to log into the IAM device console. The username and password are Admin by default. To view the version of the current IAM gateway device, click . You can log into the console without installing any ActiveX. Non-IE browsers are also supported.

2.1.2 Remove the Certificate Alert Dialog During the login to the console, the browser may pop up the certificate alert dialog. To remove it, do as follows: Step 1. Log into the console, open the [System] > [General] > [Advanced] > [Web UI] page. Specify the IP address (to which the certificate will be issued) in the [Issue Console SSL Cert. To] field. Here, the IP address refers to that of the network interface for login and it is the IP address of the LAN interface by default. In this example, we suppose that you have logged into the console through the default address of the LAN interface.

www.sangfor.com

18

IAM 11.2 User Manual

Step 2. Click to download the certificate to the local computer and click to save it.

Step 3. Locate the certificate in the local computer and double-click it to install. After the certificate is installed, the alert dialog will not pop up when you login through the default address of the LAN interface.

Only when you login through the IP address specified in [Issue Console SSL Cert. To] and the local computer has installed the certificate will this alert dialog be removed. If you login through other address or the computer has not installed the certificate, the alert dialog will still

www.sangfor.com

19

IAM 11.2 User Manual

pop up.

2.2 Configuration After logging in to the Web UI, you will see the following major modules: [System], [Objects], [Users], [Access Mgt], [Bandwidth Mgt], [Endpoint Device] and [Security] as shown below:

The following instructions for the buttons and icons are applicable to all the configuration pages on the IAM device and will not be described again in the subsequent sections: 

If a button is included on the configuration page, after you change the configurations, you need click this button to apply your configuration changes. Generally, it may take 5 to 10 seconds for the configuration changes to take effect. To make them take effect immediately, click the



The

icon at the bottom-right of the page.

icon at the bottom-right of the page is for broadcasting some system messages

or warning messages in real time. 

Most of the configuration pages include the

icon. When you put your mouse cursor

over this icon, a brief description for the current configuration item will pop up.

When you modify the settings on the [System] > [Network] > [Deployment] page or [System] > [System Time] page or default encoding on the [System] > [General] > [Advanced] > [Web UI Options] page, the IAM device will restart and you need to re-login.

www.sangfor.com

20

IAM 11.2 User Manual

For most of the pages that display the configuration information and status in List View, you can select the columns to be displayed to easily get your desired information and sort the information in ascending or descending order according to your needs. For example: 1. On the [Members] page, you can select the columns that you want to display and the page will only display the information of the selected columns, as shown below:

2. On the [Online Users] page, you can select [Sort Ascending] or [Sort Descending] to sort the information in ascending or descending order by the corresponding column.

www.sangfor.com

21

IAM 11.2 User Manual

Chapter 3 Functions 3.1 System 3.1.1 Status On the Status page, basic device information is displayed, including the Dashboard, Online Users, Connection Quality, Traffic Statistics, Internet Activities, Locked Users, Dynamic Host Configuration Protocol (DHCP) running status, and Security Events.

3.1.1.1 Dashboard On the Dashboard page, System Resources are displayed, including the graph of Throughput on All WAN Interfaces, Web-Access Connection Quality, Top Application by Traffic, Top Users by Traffic, Application Bandwidth Distribution, Network Interface, Security Events and Internet Activities.

3.1.1.1.1 Displayed Panels On the Dashboard page, click Displayed Panels. The following page is displayed:

www.sangfor.com

22

IAM 11.2 User Manual

Select the status information to be displayed on the Dashboard page.

3.1.1.1.2 Restore Default Panels On the Dashboard page, click Restore Default Panels to show the following default panels: System Resources, Throughput on ALL WAN Interfaces, Web-Access Connection Quality, and Top Applications by Traffic.

3.1.1.1.3 Viewing Status 3.1.1.1.3.1 System Resources The System Resources panel displays the overall conditions of device resources, including the CPU usage, memory usage, disk usage, number of sessions, number of online users, daily connection quality, number of ICS users over last 7 days, system time, and daily log summary. See the following figure.

www.sangfor.com

23

IAM 11.2 User Manual

Click

to set whether to enable automatic refresh and the automatic refresh interval. See the

following figure.

Click Internal Report Center to access the homepage of the data center embedded in the device and perform operations such as log query and measurement.

3.1.1.1.3.2 Throughput on ALL WAN Interfaces The Throughput on ALL WAN Interfaces panel displays the real-time conditions of data received and transmitted on interfaces in a curve. See the following figure.

Click

. The following figure is displayed. www.sangfor.com

24

IAM 11.2 User Manual

You can set Period to display the data forwarding conditions of interfaces at a specific time. Data Unit specifies the unit of traffic and Interface specifies the interface whose data forwarding conditions are to be displayed.

3.1.1.1.3.3 Web-Access Connection Quality The Web-Access Connection Quality panel displays the network quality information monitored by the device, as shown in the following figure.

www.sangfor.com

25

IAM 11.2 User Manual

Click

and set the quality criteria.

The navigation path is Dashboard > Web-Access Connection Quality. For details, see section 3.2.1.3.

3.1.1.1.3.4 Top Applications by Traffic The Top Applications by Traffic panel displays the top 10 applications by traffic. You can rank the applications by outbound traffic, inbound traffic, or bidirectional traffic.

Click

to set the automatic refresh time. Set the username and application type to view details

about the user that uses the application.

3.1.1.1.3.5 Top Users by Traffic The Top Users by Traffic panel displays the top 10 users by traffic. You can rank the users by www.sangfor.com

26

IAM 11.2 User Manual

outbound traffic, inbound traffic, or session quantity. Specifically, click Outbound to rank users by outbound traffic or Inbound to rank users by inbound traffic.

Click

to set the automatic refresh time. Set the username to view details about the applications

used by the user.

3.1.1.1.3.6 Application Bandwidth Distribution The Application Bandwidth Distribution panel displays the Application Bandwidth Distribution dynamically in different colors. See the following figure.

Click

. The following figure is displayed.

www.sangfor.com

27

IAM 11.2 User Manual

Set the traffic rate unit in Data Unit, select All Lines, Line 1, or Line 2 in Line, and Bidirectional, Outbound, or Inbound in Type.

3.1.1.1.3.7 Network Interface The Network Interface panel displays the status, cable connection, real-time transmitted and received traffic of each network interface. See the following figure.

indicates that a network interface is in the connected state, and interface is in the disconnected state. Click

indicates that a network

to set the automatic refresh interval.

3.1.1.1.3.8 Security Events The Security Events panel displays the number of times that insecure behaviors are detected. See the

www.sangfor.com

28

IAM 11.2 User Manual

following figure.

Click

to set the automatic refresh interval.

3.1.1.1.3.9 Internet Activities The Internet Activities panel displays real-time information about online behaviors of users. See the following figure.

Click

to set the automatic refresh interval.

3.1.1.2 Online users 3.1.1.2.1 Viewing Online Users The Online Users panel displays authenticated users that are online. See the following figure.

www.sangfor.com

29

IAM 11.2 User Manual

The displayed information includes the username, group, IP address, endpoint device, Auth Method, logged in time or locked time, online duration, and operation to be performed. On the User Group panel, enter a keyword in the Search box to query online users of the corresponding user group. On the Online Users panel, you can search users by name or IP address. See the following figure.

3.1.1.2.2 Filtering Online Users Click Filter to specify the conditions for filtering users. See the following figure.

www.sangfor.com

30

IAM 11.2 User Manual

Status can be set to All, Locked users or Active users. Endpoint Device can be set to All, Mobile Device, PC, and Mobile Device & PC. After selecting the Objects check box, you can filter users by username or IP address. After setting the username or IP address, click Commit.

3.1.1.2.3 Locked Users Select one or more users and click Lock to end the network connections of the selected users. The procedure is as follows:

Select a user.

Click Lock or

in the Operation column. The page shown in the following figure is displayed.

After setting the Lockout Period, click Commit. The status of the locked user changes, as shown in the following figure.

3.1.1.2.4 Unlocking Online Users The procedure for unlocking a user is as follows: Select a locked user.

Click Unlock or the

icon in the Operation column.

3.1.1.2.5 Forcibly Logging Out Online Users The administrator can forcibly log out online users, excluding temporary users, USB Key users, and those that do not require authentication. If the administrator attempts to forcibly log out a www.sangfor.com

31

IAM 11.2 User Manual

temporary user, a USB KEY user, or a user that does not require authentication, the prompt shown in the following figure is displayed.

Password-authenticated users and Single Sign-On (SSO) users can be forcibly logged out. The procedure is as follows: Select a user.

Click LogOut. The prompt shown in the following figure is displayed.

Click Yes to log out the user.

3.1.1.3 Connection Quality The Web-Access Connection Quality panel displays the network quality information about visited websites. Quality evaluation is performed for all IP addresses used for Internet access. The evaluation results fall into two categories: excellent and poor. If the quality evaluation result is poor, the device provides analysis suggestions on potential problems. The device also provides the detection function for a single user. If a problem cannot be solved based on the overall network quality evaluation result, the device can perform detection for a single user, thereby providing more accurate data statistics. See the following figure.

www.sangfor.com

32

IAM 11.2 User Manual

3.1.1.3.1 Monitoring Summary You can view the current network quality monitoring status, recent network quality, current network quality, and network diagnosis result. Select Enable Web-Access Connection Quality Monitor, and click Yes in the displayed dialog box.

Click

and set the quality criteria. www.sangfor.com

33

IAM 11.2 User Manual

Real-time quality (5 minutes): recorded every 5 minutes. By default, there are three quality levels: excellent, good, and poor. You can define the quality levels in percentage. When the number of active users is less than N, network quality is not detected. The user quantity is 10 by default and the value range is 1–100. When the accumulated time of poor network quality exceeds N minutes in a day, the network quality is considered poor. This time is 30 minutes by default and the value range is 10–300 minutes. You can set a time period in Date to view the network quality conditions in a week. You can set a website to be monitored in Website. By default, Website is set to All Websites. A maximum of three monitoring object list can be defined. Each list contains a maximum of 100 domain names. Click Custom Website List to change monitoring websites.

Click Settings to edit a website list.

www.sangfor.com

34

IAM 11.2 User Manual

Hover over the waveform and a popup menu is displayed, in which you can view network quality details. When the network quality level is poor, you can click View to view the list of users with a low Internet access speed.

www.sangfor.com

35

IAM 11.2 User Manual

The horizontal coordinate indicates the time and is marked at 5-minute intervals. Each scale point shows the user information summary of the previous 5 minutes. For example, scale point 00:05 shows the information summary of 00:00–00:05. The vertical coordinate indicates the number of online users, which is the sum of the number of users with excellent network quality and the number of users with poor network quality. Hover over the waveform to view the number of users with a high Internet access speed and the number of users with a low Internet access speed.

The Assessment panel displays network quality details, including multiple possible causes of poor network quality.

The possible causes and handling suggestions are listed as follows: 1.

Traffic control is disabled.

2.

Bandwidth resources are insufficient (if Hypertext Transfer Protocol (HTTP) traffic occupies 90%

www.sangfor.com

36

IAM 11.2 User Manual

of the bandwidth resources for 10 consecutive minutes in a day). 3.

P2P traffic preempts bandwidth resources and rate limiting is recommended (if P2P traffic occupies 90% of the bandwidth resources for 10 consecutive minutes in a day).

4.

It is recommended that QoS-guaranteed channels be established (if the packet loss rate exceeds 10% and no QoS-guaranteed channel is established).

5.

In policy xxx, the limited traffic rate is too low.

6.

In policy xxx, the limited connection quantity is too small.

7.

The PPS bursts at a time today.

8.

Domain name service (DNS) configuration errors exist.

9.

An internal or external performance bottleneck prompt is displayed.

3.1.1.3.2 User-Based Detection Network quality detection can be performed for a single user to provide more accurate and detailed data analysis results.

For example, if user A is found in the list of users with a low Internet access speed, you can click User-Based Detection and enter the username or IP address in User, or click Select User and select the user in the organization structure shown in the following figure.

www.sangfor.com

37

IAM 11.2 User Manual

Click OK. Then click Settings in Address to set a monitoring address.

www.sangfor.com

38

IAM 11.2 User Manual

In Redirection at Client Side, select Redirect browser on visit to www.baidu.com or Redirect browser for any Web access request. In Address, select Use address in built-in database or Specified. Click OK. Then click Start. The following takes www.google.com as an example.

When you access www. google.com, the access request is redirected to the test page.

www.sangfor.com

39

IAM 11.2 User Manual

After you click Start Test, the device starts to test the network quality and the test progress is displayed.

A message indicating detection in progress is displayed on the administrator page.

After the detection is complete, the following page is displayed:

The detection results are displayed on the administrator page.

3.1.1.4 Traffic Statistics The Traffic Statistics panel displays traffic information about online users and applications, status

www.sangfor.com

40

IAM 11.2 User Manual

information about traffic management channels, and connection monitoring information.

3.1.1.4.1 Top Users by Traffic 3.1.1.4.1.1 Viewing User Rankings The Top Users by Traffic panel displays the bandwidth usage of online users. See the following figure.

As shown in the preceding figure, you can rank users by the outbound or inbound traffic rate. The displayed information includes the username, group, outbound and inbound traffic rates, bidirectional traffic, number of sessions, locking status, button for obtaining the machine name, and traffic details. In the Lock column, click

to restrict a user from Internet access. In the Obtain

column, click Obtain to obtain the computer name of the corresponding user. In the Top Apps column, click an application to display the traffic information about the user.

Click Auto Refresh: 5 seconds to set the refresh interval. Click Refresh to refresh the information immediately.

3.1.1.4.1.2 Filtering Users Click Filter to specify the conditions for filtering users by traffic. Set the line and application in the Type pane. See the following figure.

Line specifies the line to be viewed and App Category specifies the application to be viewed. After setting the line and application, click Commit. The page shown in the following figure is displayed.

www.sangfor.com

41

IAM 11.2 User Manual

You can choose to display all applications, selected applications and unselected applications. The selected applications are displayed in the right pane. Click OK to save the settings. You can set the specific user or IP address in the Objects pane. See the following figure.

www.sangfor.com

42

IAM 11.2 User Manual

In the Objects pane, the User Group Filter, Username and IP address option buttons are mutually exclusive. Below Group Filter, the slash (/) indicates all groups. After you click Select, the page shown in the following figure is displayed.

www.sangfor.com

43

IAM 11.2 User Manual

Select a group to be viewed or enter a group name and click OK. In the Show pane, you can set the number of displayed users ranked by traffic. See the following figure.

3.1.1.4.1.3 Locked Users You can end a user connection by locking the user and then this user cannot access the Internet within a period of time. Specifically, select a user in Top Users by Traffic, click Lock and set the lockout period, in minutes. See the following figure.

3.1.1.4.1.4 Unlock Users To unlock a user, click Unlock Users. The Online Users page is displayed. See the following figure.

In the user list, select the user to be unlocked and click Unlock.

3.1.1.4.2 Top Apps by Traffic 3.1.1.4.2.1 Viewing Application Rankings The Top Applications by Traffic panel displays rankings of applications by traffic in real time. See the following figure.

As shown in the preceding figure, you can filter applications by bandwidth. The displayed information www.sangfor.com

44

IAM 11.2 User Manual

includes the application type, outbound and inbound traffic rates, bidirectional traffic, line, occupied bandwidth in percentage, and user details about the application. Click a user in the Top User column, information about users of this type of application is displayed, including the username, group, IP address, upload rate, download rate, and total rate. See the following figure.

Click Auto Refresh: 5 seconds to set the refresh interval. Click Refresh to refresh the information immediately.

3.1.1.4.2.2 Top Applications by Traffic Click Filter to specify the conditions for filtering applications. See the following figure.

In the Objects pane, set the line and user group. In Show, set the number of displayed applications ranked by traffic. Then click Commit.

www.sangfor.com

45

IAM 11.2 User Manual

3.1.1.4.3 Flow Control The Flow Control panel displays real-time traffic information about channels for which traffic management is enabled. See the following figure.

Click Auto Refresh: 5 seconds to set the refresh interval. Click Refresh to refresh the information immediately. BM System Status in the upper part of the Flow Control panel indicates whether the bandwidth management system is started. You can view real-time traffic information about channels only when the bandwidth management system is in the Running state. Click Bandwidth Management to access the Bandwidth Management page.

3.1.1.4.3.1 Viewing WAN Link Speed

The WAN Link Speed pane displays the overall traffic conditions, including the transient speed, historical speed, preset speed, percentage, and historical traffic of each line and the main line.

3.1.1.4.3.2 Viewing Bandwidth Channel The Bandwidth Channel tab page displays the traffic information about channels. See the following figure.

The displayed information includes the channel name, line, real-time speed, percent, user quantity, minimum bandwidth, maximum bandwidth, priority, and status. You can choose to display the traffic history within a certain period of time. Select All channels or Operating channels from the View drop-down list.

www.sangfor.com

46

IAM 11.2 User Manual

3.1.1.4.3.3 Viewing Exclusion Rule The Exclusion Rules tab page displays the traffic information filtered out by the exclusion rule. See the following figure.

3.1.1.4.4 Connection The Connection panel displays information about active connections of specified users or IP addresses. You can query the information by IP address or username. See the following figure.

3.1.1.4.4.1 Search by IP Address By default, connection information is queried by IP address. For example, enter 192.168.19.14 and click

. The page shown in the following figure is displayed.

You can view the information about connections of the entered IP address, including the source IP address, destination IP address, protocol, application type, application name, and direction.

3.1.1.4.4.2 Search by Username Click Search by Username to query connection information by username. See the following figure.

3.1.1.5 Internet Activities 3.1.1.5.1 Viewing Internet Activities The Internet Activities panel displays information about recent online behaviors of users. See the

www.sangfor.com

47

IAM 11.2 User Manual

following figure.

You can view the online behaviors, access time, IP address, application type, application name, and details.

3.1.1.5.2 Filtering Internet Activities Click Filter to specify the conditions for filtering online behaviors. See the following figure.

In the Type pane, set the users whose online behaviors are to be viewed. You can select any of User Group, Username, and IP address. In the Objects pane, set the network behaviors to be viewed. The available options include Search Term, Forum and Microblog, Emails, Outgoing File, IM Chats, Websites Browsing, and Others. In Action, set the actions to be viewed. The available options include Reject and Log. www.sangfor.com

48

IAM 11.2 User Manual

3.1.1.6 Locked Users 3.1.1.6.1 Viewing the Locked Users The Locked Users panel displays the users that are recently locked. See the following figure.

The displayed information includes the locked details, operation, locked time, IP address, violation type, and remaining time. Select a locked user and click Unlock to relieve the user. Click Unlock All to relieve all users.

3.1.1.6.2 Filtering Locked Users Click Filter to specify the punishment conditions. See the following figure.

www.sangfor.com

49

IAM 11.2 User Manual

In the Objects pane, set the users to be filtered. You can select any of User Group, Username, and IP address.

3.1.1.7 DHCP Status The DHCP Status panel displays the DHCP assignment conditions after DHCP is enabled. See the following figure.

www.sangfor.com

50

IAM 11.2 User Manual

The displayed information includes the current DHCP status, allocated IP address, computer name, Media Access Control (MAC) address, lease date, and lease term.

3.1.1.8 Security Events The Security Events panel displays detected insecure behaviors. See the following figure.

The insecure behavior types include Virus, DoS and ARP attack, and External line. The number of occurrence times, last occurrence time, username and IP address of the last insecure behavior, latest 10 insecure behavior logs, and details. Click a numerical value of occurrence times to link to the data center and view detailed logs.

3.1.2 Firewall The Firewall page contains four panels: Firewall Rules, IPv4 SNAT, IPv4 DNAT and IPv6 NAT. On the Firewall Rules, you can set specific rules to filter the data forwarded between different interfaces of the device. Filtering conditions include the destination protocol and port, source IP address, destination IP address, and time. On the IPv4 SNAT panel, you can set source network address translation (SNAT) rules for Internet access of intranet users or for other Source NAT purposes. On the IPv4 DNAT panel, you can publish intranet servers to the public network and destination network address translation (DNAT) rules need to be set for Destination NAT. The NAT settings apply only when the device is deployed in route mode.

3.1.2.1 Firewall Rules You can set specific rules to filter the data forwarded between different interfaces of the device. Filtering conditions include the destination protocol and port, source IP address, destination IP address, and time. The Firewall Rules panel is shown in the following figure. In Direction, set the direction to which a filtering rule applies, which can be LAN<->DMZ, DMZ<->WAN, WAN<->LAN, LAN<->LAN, DMZ<->DMZ, VPN<->WAN, or VPN<->LAN. After selecting a filtering direction, you can manage Firewall Rules on the right pane, including deleting or adding Firewall Rules.

www.sangfor.com

51

IAM 11.2 User Manual

For example, internal web servers are connected to the demilitarized zone (DMZ) of the device and common internal users are connected to the local area network (LAN) zone. For server security purposes, users in the LAN zone can access only Transmission Control Protocol (TCP) port 80 (web service) of the servers in the DMZ and other data is not allowed to be forwarded to the DMZ. In this case, Firewall Rules between the LAN zone and DMZ need to be set. The procedure is as follows: 1. Select LAN<->DMZ in Firewall Rules. In the LAN<->DMZ pane, click Add. The following objects are referenced: network services, IP groups, and schedule groups. For details about these objects, see sections 3.3.6 through 3.3.9. 2. Enter the rule name in Name and priority value in Priority No. The priority value specifies the priority of the rule. A smaller priority value indicates a higher priority. Enter the description of this rule in Description. 3. Set a rule to allow HTTP packets from the LAN zone to the DMZ. Specifically, select Allow from Action, HTTP from Service, and All from Source and Destination or enter an IP group. Select All Day from Schedule and specify a time period. Select LAN->DMZ from Data Flow. See the following figure.

www.sangfor.com

52

IAM 11.2 User Manual

After the filtering rule is set, HTTP packets are allowed and other data is rejected by default.

4. Modify the filtering rule if required. Select the filtering rule and click Delete to delete the rule. Click Enable to enable the filtering rule. Click Disable to disable the filtering rule. Click Move Up or Move Down to change the priority of the filtering rule. A filtering rule with a smaller priority value will be preferentially matched. To edit a rule, click the name of the rule and then edit the rule in the displayed dialog box.

3.1.2.2 IPv4 SNAT On the IPv4 SNAT panel, you can set SNAT rules for translating source IP addresses of data that meets the specified conditions and is forwarded by the device. For example, when the device operates in route mode, it serves as a proxy to implement Internet access of intranet users and SNAT rules need to be set for translating source IP addresses. You can manage SNAT rules, including adding and deleting SNAT rules. See the following figure.

Example 1: A network segment 192.168.1.0/255.255.255.0 exists on the intranet of the customer. The device is deployed in route mode and connected to two public network lines. The device is required to implement Internet access for intranet users. 1. On IPv4 SNAT, click Add. In the dialog box shown in the following figure, select Enabled and enter a rule name in Name.

www.sangfor.com

53

IAM 11.2 User Manual

2. In WAN Interface, set a WAN interface used for data forwarding. This rule will be matched only when data is forwarded to the specified network interface. In this example, the device needs to forward the data from two WAN interfaces. Therefore, select All WAN interfaces. See the following figure.

3. In Source Address, set the source IP address for which SNAT is to be performed. If All is selected, the source IP address is not restricted. If Specified is selected, this rule will be matched only if the source IP address meets the conditions. In this example, the device implements Internet access for users on the network segment 192.168.1.0/255.255.255.0. Therefore, specify the network segment 192.168.1.0/255.255.255.0 in Specified.

4. In Mapped Src IP, set the range of IP addresses to which source IP addresses of data meeting the conditions are translated. If WAN interface IP is selected, source IP addresses will be translated into the IP address of the WAN interface specified in step 2. If Specified IP is selected, source IP addresses will be translated into the specified IP addresses. Click Advanced to set more specific matching conditions, including the destination IP address translation condition and protocol conversion condition. These two conditions are not set in this example.

www.sangfor.com

54

IAM 11.2 User Manual

5. Modify the IPv4 SNAT rule if required. Select the rule and click Delete to delete the rule. Click Enable to enable the rule. Click Disable to disable the rule. Click Move Up or Move Down to change the priority of the rule. A rule with a smaller priority value will be preferentially matched. To edit a rule, click the name of the rule and then edit the rule in the displayed dialog box. 6. Add a filtering rule to allow data from the LAN to the wide area network (WAN). For details, see section 3.2.2.1. Example 2: The device operates in route mode. There are two external network lines: a telecom line and an education network line. According to the customer's requirements, when a computer on internal network segment 192.168.1.0/255.255.255.0 accesses service port 80 on network segment 202.3.3.0/255.255.255.0 of the education network, the source IP address of the computer will be translated to the IP address of WAN1 interface, which is 202.96.1.1. 1. Add two IP groups: education network segment and internal network segment. The following figure shows an example of defining IP group “Education Network Segment ".

www.sangfor.com

55

IAM 11.2 User Manual

2. Set the Policy-Based Routing. The device routes data from the internal network segment to the education network segment over WAN1 (Education Network Line) based on the specified Policy-Based Routing. For details, see section 3.2.3.4.

2. On IPv4 SNAT, click Add. In the dialog box shown in the following figure, select Enabled and enter a rule name in Name.

www.sangfor.com

56

IAM 11.2 User Manual

3. In WAN interface, set a WAN interface used for data forwarding. In this example, address translation is performed for data forwarded over WAN1. Therefore, select WAN1 from Interface.

4. In Source Address, set the source IP address for which SNAT is to be performed. In this example, the network segment is 192.168.1.0/255.255.255.0. Therefore, select Specified and set the source IP address segment.

5. In Mapped Src IP, set the range of IP addresses to which source IP addresses of data meeting the conditions are translated. In this example, source IP addresses will be translated to the IP address of WAN1, which is 202.96.1.1. Therefore, select Specified IP and set the IP address.

www.sangfor.com

57

IAM 11.2 User Manual

6. In this example, destination IP addresses and ports need to be matched. According to the requirement of translating source IP addresses for access requests to service port 80 on education network segment 202.3.3.0/255.255.255.0, click Advanced and set the destination IP address translation and protocol conversion conditions. See the following figure.

7. Modify the IPv4 SNAT rule if required. Select the rule and click Delete to delete the rule. Click Enable to enable the rule. Click Disable to disable the rule. Click Move Up or Move Down to change the priority of the rule. A rule with a smaller priority value will be preferentially matched. To edit a rule, click the name of the rule and then edit the rule in the displayed dialog box. 8. Add a filtering rule to allow data from the LAN to the wide area network (WAN). For details, see section 3.2.2.1.

www.sangfor.com

58

IAM 11.2 User Manual

The NAT settings apply only when the device is deployed in route mode.

3.1.2.3 IPv4 DNAT On the IPv4 DNAT panel, you can configure the device to perform DNAT for data. For example, publish an intranet server and map the services of this server to the public network so that Internet users can access these services. See the following figure.

Example 1: An intranet server 192.168.1.2 provides HTTP services. There are two public network lines on the device. The customer requires that Internet users can access the HTTP services provided by the intranet server over either public network line. 1. On the IPv4 DNAT panel, click Add and select Basic Rule or Advanced Rule, as shown in the following figure.

The Basic Rule option is used to set a simple IPv4 DNAT rule for which only necessary conditions need to be set, whereas the Advanced Rule option applies to complex IPv4 DNAT requirements. In this example, select Basic Rule. In the displayed dialog box, select Enabled and set the rule name.

2. In Protocol, set the data conditions of this DNAT rule and the destination IP address and port. In Protocol, select the type of protocol data for which IPv4 DNAT needs to be performed. In Dst Port, www.sangfor.com

59

IAM 11.2 User Manual

set a destination port. In this example, NAT needs to be performed for HTTP service access data. Therefore, select TCP from Protocol and set Dst Port to 80. Set the IP address to which the destination IP address will be translated in Mapped IP Address, and the port to which the destination port will be converted in Mapped to Port. In this example, the destination IP addresses of access data to service port 80 will be translated to 192.168.1.2. See the following figure.

Select Allow, and TCP port 80 access data in six directions will be allowed: LAN<->WAN, DMZ<->WAN, and LAN<->DMZ. 3. Modify the IPv4 DNAT rule if required. Select the rule and click Delete to delete the rule. Click Enable to enable the rule. Click Disable to disable the rule. Click Move Up or Move Down to change the priority of the rule. A rule with a smaller priority value will be preferentially matched. To edit a rule, click the name of the rule and then edit the rule in the displayed dialog box. Example 2: A server with the IP address 192.168.1.80 exists on the intranet. The device operates in route mode. WAN1 connects to the intranet through a fiber. A public network IP address 202.96.137.89 exists and the domain name is www.sangfor.com. A DNAT IPv4 DNAT rule needs to be configured to publish the intranet server to the public network so that users on the LAN (192.168.1.0/255.255.255.0, connected to the LAN interface) can access 192.168.1.80 by visiting the domain name www.sangfor.com. 1. On the IPv4 DNAT panel, click Add and select Advanced Rule. On the displayed IPv4 DNAT page, www.sangfor.com

60

IAM 11.2 User Manual

select Enabled and set the rule name.

2. In WAN interface, set a WAN interface and DNAT will be performed for the data forwarded over this WAN interface to the device. In this example, the public network IP address corresponding to the domain name www.sangfor.com is the IP address of WAN1. Therefore, select WAN1.

3. In Source Address, set the source IP address in the DNAT rule. In this example, the intranet server is mapped to the public network and the public network IP address is not fixed. Therefore, select All.

4. In Destination Address, set the destination IP address in the DNAT rule. In this example, DNAT is performed for access requests to the IP address of WAN1. Therefore, select Specified interface IP and WAN1.

www.sangfor.com

61

IAM 11.2 User Manual

5. In Protocol, set the protocol and port for DNAT. In this example, DNAT is performed for access requests to service port 80. Therefore, select All in Src Port as the source port is usually random.

6. In Mapped IP, set the IP address to which the IP addresses of data meeting the conditions are translated. In this example, the IP address of the destination server is 192.168.1.80. Therefore, select Specified IP and enter 192.168.1.80.

7. In Mapped Port, set the port to which the ports of access requests meeting the conditions are

www.sangfor.com

62

IAM 11.2 User Manual

converted. In this example, the port of the destination server 192.168.1.80 is 80. Therefore, select Specified and enter 80.

8. Select Allow firewall automatically allows data, and TCP port 80 access data in six directions will be allowed: LAN<->WAN, DMZ<->WAN, and LAN<->DMZ. LAN server accessible to internal user on WAN IP needs to be selected when intranet users need to access a server on the same network segment by using public network IP addresses. After this option is selected, the source IP addresses of data from the intranet are translated into the corresponding interface IP address of the device. Intranet users cannot access this server by using public network IP addresses. The device will automatically create an SNAT rule for source IP address translation. In this example, users on the LAN need to access a server on this LAN by using public network IP addresses. Therefore, select 192.168.20.1 (LAN).

9. Modify the IPv4 DNAT rule if required. Select the rule and click Delete to delete the rule. Click Enable to enable the rule. Click Disable to disable the rule. Click Move Up or Move Down to change the priority of the rule. A rule with a smaller priority value will be preferentially matched. To edit a rule, click the name of the rule and then edit the rule in the displayed dialog box.

The IPv4 DNAT settings apply only when the device is deployed in route mode.

3.1.2.4 IPv6 NAT On the IPv6 NAT panel, you can set source and destination IPv6 NAT. Source NAT involves translating the source IP addresses of data that meets the conditions and is forwarded by the device. Destination NAT involves translating the destination IP addresses of data meeting the conditions. You can manage source IPv6 NAT rules, including adding and deleting rules. See the following figure.

www.sangfor.com

63

IAM 11.2 User Manual

Example 1: The customer has obtained an IP address prefixed 2000::/64 from carrier A and assigned this IP address to a PC on the intranet. The customer then switches to carrier B and is assigned an IP address prefixed 3000::/64. The customer does not want to modify the internal IP address structure. IPv6 NAT is therefore required. 1. Click Add and select Source NAT. See the following figure.

Name: Enter the rule name. Description: Enter the description of this rule. Source: Select an internal network interface of the source zone from Interface and enter the prefix of an internal IPv6 address in IP Addr/Prefix, for example, 2000::/64. Destination: Select a network interface of the destination zone for data forwarding. Source NAT: Set the range of IPv6 addresses to which source IP addresses of data meeting the conditions are translated. In this example, source IP addresses will be translated to 3000::/64. 2. Click Add and select Destination NAT. See the following figure.

www.sangfor.com

64

IAM 11.2 User Manual

Name: Enter the rule name. Description: Enter the description of this rule. Source: Select a WAN interface of the source zone from Interface and enter the prefix of an internal IPv6 address in IP Addr/Prefix, for example, 3000::/64. Destination: Enter the IP Addr/Prefix of the destination address. Destination NAT: Set the range of IPv6 addresses to which destination IP addresses of data meeting the conditions are translated. In this example, destination IP addresses will be translated to 2000::/64. See the following figure.

3.1.3 Network 3.1.3.1 Deployment On the Deployment Mode panel, you can set the operating mode of the device to route, single arm,

www.sangfor.com

65

IAM 11.2 User Manual

bridge, or bypass. Select an appropriate deployment mode so that the device can be smoothly deployed on the network and operate properly. Route mode: In this mode, the device functions as a router, the network structure is modified to a large extent, but all functions of the device can be implemented. Single arm mode: The device functions as a proxy server and proxies internal users’ access to the Internet. In this mode, most features of the device can be implemented and no change will be made to the network topology. Bridge mode: The device is considered a network line with the filtering function. This mode is usually enabled when the original network structure cannot be modified. In bridge mode, the device is smoothly deployed on the network and most functions of the device can be implemented. Bypass mode: The device is connected to the mirrored port of the intranet switch or to a hub. The device monitors and controls Internet access data on the intranet based on mirrored data without modifying the network environment and causing network interruption. In bypass mode, some functions of the device cannot be implemented due to poor controllability. In the navigation area, choose Network > Deployment. The Deployment pane is displayed on the right. Click Settings and three deployment modes are displayed: route, bridge, and bypass. Select a deployment mode for the device.

Before deploying the device on the network, you are advised to configure information including the deployment mode, interfaces, routes, and users of the device. The default IP addresses of interfaces

www.sangfor.com

66

IAM 11.2 User Manual

of the device are listed in the table below. Interface

IAM

ETH0 (LAN)

10.251.251.251/24

ETH1 (DMZ)

10.252.252.252/24

ETH2 (WAN1)

200.200.65.61/22

3.1.3.1.1 Route mode In route mode, the device functions as a router. The device is typically deployed at the egress of the intranet or behind a router to implement Internet access for the LAN. The following figure shows a typical deployment scenario.

Example: The customer's network covers L3. The device functions as a gateway to implement Internet access for intranet users. A public network line (fiber) is available and assigned a fixed IP address.

www.sangfor.com

67

IAM 11.2 User Manual

1. Configure the device and log in to the device by using the default IP address. For example, to log in by using the LAN interface, whose default IP address is 10.251.251.251/24, configure an IP address on this network segment on the PC and log in to the device by accessing http://10.251.251.251. The default login username and password are both admin. 2. In navigation area, choose System > Network > Deployment. On the Deployment pane on the right, click Settings. On the page shown in the following figure, select the route mode and click Next.

3. Define a LAN interface and a WAN interface. Specifically, select an idle network interface and click www.sangfor.com

68

IAM 11.2 User Manual

Add to move it to the corresponding network interface list. LAN interface list: A network interface added to the LAN interface list serves as an internal network interface and needs to be connected to the internal network. WAN interface list: A network interface added to the WAN interface list serves as a WAN interface and needs to be connected to the external network. If multiple WAN interfaces are required, apply for multi-line authorization. DMZ interface list: A network interface added to the DMZ interface list serves as an internal network interface. Important servers can be connected to the DMZ and the firewall settings on the device can restrict the access of intranet users, thereby ensuring the security of the servers. For details about firewall settings, see section 3.2.2. The default LAN interface is eth0, the default DMZ interface is eth1, and the default WAN interface is eth2. It is recommended that the positions of these network interfaces not be modified and conform to the device panel. Other idle network interfaces can be added to any interface list.

4. Click Next and configure the IP address of the LAN interface. In this example, set the IP address of LAN interface eth0 to 192.168.20.1/255.255.255.0.

www.sangfor.com

69

IAM 11.2 User Manual

The current IAM version is compatible with IPv6. Therefore, IPv6 addresses can be configured for the network interfaces, gateway, and DNS. The following is an example of configuring IPv4 addresses. If virtual local area networks (VLANs) are divided on the switch and the LAN interface of the device is a trunk interface, VLAN needs to be enabled. In this example, an L3 switch is used and therefore VLAN does not need to be enabled. In IP Address, enter the ID and IP address of each VLAN. The IP address assigned to a VLAN must be idle. If VLAN 2 exists and resides on network segment 10.10.0.0/255.255.0.0, and IP address 10.10.0.1 is not used on the intranet, 2/10.10.0.1/255.255.0.0 can be entered in the IP address list. Add information about other VLANs one by one on different rows. 5. Configure WAN interface eth2. The WAN interface supports three modes: Auto assigned, Specified, and PPPoE. In this example, the public network line is an optical fiber and assigned a fixed public network IP address. Therefore, select Specified. If the public network IP address is automatically obtained over DHCP, select Auto assign. In this example, the public network IP address has been assigned. Therefore, enter the assigned public www.sangfor.com

70

IAM 11.2 User Manual

network IP address, gateway address, and DNS address.

If PPPoE is employed, connect the WAN interface to a modem. If Enable is selected in Auto Dial-up, automatic dialup is performed after the connection line is disconnected abnormally or the device is restarted. Enter the dialup account and password.

6. Configure DMZ interface eth1. Set the IP address and subnet mask.

www.sangfor.com

71

IAM 11.2 User Manual

7. Configure IPv4 SNAT rules. When the device functions as a gateway and directly connects to the public network line, proxy settings need to be completed on the device to implement Internet access for intranet users. Set the proxy network segment and select a WAN interface, which can be set to a single network interface or all network interfaces in the WAN interface list. A proxy rule is added in NAT on the page displayed after you choose System > Firewall > IPv4 SNAT. The rule name and IP address to which a source address is translated cannot be modified here. They can be modified on the IPv4 SNAT page. If Internet access needs to be achieved for users on another network segment through a proxy, add another IPv4 SNAT rule on IPv4 SNAT. For details, see section 3.2.2.2.

www.sangfor.com

72

IAM 11.2 User Manual

8. Confirm the configuration information and click Commit.

www.sangfor.com

73

IAM 11.2 User Manual

Restart the device for the configurations to take effect. In the displayed dialog box asking for your confirmation, click Yes.

9. In this example, the LAN interface is on a different network segment as that of the intranet and therefore a system route from the device to the intranet needs to be added. In the navigation area, choose Network > Static Routes. On the Static Routes pane on the right, click Add to add routes. For details, see section 3.2.3.3. If the intranet covers multiple network segments, add multiple system routes.

10. Add a user or user group or add a user authentication policy on Authentication Policy to avoid Internet access failures caused by the lack of identity authentication. 11. Connect the device to the network. Specifically, connect the WAN interface to the public network line and LAN interface to the intranet switch. Configure the route of the intranet switch to direct to the LAN interface of the device.

1. When the device operates in route mode, the gateway addresses of all PCs on the LAN point to the IP address of the LAN interface of the device, or to the L3 switch, of which the gateway address points to the device. The device performs NAT for Internet access data or forwards the data. 2. The IP addresses of the WAN, LAN, and DMZ interfaces must be on different network segments. 3. After an 802.1q-VLAN address is configured for the LAN interface, the LAN interface can connect to the trunk interface of an L2 switch that supports VLAN. The device (one-armed router) can then forwards data among VLANs and implement firewall rules between LANs. The device can implement

www.sangfor.com

74

IAM 11.2 User Manual

access control between different VLANs. 4. If the route mode is set to asymmetric digital subscriber line (ADSL) dialup, select PPPoE when setting the IP address of the WAN interface in step 5 and fill in the dialup account and password. Other operations are the same. 5. If a front-end device is configured, set the IP address of the WAN interface to be on the same network segment as the IP address of the LAN interface of the front-end device. Other operations are the same. If DHCP is enabled on the front-end device, configure the WAN interface to automatically obtain an IP address and ensure normal communication between the WAN interface and DHCP server.

3.1.3.1.2 Single Arm Mode In Single Arm mode, this unit is connected to a switch without changing the network topology, and thus has no impact on the network. This unit functions as a proxy server, controls and audits Internet access, since data go through it.

Take the following scenario for example. The unit is deployed in Single Arm mode and used to proxy, accelerate and control Internet access. The network topology is as shown below:

www.sangfor.com

75

IAM 11.2 User Manual

Perform the following steps: 1.

Add an IP address entry on PC, which resides on the network segment 10.251.251.251/24. Open web browser and enter IP address of IAM (http://10.251.251.251) into address bar to visit Web admin console of IAM. On the login page, log in to IAM console with the default account admin/admin.

2.

Navigate to System > Network > Deployment page. Click Settings, select Single Arm Mode and click Next.

www.sangfor.com

76

IAM 11.2 User Manual

www.sangfor.com

77

IAM 11.2 User Manual

3.

Select eth0 interface and configure IPv4 address, gateway and DNS server for the interface. IPv6 address is also supported in this mode. Then, click Next. (In this example, eth0 interface of the unit should be connected to the switch)

4.

Select an available interface as Manage Interface and configure an IPv4 address for the interface (IPv6 address is also supported). Default Mange interface is eth1, through which users can connect to this unit. After configuring Manage interface, click Next.

www.sangfor.com

78

IAM 11.2 User Manual

5.

Make sure the network settings are correct. Then, click Commit.

Clicks Commit, and the following dialog pops up to notify you that applying the settings requires www.sangfor.com

79

IAM 11.2 User Manual

restarting the device. To apply the changes, click Yes.

3.1.3.1.3 Bridge Mode In bridge mode, the device is considered a network line with the filtering function. This mode is usually enabled when the original network structure cannot be modified. Deploy the device between the original gateway and the intranet users. You only need to configure the device without modifying the configurations of the original network or intranet users. The device is invisible to the original network and intranet users, which is the characteristics of the bridge mode. Operating environment 1: The device functions as a bridge with one input and one output.

Operating environment 2: If Virtual Router Redundancy Protocol (VRRP) or Hot Standby Router Protocol (HSRP) is enabled on the intranet, the device can be deployed in multi-bridge mode to implement basic audit control functions without affecting Active-Standby handovers of the original firewalls. The following figure shows the two operating environments. www.sangfor.com

80

IAM 11.2 User Manual

Example: VRRP is enabled between the two firewalls and the switch. The virtual IP address of the firewalls is 192.168.1.1. The device is deployed between the switch and firewall as a bridge with two inputs and two outputs.

The procedure is as follows: 1. Configure the device and log in to the device by using the default IP address. For example, to log in by using the LAN interface, whose default IP address is 10.251.251.251/24, configure an IP address on this network segment on the PC and log in to the device by accessing http://10.251.251.251. The default login username and password are both admin. www.sangfor.com

81

IAM 11.2 User Manual

2. In navigation area, choose System > Network > Deployment. On the Deployment pane on the right, click Settings. On the page shown in the following figure, select the bridge mode and click Next.

3. Add a LAN interface and a WAN interface to form a bridge and configure two bridges. See the following figure.

LAN Interface: Select an internal network interface from LAN Interface. WAN Interfaces: Select a WAN interface from WAN Interface. Bridge: Bridges are defined in Bridge. Data can be forwarded between interfaces on a bridge and

www.sangfor.com

82

IAM 11.2 User Manual

cannot be forwarded between interfaces on different bridges. If Enable bridge state propagation is selected, when a network interface on a bridge changes from connected to disconnected or from disconnected to connected, the status of the other network interface changes accordingly. This ensures that the statuses of the two network interfaces on a bridge are synchronous. This function is used to notify the peer device that the link is faulty or resumes normal in a redundancy environment. It is recommended that this item be selected. 4. Set the bridge IP addresses.

Set two bridge IP addresses for the device. In this example, the two bridges are on different network segments. Assign two idle IP addresses as bridge IP addresses. VLAN data passes through the device. Therefore, VLAN information needs to be configured, including the VLAN ID, VLAN IP address (an idle IP address is assigned to each VLAN), and VLAN mask.

Network access data on the intranet will not be affected if no idle IP address is available. In this case, the device has no IP address for communication with the intranet and external network and some functions will be affected, such as embedded library update, web authentication, and Ingress. To solve this problem, connect the management interface to the intranet switch so that the device can communicate with the intranet and external network. The following will describe the configuration in details. When the device operates in bridge mode, the bridge IP address can be empty. The bridge IP addresses must be on different network segments and the VLAN IDs must be unique. www.sangfor.com

83

IAM 11.2 User Manual

5. Configure the management interface.

The management interface is in the DMZ. Select an idle network interface (not a bridge interface) as the management interface. 6. Configure the gateway address and DNS address.

Configure the default gateway and DNS address. In this example, two idle IP addresses are assigned as the bridge IP addresses. The default gateway points to the virtual IP address of the front-end

www.sangfor.com

84

IAM 11.2 User Manual

firewall. Set a public network IP address assigned by the carrier as the DNS address. Select Bypass firewall rule to enable the firewall rule that allows all data between the WAN and the LAN. 7. Confirm the configuration information and click Commit.

Restart the device for the configurations to take effect. In the displayed dialog box asking for your confirmation, click Yes.

8. Add a user or user group or add a user authentication policy on Authentication Policy to avoid Internet access failures caused by the lack of identity authentication. 9. Connect the device to the network. Specifically, connect WAN1 and WAN2 to FW1 and FW2 respectively, and LAN1 and LAN2 to the intranet switch.

1. When the device operates in bridge mode, the gateway addresses of all PCs on the LAN do not need to be modified. Retain the internal interface IP address that points to the front-end device. 2. During data penetration, ensure that the WAN connects to the front-end router and the LAN

www.sangfor.com

85

IAM 11.2 User Manual

connects to the intranet switch. In this way, online behaviors can be monitored and controlled when data is transmitted from the LAN to the WAN. 3. The bridge mode is implemented at the data link layer (the second layer of the OSI model). Several network interfaces of the device are bridged. The data at the data link layer and above layers can be penetrated. The IP/MAC address binding function and DHCP function enabled on the original gateway can be implemented with the support of the data penetration function at the data link layer. 4. The device does not provide the NAT function in bridge mode. 5. The VPN function of the device is unavailable in bridge mode. 6. To enable functions such as antivirus and mail filtering, or to enable the device to automatically upgrade the URL Database and enable applications to identify the rule library and antivirus library, you need to configure the bridge IP address, default gateway, and DNS and ensure that the device can access the external network. To check whether the device can access the external network, upgrade the console and perform a ping test. 7. If functions that need to be redirected to the device are required, such as web authentication and Ingress, and the intranet covers multiple network segments, enable indirect routes to the network segments of the intranet to direct to the routing device of the intranet. 8. In bridge mode, the device supports VLAN trunk penetration and 802.1q-VLAN addresses can be configured as bridge IP addresses. In other words, the device can be connected to the VLAN trunk in transparent mode.

3.1.3.1.4 Bypass Mode In bypass mode, the device provides monitoring and control functions without modifying the original network structure or causing network interruption. The device is connected to the mirrored port of the switch or to a hub to ensure that Internet access data of intranet users passes through this switch or hub, and both outbound and inbound data is mirrored, thereby implementing monitoring and control on Internet access data. In bypass mode, the network will not be interrupted even if the device breaks down. Typical application scenarios are shown in the figures below.

www.sangfor.com

86

IAM 11.2 User Manual

Example: The network topology is shown in the following figure. The device is to be deployed in bypass mode. The customer requires that Internet access data of all network segments on the intranet is under monitoring, that the device automatically updates the embedded rule library, that web authentication is performed for intranet users, and that the device console can be logged in from the intranet at any time for management. Based on the customer requirements and network topology, deploy the device in bypass mode so that it can communicate with both the external network and the intranet. However, the device cannot access networks over a mirrored port. To solve this problem, connect the management interface (DMZ interface) of the device to the intranet switch and assign an idle IP address for the device to communicate with the public network and intranet. Connect the DMZ to the intranet switch.

www.sangfor.com

87

IAM 11.2 User Manual

The procedure is as follows: 1. Configure the device and log in to the device by using the default IP address. For example, to log in by using the LAN interface, whose default IP address is 10.251.251.251/24, configure an IP address on this network segment on the PC and log in to the device by accessing http://10.251.251.251. The default login username and password are both admin. 2. In navigation area, choose System > Network > Deployment. On the Deployment pane on the right, click Settings. On the page shown in the following figure, select the bypass mode and click Next.

www.sangfor.com

88

IAM 11.2 User Manual

3. Configure the IP address of the management interface. In bypass mode, the default management interface is eth0, which can be modified.

IP Address: Enter the IP address assigned to the management device (DMZ interface) of the device. In this example, the DMZ interface needs to be connected to the intranet switch. Therefore, enter an IP address that can be used for communication with the switch and intranet. Default Gateway: Enter the IP address of the network interface of the switch connected to the DMZ interface. Enter idle public network IP addresses in Preferred DNS and Backup DNS. 4. Select a mirrored port and configure the monitoring network segments and server list. In Listened IP Address, enter the network segments to be monitored and the IP addresses to be excluded from monitoring. Enter the network segment 192.168.1.0/255.255.255.0 here. The access data from this network segment to other network segments will be monitored and access data within this network segment will not be monitored. An excluded network segment should be entered in a correct format. For example, if you enter -192.168.1.1-192.168.1.10, when IP addresses within the range 192.168.1.1-192.168.1.10 access other network segments (external network), the data will not be monitored. In Advanced, set the monitoring server list. If an IP address on a monitored network segment is accessed, the data will be monitored. For example, a web server exists on the intranet and the www.sangfor.com

89

IAM 11.2 User Manual

customer needs to record the data when intranet users access this web server. Data will not be monitored for access within a network segment. Therefore, add the IP address of this web server to the monitoring server list. Some TCP control functions can be implemented in bypass mode based on monitoring. In other words, only data that can be monitored can be controlled.

5. Confirm the configuration information and click Commit.

www.sangfor.com

90

IAM 11.2 User Manual

Restart the device for the configurations to take effect. In the displayed dialog box asking for your confirmation, click Yes.

1. The bypass mode applies when a hub is used or the switch as a mirrored port. If the switch does not have a mirrored port, a hub can be deployed before the switch. 2. In bypass mode, the traffic rankings and active connection rankings are displayed as invalid. 3. In bypass mode, TCP control is achieved by sending reset packets through the DMZ interface. Therefore, ensure that the reset packets sent through the DMZ interface can be received by PCs and public network servers. 4. Many functions cannot be implemented in by pass mode, such as VPN and DHCP functions. 5. In bypass mode, the device mainly implements the monitoring function and the control function is not as comprehensive as in route mode and bridge mode. Only TCP connections can be restricted, such as URL filtering, keyword filtering, and mail filtering. User Datagram Protocol (UDP) connections are not restricted, such as P2P connections. www.sangfor.com

91

IAM 11.2 User Manual

6. In bypass mode, the traffic diagrams are displayed only when the mirrored interface is a WAN interface. When a WAN interface is connected, there is only received traffic and no transmitted traffic.

3.1.3.2 Network Interface Configuration You can configure network interface information on the Interfaces page in route mode and bridge information in bridge mode.

3.1.3.2.1 Configuring Network Interfaces in Route mode In the navigation area, choose System Management > Network > Interfaces. The Interfaces pane is displayed on the right, as shown in the following figure.

Status: indicates the connection status and MTU of a network interface. interface and

indicates a connected

indicates a disconnected interface.

Physical Interface: indicates the corresponding physical interface on the device. Zone: indicates the logical interface area of a network interface. A LAN interface functions as an intranet interface and therefore needs to add to the LAN. A WAN interface functions as a WAN interface and needs to add to the WAN. If multiple WAN interfaces are required, apply for multi-line authorization. A DMZ interface functions as an intranet interface. Important servers can be connected to the DMZ and the firewall settings on the device can restrict the access of intranet users, thereby ensuring the security of the servers. For details about firewall settings, see section 3.2.2. Type: indicates the type of a network interface, which can be electrical or optical. IP Address: indicates the IP address of a network interface. MAC Address: indicates the address of the physical network adapter of a network interface. MTU: indicates the MTU of a network interface, which ranges from 700 to 1800. The MTU must be set to at least 1280 if IPv6 is enabled. otherwise, IPv6 addresses will be cleared.

www.sangfor.com

92

IAM 11.2 User Manual

Operating Mode: indicates the operating mode of the physical network adapter of a network interface.

Inbound: indicates the receiving rate of a network interface. Outbound: indicates the sending rate of a network interface. Dialup Log: indicates the dialup log information about a network interface. The procedure for configuring a network interface is as follows: On the Interfaces page, click the name of the physical interface. For example, to configure eth0 on the LAN, click eth0. The LAN Interface page is displayed, as shown in the following figure.

www.sangfor.com

93

IAM 11.2 User Manual

An IPv4 or IPv6 address can be configured for the network interface. In IP Address, enter the ID and IP address of each VLAN. The IP address assigned to a VLAN must be idle. If VLAN 2 exists and resides on network segment 10.10.0.0/255.255.0.0, and IP address 10.10.0.1 is not used on the intranet, 2/10.10.0.1/255.255.0.0 can be entered in the IP address list. Add information about other VLANs (802.1q) one by one on different rows. To configure eth2 on the WAN, click eth2 and the WAN Interface Configuration page is displayed.

www.sangfor.com

94

IAM 11.2 User Manual

If Specified is selected in Address, a fixed IP address assigned by the carrier can be configured for this network interface, or auto assign can be enabled, depending on the actual situation.

In PPPoE, Internet access is implemented through ADSL dialup. The dialup username and password www.sangfor.com

95

IAM 11.2 User Manual

are provided by the carrier. Click Advanced and configure dialup attributes in the displayed dialog box.

It is recommended that the handshake time be set to 20, timeout duration be set to 80, and maximum timeout times be set to 3. In Line Attribute, configure the outbound and inbound bandwidths.

3.1.3.2.2 Configuring Bridges in Multi-Bridge Mode In the navigation area, choose System > Network > Network Interface Configuration. The Interface pane is displayed on the right, as shown in the following figure.

Status: indicates the connection status and MTU of a network interface. interface and

indicates a connected

indicates a disconnected interface.

Interface: indicates the corresponding physical interface on the device. Zone: indicates the logical interface area: bridge or management interface. Type: indicates the type of a network interface, which can be electrical or optical. IP Address: indicates the IP address of a network interface. MAC Address: indicates the address of the physical network adapter of a network interface. MTU: indicates the MTU of a network interface, which ranges from 700 to 1800. The MTU must be set to at least 1280 if IPv6 is enabled. otherwise, IPv6 addresses will be cleared.

www.sangfor.com

96

IAM 11.2 User Manual

Operating Mode: indicates the operating mode of the physical network adapter of a network interface.

Inbound: indicates the receiving rate of a network interface. Outbound: indicates the sending rate of a network interface. To configure a bridge, click its name. The Bridge Configuration page shown in the following figure is displayed. To change the IP address of the default gateway, change it to another IP address on the same segment. Otherwise, you need to change it on the Deployment page.

www.sangfor.com

97

IAM 11.2 User Manual

An IPv4 or IPv6 address can be configured for the bridge. In IP Address, enter the ID and IP address of each VLAN. The IP address assigned to a VLAN must be idle. If VLAN 2 exists and resides on network segment 10.10.0.0/255.255.0.0, and IP address 10.10.0.1 is not used on the intranet, 2/10.10.0.1/255.255.0.0 can be entered in the IP address list. Add information about other VLANs (802.1q) one by one on different rows. In bridge mode, you can define the management interface. Click Interfaces. On the MANAGE Interface page, set the IP address, which can be an IPv4 or IPv6 address.

www.sangfor.com

98

IAM 11.2 User Manual

3.1.3.3 Static Routes On the Static Routes pane, you can set static routing policies. When the device needs to communicate with IP addresses on different network segments, static routes must be configured. IPv4 and IPv6 static routes can be added. In the navigation area, choose System > Network > Static Route. The Static Route pane is displayed on the right, as shown in the following figure.

The following describes an application scenario of IPv4 static routes. On the customer's network, the device functions as a gateway in route mode. The IP address of the LAN interface is 192.168.1.12/255.255.255.0 and PCs on the intranet are on network segment 192.168.2.0/255.255.255.0. An L3 switch is deployed between PCs on the intranet and the device. When a PC on the intranet accesses the Internet, the data is forwarded to the device by the L3 switch. However, when the device forwards data to the PC, the destination is unclear because the IP address of the PC is on another network segment. As a result, Internet access failure occurs. To solve this www.sangfor.com

99

IAM 11.2 User Manual

problem, a static route needs to be set for forwarding the data destined for network segments on the intranet to the L3 switch and the L3 switch will forward the data to corresponding PCs on the intranet.

Click Add. The Static Route page is displayed.

Destination: destination network ID. Subnet Mask: subnet mask of the target network. Next-Hop IP: next-hop IP address to the target network. Interface: interface through which data is forwarded. Click Routing Table to display all system routes, including IPv4 and IPv6 routes.

www.sangfor.com

100

IAM 11.2 User Manual

The device does not support dynamic routing protocols. You need to configure routes on the Static Route page.

3.1.3.4 Policy-Based Routing On the Policy-Based Routing page, you can configure line selection based on the source/destination IP address, source/destination port, and protocol when the device operates in route mode and the WAN interface connects to multiple external lines. This ensures that different data is forwarded through different external lines. In the navigation area, choose System > Network > Policy-Based Routing. The Policy-Based Routing pane is displayed on the right, as shown in the following figure.

Policy-Based Routing needs to be configured in the following scenarios: 1.

There are multiple external network lines and intranet users need to access services with high security requirements, such as e-banking and online payment. Some servers need to authenticate the access IP address. If a user accesses a service multiple times with different source IP addresses, the access connection will be ended. The multiline selection policy of the device cannot meet the manual selection requirements and cannot ensure that certain data is forwarded over a fixed line. Therefore, the Policy-Based Routing function needs to be enabled to implement manual selection for security application access data.

2.

There are multiple external network lines on the device, for example, a China Telecom line and a China Unicom line. The customer requires that data is forwarded over the China Telecom line when intranet users access China Telecom servers and over the China Unicom line when intranet www.sangfor.com

101

IAM 11.2 User Manual

users access China Unicom servers. In this case, manual selection needs to be implemented by using the Policy-Based Routing function. Example 1: In the first application scenario, when the customer accesses an Online Banking by using the IP address 127.8.66.42 over HTTPS, the e-bank will verify the access IP address. If the source IP address in a connection changes, the connection to the e-bank will be ended, resulting an access failure. Therefore, a policy-based route needs to be set to ensure that data to the specified address is forwarded over line 1. 1. Add an IP group named Online Banking. Set the IP address to 127.8.66.42.

2. Click Add. The Policy-Based Routing dialog box is displayed.

www.sangfor.com

102

IAM 11.2 User Manual

Select Enabled. Name: Enter the name of the policy-based route, Online Banking. Description: Enter the description of this route. Criteria: In Source, set the source IP address of this route. You can enter an IP group. In this example, select Predefined IP Group to ensure that all intranet users can access the e-banking service normally. In Destination, set the destination IP address of the route. In this example, select Online Banking, whose IP address is 127.8.66.42. In Service, select a service protocol matching this route. In this example, select HTTPS. In Target Line, select the external network line of this route. In this example, select Line 1. Example 2: There are multiple external network lines on the device, for example, a China Telecom line and a China Unicom line. The customer requires that data is forwarded over the China Telecom line when intranet users access China Telecom servers and over the China Unicom line when intranet users access China Unicom servers. Assume that line 1 is a China Telecom line and line 2 is a China Unicom line. 1. Set a Link State Detection policy. Click Link State Detection. The Link State Detection page is displayed.

www.sangfor.com

103

IAM 11.2 User Manual

Click the name of a line, for example, Line 1. The Link State Detection Settings page is displayed.

Select Enable auto detection. In Detection Method, set DNS lookup and PING. DNS lookup: indicates determining the link status by resolving domain names on a specified DNS server. Multiple DNS servers can be configured, which need to be separated with a comma (,). If a domain name fails to be resolved, the link is faulty. PING: indicates determining the link status by pinging a specified server. Multiple servers can be configured, which need to be separated with a comma (,). If no IP address can be pinged successfully, the link is faulty. Checked Parameter: Set the detection interval and failure threshold. For example, when the detection interval is set to 2s and failure threshold to 3, the link is considered faulty if detection is performed for over 2s and a failure is detected for over three times. 2. Set a policy-based route to forward data whose destination address is a China Telecom server over line 1, the China Telecom line, and data whose destination address is a China Unicom server over line www.sangfor.com

104

IAM 11.2 User Manual

2, the China Unicom line. On the Policy-based Route page, click Add. The Policy-based Route page is displayed.

Select Enabled. Name: Enter the name of the policy-based route, China Telecom Line 1. Description: Enter the description of this route. Criteria: In Source, set the source IP address of this route. You can enter an IP group. In this example, select All to ensure that all intranet users access China Unicom servers over the China Unicom line. In Destination, set the destination IP address of the route. In this example, select China Telecom. In Service, select a service protocol matching this route. In this example, select All_Protocol. In Line, select the WAN line of this route. In this example, select Line 1. 3. Add another policy-based route so that the data destined for other Chine Unicom servers is forwarded over line 2. 4. The policy-based routing table supports automatic update and the reference routes (see section 3.3.8) can be imported. To obtain the policy-based routing file of a carrier, contact the 400 hotline or access the technical forum of SANGFOR. On the Policy-Based Routing page, click Import, select the policy-based routing table of line 2, and

www.sangfor.com

105

IAM 11.2 User Manual

click Open.

A policy-routing table can be exported, which can then be imported to another device with the same software version. Specifically, select a routing table and click Export.

1. If the specified line is unavailable, the device will automatically switch the data to an available line. 2. A maximum of 256 policy-based routes are supported. 3. Policy-based routes are matched from top down. If the conditions of two policy-based routes conflict, data will be forwarded over the route that is matched earlier.

3.1.3.5 High Availability There are two high availability (HA) modes: Active-Standby and Master-Master. In Active-Standby mode, two devices interwork with each other over a communications interface for mutual backup. This mode applies when there are two lines in Active-Standby mode. The two devices connect to the active and standby lines respectively. When the active line fails, the standby line and standby device become active. The configurations on the standby device is the same as those on the active device. In Master-Master mode, multiple devices interwork over communications interface for synchronizing configurations and user status information. The devices work at the same time. In this way, when a line fails, the device can seamlessly switch to another line, ensuring consistency in the policy and user status. This is similar to the working principle in a VRRP environment. Both modes aim to ensure

www.sangfor.com

106

IAM 11.2 User Manual

network stability. They differ in the number of working devices. In Master-Master mode, multiple devices work at the same time. In Active-Standby mode, the two devices work in mutual backup mode and only one device is online. Choose an HA mode depending on the actual environment.

3.1.3.5.1 Active-Standby Mode In Active-Standby mode, two devices interwork with each other over an HA interface for mutual backup. This mode applies when there are two lines in Active-Standby mode. The two devices connect to the active and standby lines respectively. When the active line fails, the standby line and standby device become active. The configurations on the standby device is the same as those on the active device. The following figure shows the topology.

The procedure is as follows: 1. Select the Active-Standby mode and set related parameters. In the navigation area, choose System > Network > HA. See the following figure.

www.sangfor.com

107

IAM 11.2 User Manual

2. Select Active-Standby and click Settings. The dialog box shown in the following figure is displayed.

Device Name: Enter a name for distinguishing the current device from the other. Role of This Device: Set the role of the current device to Active unit or Standby unit. In this example, select Active unit. 3. Configure the active device.

www.sangfor.com

108

IAM 11.2 User Manual

Preemption: If Enable is selected, the standby device will become active when the active device is faulty. After the original active device resumes, it will become active again. HA Interface: In Active-Standby mode, a DMZ interface or a network interface that does not belong to any zone, can be used. The network configuration of the HA interface will not be synchronized. If a DMZ interface is configured as the HA interface, the network configuration of the DMZ interface will not be synchronized either. If the HA interface of the standby device is connected, the connection will fail. During connection, an error message indicating the failure reasons will be displayed. Shared Key: Configure a key used by the active device to connect to the standby device. This key must be the same as that configured for the standby device. Tracked Interfaces: If the connection to the specified monitoring interface is disconnected, an Active-Standby switchover is performed automatically to ensure normal network operation. Do not select any interface that is not used by the device. This is because an exception will occur if the status of an interface that is not used is detected. Email Alarm: This field specifies whether to send an alarm mail when a switchover occurs. Click the hyperlink on the right to access the alarm configuration page. An alarm will be triggered if a manual switchover is performed. 3. Configure the standby device as follows:

www.sangfor.com

109

IAM 11.2 User Manual

HA Interface: In Active-Standby mode, a DMZ interface or a network interface that does not belong to any zone, can be used. The network configuration of the HA interface will not be synchronized. If a DMZ interface is configured as the HA interface, the network configuration of the DMZ interface will not be synchronized either. If the HA interface of the standby device is connected, the connection will fail. During connection, an error message indicating the failure reasons will be displayed. Host IP: Enter the IP address of the active device. Shared Key: Configure a key used by the active device to connect to the standby device. This key must be the same as that configured for the standby device. 4. Connect the active and standby devices based on the physical topology. Use a heartbeat cable to connect the HA interfaces of the two devices. 5. Enable one device as the active device and power it on. Then power on the standby device. The configurations of the active device will be synchronized to the standby device through the HA interface.

3.1.3.5.2 Master-Master Mode The Master-Master mode applies to the VRRP-enabled intranet. Devices on the intranet work in hot backup and load sharing modes. The deployment of the devices will not affect the operation and switchover of the original network. As shown in the following figure, configure multiple SANGFOR IAMs in Master-Master mode. Ensure that the device can work properly after a VRRP switchover due to a link fault. In addition, ensure that the device configuration and user status are consistent with those on the other device. The following figure shows a typical application scenario.

www.sangfor.com

110

IAM 11.2 User Manual

In Master-Master mode, no physical interface is required if a node device can route to the control device. The configuration procedure is as follows: 1. In the navigation area, choose System > Network > HA. The HA page is displayed.

2. Select Master-Master and click Settings. The HA mode configuration page is displayed, as shown in the following figure.

www.sangfor.com

111

IAM 11.2 User Manual

Device Name: Enter a name for distinguishing the current device from the other. Role of This Device: Select Controller or Node. If Controller is selected, you only need to configure a shared key. If Node is selected, you need to configure the IP address and shared key of the control device. 3. Select Control and click Next to configure a shared key, as shown in the following figure.

Shared Secret: Configure a key used by the control device to connect to a node device. This key must be the same as that configured for the node device. Email Alarm: This field specifies whether to send an alarm mail when a device gets offline. If this option is selected, you need to configure an alarm mail. 4. Set another device as a node device. The configuration page is shown in the following figure.

www.sangfor.com

112

IAM 11.2 User Manual

Host IP: Enter the IP address of the control device. Shared Secret: Configure a key used by the control device to connect to a node device. This key must be the same as that configured for the control device. After configuration, the page showing the information about the control device is displayed.

The control device can synchronize configurations. Click Synchronize. Then the device will send a synchronization signal. Configurations and information will be synchronized. The status of all online node devices will be displayed in Online Devices. After configuration, the page showing the information about the online device is displayed.

www.sangfor.com

113

IAM 11.2 User Manual

The configurations on the node device cannot be modified and can only be synchronized from the control device.

The precautions for configuring an HA mode are as follows: 1. In Active-Standby mode, the two devices need to be connected by using a heartbeat cable, instead of a serial cable. Therefore, the deployment mode needs to be adjusted. A direct upgrade is not supported by default. 2. In Active-Standby mode, if the HA interface of the standby device is connected, the connection will fail. During connection, an error message indicating the failure reasons will be displayed. 3. In Active-Standby mode, a DMZ interface or a network interface that does not belong to any zone, can be used. The network configuration of the HA interface will not be synchronized. If a DMZ interface is configured as the HA interface, the network configuration of the DMZ interface will not be synchronized either. 4. In Master-Master mode, the status of online users is synchronized in real time. In other words, if a new user is authenticated, the user status will be immediately synchronized. The online status of users (only the IP address and MAC address are bound) that do not require authentication will not be synchronized. 5. The Master-Master mode is exclusive with an Ingress policy or the security desktop. If an Ingress policy or security desktop policy is configured, the Master-Master mode cannot be enabled. 6. In Master-Master mode, no physical interface is required if a node device can route to the control device. 7. After a device is added to a Master-Master or Active-Standby group, it does not need to be restarted. 8. A device supports only Master-Master in bridge mode, and Master-Master and Active-Standby in route mode. If Active-Standby is used in bridge mode, an upgrade cannot be performed and a message will be displayed, prompting the customer to change the HA mode to Master-Master. www.sangfor.com

114

IAM 11.2 User Manual

9. SPs can be synchronized by default and those with a special mark cannot. For KBs and custom devices, synchronization is supported if the installed patch packages are the same (insensitive to the sequence). New configurations of custom devices also support synchronization. 10. If the R versions are inconsistent, synchronization is not supported. The status of HA indicators is described as follows: Active-Standby Active Device Disconnected

Off

Connected

Steady green

Master-Master Standby Device Off

Blinking at 1 Hz

Control Device

Node Device

Off

Off

Steady green

Blinking at 1 Hz

If the active or control device is disconnected, the HA indicator is steady on, indicating an exception.

3.1.3.6 HOSTS HOSTS file is a built-in host file on the unit, which contains the mapping information of IP addresses and domain names/hostnames. Navigate to System > Network > Hosts page, as shown below:

www.sangfor.com

115

IAM 11.2 User Manual

To add a new Host entry, click Add and specify the fields on the following page.

IP Address: Specifies the IP address that a host name is mapped to. Host Name: Specifies the corresponding host name.

3.1.3.7 DHCP DHCP is a service for automatically assigning IP addresses to PCs on the intranet. It is available only when the device works in route mode. Choose System > Network > DHCP. The device can assign IP addresses to PCs connecting to the LAN and DMZ interfaces. The DHCP service needs to be configured separately for the two network interfaces. For example, the device functions in route mode as a gateway for implementing Internet access for intranet users. Intranet users are connected to the LAN interface, whose IP address is 192.168.1.1. Totally 100 PCs on the intranet need to be assigned IP addresses. The IP address pool is 192.168.1.100–192.168.1.199. The PC of the manager needs to be assigned a fixed IP address 192.168.1.100. 1. Enable the DHCP service.

2. In Interface, select an interface for which DHCP is to be enabled. Here select the LAN interface. Set the leas duration and DHCP network parameters.

www.sangfor.com

116

IAM 11.2 User Manual

In Lease, set the usage time of the assigned IP address. In Options, set the gateway address, DNS addresses, and WINS addresses. 3. In DHCP IP Address Pool, set a range of IP addresses available for automatic assignment.

4. Click Reserved IP Addresses and set a reserved IP address. According to the MAC address, assign a fixed IP address to the PC.

Click Add and enter the name, fixed IP address, MAC address, and hostname in the displayed dialog box.

www.sangfor.com

117

IAM 11.2 User Manual

To view the DHCP operating status and IP address assignment status, choose System Management > Status > DHCP Status > Status in the navigation area.

3.1.3.8 Protocol Extension In some network environments, packets are encapsulated using a series of special protocols such as PPPoE and Multiprotocol Label Switching (MPLS). Compared with common IP packets, these protocol packets are added with a specific header so that common devices with the protocol analysis function cannot parse these packets. The SANGFOR IAM peels off the special protocol headers, analyzes the characteristics of these packets, and matches the packets with embedded special protocol rules. Then the device can authenticate, audit, and control the raw data. Currently, the SANGFOR IAM can peel off packet headers of the following protocols: VLAN, MPLS, PPPoE, L2TP, LWAPP, CAPWAP, WLTP, and user-defined protocols. Example: A PC needs to connect to the PPPoE server through dialup and can access the Internet after authentication. The SANGFOR IAM is deployed in bridge mode between the PC and the PPPoE server and needs to audit and control the online behaviors of the PC. The procedure is as follows: In the navigation area, choose System > Network > Protocol Extension. The 网络协议扩展 Protocol Extension pane is displayed on the right, as shown in the following figure.

www.sangfor.com

118

IAM 11.2 User Manual

In Protocols, Select PPPoE de-encapsulation and click Commit to enable PPPoE de-encapsulation. After configuring the corresponding audit and control policies, the IAM can audit and control the PC that accesses the network through PPPoE dialup. If packets of a special protocol not in the protocol de-encapsulation list exist, select Custom Protocol Stripping and define the de-encapsulation of this type of packets. In Ethernet Header, specify the start position and characteristics of the header in the entire packet (including the Ethernet header). In IP Header Start Position, specify the start position of an IP header after the packet is encapsulated using this special protocol. If the special protocol is in the protocol de-encapsulation list but does not use the default port for communication, for example, L2TP does not use the default port 1701 for communication, double-click the protocol rule and edit port information. The information about ports can be separated by a comma (,). If multiple special protocols in the protocol de-encapsulation list exist, select the corresponding protocol rules. www.sangfor.com

119

IAM 11.2 User Manual

1. Protocol de-encapsulation is not supported in route mode. 2. Protocol de-encapsulation is supported in bridge mode. Data can be authenticated, audited, and controlled after protocol de-encapsulation. Some functions are unavailable in special environments, such as: 

Web authentication, Ingress authentication, rejection page, and intelligent reminder page that involve redirection



SSL content identification



MSN file transfer control



Kerberos authentication or SSO



Mail filtering and gateway virus removal that involve a proxy

3. Protocol de-encapsulation is supported in bypass mode. After protocol de-encapsulation is enabled, automatic authentication and audit are supported and control is not supported. 4. In an environment with protocol de-encapsulation enabled, you cannot use a computer name or MAC address as the username, or bind a MAC address. 5. Some data may have two IP headers after being encapsulated by a special protocol such as L2TP. After protocol de-encapsulation, the outer IP header (lower layer) is peeled off. Therefore, authentication, audit, and control are performed based on the inner IP header (upper layer). The Internet access policies of the device should not block the communication that is performed based on the outer IP header. 6. By default, the device supports the de-encapsulation of single-layer 802.1q VLAN headers regardless of whether protocol de-encapsulation is enabled. If 802.1q is used together with other protocols, such as PPPoE, VLAN (Q-in-Q) de-encapsulation and PPPoE de-encapsulation need to be selected. 7. After protocol de-encapsulation is enabled, protocol data cannot be compressed or encrypted.

3.1.3.9 Optical Bypass Module When a power failure occurs, the device restarts due to a breakdown, or a network interface becomes abnormal, the device will stop processing data and switch to an optical bypass module. The optical bypass module configuration page is displayed only in bridge mode, as shown in the following figure.

www.sangfor.com

120

IAM 11.2 User Manual

Select Enable External Optical Bypass module to enable the optical bypass module. An optical bypass switch needs to be connected.

Before enabling the optical bypass module for the first time, connect an optical bypass switch. At this time, a message will be displayed prompting you to restart the device. In Type, select optical bypass. Currently, only domestic bypass switches are supported. See the following figure.

Click Add Optical Bypass Module to add an optical bypass mode. In the Add Optical Bypass Module dialog box, Optical Module ID and Bridge. Enter the module ID on the bypass switch in

Optical

Module ID. See the following figure.

www.sangfor.com

121

IAM 11.2 User Manual

3.1.4 General General involves the configuration of licenses, administrator accounts, system time, automatic upgrade, alarm options, global exclusion addresses, backup and recovery, terminal page, report center, and advanced settings.

3.1.4.1 Licensing On the Licensing page, you can set the Device License, Multi-Function License, Antivirus License, Application Signature Database, Software Update License, WiFi Access License, Third Party URL Database License and Sangfor URL Database.

Device License: The device license is used to activate the device and authorize the number of lines, number of branches, and number of mobile users. Multi-Function License: The function license is used to activate multi-function authorization, including the VPN, audit (including behavior audit and content audit), data center USB Key check, and SSL monitoring functions. Antivirus License: The antivirus SN is used to authorize the upgrade of the virus definition library of www.sangfor.com

122

IAM 11.2 User Manual

the antivirus module. Application Signature Database: This license is used to activate the update validity period of embedded libraries including the URL Database, application identification library, and audit rule library. Software Update License: This license is used to upgrade the software of the device. WiFi Access License: This license is used to enable the WiFi access function for the device. Third Party URL Database License: This license is used to activate the update validity period of URL Database from third parties. Sangfor URL Database: This license is used to activate the update validity period of URL Database from Sangfor. Click Edit and enter the license to activate the authorization of the corresponding function.

3.1.4.2 Administrator On the Administrator page, you can set a user account for managing the device on the console. In the navigation area, choose System > General > Administrator. The Administrator pane is displayed on the right, as shown in the following figure.

Click Add to add an administrator account, Delete to delete an administrator account, Enable to enable an administrator account, Disable to disable an administrator account, or Administrative Role to define the permission of an administrator account. When multiple administrators are required for hierarchical management, you need to define the permission level of each administrator. In the administrator account list, administrator accounts are displayed in descending order of permission level. If two administrators share the same jurisdiction scope, the administrator with a higher permission level can modify the policy created by the administrator with a lower permission level. The policy created by the administrator with a higher permission level takes precedence over that created by the administrator with a lower permission level. The role "administrator" is embedded. An account as the role "administrator" has the permission to manage the entire organization structure and can add and delete administrator accounts. Example 1: Add a console administrator. 1. Add a role. Different roles have different priorities. The administrator accounts are displayed in www.sangfor.com

123

IAM 11.2 User Manual

descending order of priority. An administrator with a lower priority cannot modify objects created or modified by an administrator with a higher priority. Click Administrative Role. The Administrative Role dialog box is displayed. Click Add, enter the username and description of the role to be added, and click Commit.

2. Create an administrator account. Click Add. The Administrator Roles dialog box for creating an administrator account is displayed. Set related parameters on the Login Security tab.

www.sangfor.com

124

IAM 11.2 User Manual

Username: Enter the username of the account for logging in to the console. Administrator Role: Select the role defined in step 1. Login Security: Enter the password of the account for logging in to the console in New Password and Retype Password. You can also set the IP address used by the administrator account to log in to the console. You can set a single IP address or an IP address segment. Set one IP address in each row and a maximum of 32 rows can be set. 3. On the Realm page, set the permission for the added administrator account to manage a user group. Click Select and select a group in the displayed organization structure.

www.sangfor.com

125

IAM 11.2 User Manual

4. In Permission, set whether the administrator account has the permission to view or edit other modules on the console.

www.sangfor.com

126

IAM 11.2 User Manual

Example 2: Create an administrator role "Manager" and an administrator account emily. Set the password to @1234abcd. Grant the permission for managing the Director Group, and viewing and editing the Users and Object pages. Assign the role "Manager" to the administrator account. 1. Add a role. On the Administrator page, click Administrative Roles. In the Administrative Roles dialog box, click Add, enter the role name Manager and description of the role, and click OK.

www.sangfor.com

127

IAM 11.2 User Manual

2. Create an administrator account. On the Administrator page, click Add. In the Administrator dialog box, enter the username emily and description of the account, and select the role Manager. On the Login Security page, enter the password @1234abcd and confirm the password.

3. On the Realm page, click Select, select Director Group in the displayed organization structure, and click Commit.

www.sangfor.com

128

IAM 11.2 User Manual

4. On the Permission page, grant the permission for viewing and editing the Users and Object pages and click Commit. The administrator account emily is created and associated to the role "Manager" successfully.

6. Log in to the console with the account emily. You can view online users in the Network department group and mail approval information, manage the Director Group group and Internet access policies, Objects, and set user authentication.

www.sangfor.com

129

IAM 11.2 User Manual

Example 3: Add two administrator roles "Campus administrator" and "School administrator", and two administrator accounts test1 and test2. Associate test1 to the "Campus administrator" role, which can manage all students. Log in as test1 and define a policy to prevent all students from playing games in class. Associate test2 to the "School administrator" role, which can manage the students of the computer school. Log in as test2 and define a policy to prevent students of the computer school from accessing Facebook in class. 1. Add two administrator roles: "Campus administrator" and "School administrator".

In the Administrative Roles list, roles are displayed in descending order of permission level. As shown in the following figure, the permission level of the "Campus administrator" role is higher than that of the "School administrator" role.

www.sangfor.com

130

IAM 11.2 User Manual

2. Create two administrator accounts test1 and test2. Associate test1 to the "Campus administrator" role, which can manage all students. Associate test2 to the "School administrator" role, which can manage the students of the computer school.

www.sangfor.com

131

IAM 11.2 User Manual

3. Log in to the console with the administrator account test1 and define a policy named No Game www.sangfor.com

132

IAM 11.2 User Manual

During Class Time, which applies to the All students user group. For details about defining a policy, choose Access Mgt > Policies. See the following figure.

4. Log in to the console with the administrator account test2 and define a policy named No Facebook During Class Time, which applies to the IT school in All students user groups. For details about defining a policy, choose Access Mgt > Policies. See the following figure.

The priority of a policy depends on the permission level of the role that creates this policy. The policy created by the campus administrator takes precedence over that created by the school administrator. If the campus administrator test1 selects Give view privilege to administrator in lower-level role, the school administrator test2 cannot modify the policy defined by test1. The school administrator has only the permission to view the policy. See the following figure.

An administrator cannot modify the Internet Access Policy defined by another administrator of the same permission level if their jurisdiction scopes are different. For example, test2 and test3 are both associated to the "Campus administrator" role but test2 is authorized to manage the computer school and test3 is authorized to manage the management school. The two administrators cannot modify the Internet Access Policy defined by the peer.

1. The level of an administrator is determined by the role. In the Administrative Roles list, roles are displayed in descending order of priority. 2. A higher-level administrator can set whether to allow a lower-level administrator to view the defined policy, or whether to allow an administrator of the same level to view and edit the defined policy. 3. By default, a lower-level administrator cannot modify the Internet Access Policy defined by a

www.sangfor.com

133

IAM 11.2 User Manual

higher-level administrator. 4. If administrator A selects Give view privilege to administrator in lower-level role for the defined Internet Access Policy , administrator B of the same level can edit this policy only if they share the same jurisdiction scope or the jurisdiction scope of B covers that of A. 5. If administrator A selects Give view privilege to administrator in lower-level role for the defined Internet Access Policy, higher-level administrator C can edit this policy only if they share the same jurisdiction scope or the jurisdiction scope of C covers that of A. 6. The priority of an Internet Access Policy depends on the level of the administrator that creates it. A policy created by a higher-level administrator has a higher priority. The priorities of policies created by the same level of administrators can be adjusted. For details about the matching sequence of Internet access policies, see section 3.5.1.4. 7. After an administrator is deleted, the user groups and users created by this administrator are unaffected, the priority of the Internet Access Policy created by this administrator remains unchanged, and the created administrator becomes admin. 8. By default, the "Administrator" role exists with the highest permission and cannot be deleted. Only an administrator of the "Administrator" role can create roles and administrator accounts. 9. To delete an administrator role, delete the administrator of this role and the Internet Access Policy created by this role, and then delete this administrator role.

3.1.4.3 Date/Time On the Date/Time page, you can set the system time of the SANGFOR IAM. You can directly change the system time or by synchronizing the system time with the time server.

www.sangfor.com

134

IAM 11.2 User Manual

In Date/Time, you can view the current system time or manually set the system time. Click Sync with Local PC to synchronize the system time with the time on the PC from which you log in to the console, or click System Time to refresh the system time in real time. You can also set the system time to be synchronized with the time server. Specifically, select a time zone where the device resides in Time Zone, select Sync Time with NTP Server, and set an Internet time server. Then the device will automatically synchronize its time with the time server.

3.1.4.4 Update On the Update page, you can configure and manage system update, proxy server, and database update.

3.1.4.4.1 System Update On the System Update page, you can upload an upgrade package to upgrade the software of the device, as shown in the following figure.

www.sangfor.com

135

IAM 11.2 User Manual

3.1.4.4.2 Proxy Server The device needs to access the Internet to upgrade embedded libraries. If the device cannot access the Internet and an HTTP proxy server exists, you can set the proxy server on the Proxy Options page so that the device can access the Internet through the proxy server to upgrade embedded libraries. Select Enable Proxy Server, enter the IP address and port number of the proxy server, select Authentication required, and enter the username and password. See the following figure.

3.1.4.4.3 Database Update On the Database Update page, you can manage the upgrade of the virus database, URL database, system patch, application signature database, and audit rule database.

www.sangfor.com

136

IAM 11.2 User Manual

Click Enable to enable automatic upgrade of embedded libraries, Disable to disable the automatic upgrade function, and Refresh to view real-time version information about embedded libraries. Click Click

to manually upgrade a rule library within the validity period of the upgrade service. to roll back the rule library to the version before the upgrade. The application

identification rule library and Ingress Rule Database support rollback. Click Upgrade Server. On the Upgrade Server page, configure an upgrade server to which the device is to be connected. It is recommended that Auto Select Server be selected so that the device automatically detects an available upgrade server.

3.1.4.5 Alarm Options On the Alarm Options page, you can configure the device to alert the administrator by mail in any of the following cases: 

Attack attempt is detected



Active-Standby switchover occurs



Mobile endpoint related alert



Virus is detected



Sensitive keyword is detected



Disk usage exceeds threshold



Throughput exceeds threshold



Report Center related error



CPU usage exceeds threshold



Memory usage exceeds threshold



Give alert when MAC address is excluded automatically

www.sangfor.com

137

IAM 11.2 User Manual

Select Enable Email Alarm to enable the event alarm function for the device. In Event, select alarm events based on the actual situation. Click Throughput exceeds threshold to set throughput exceeds threshold alarms. You can set the duration and alarm threshold of the outbound traffic, inbound traffic, and total traffic. When you set Period (minute) to 5 and Maximum (Kbps) to 100, an alarm will be reported if the traffic exceeds 100 kbps for 5 minutes. When both parameters are set to 0, no alarm will be reported. Click OK for the settings to take effect. See the following figure.

www.sangfor.com

138

IAM 11.2 User Manual

Click CPU usage exceeds threshold to set the CPU usage exceeds threshold alarm. You can set the duration and alarm threshold. When you set Period (minute) to 5 and Threshold (%) to 90, an alarm will be reported if the CPU usage exceeds 90% for 5 minutes. When the both parameters are set to 0 or CPU usage exceeds threshold is not selected, no alarm will be reported. Click Commit for the settings to take effect. See the following figure.

Click Memory usage exceeds threshold to set the memory usage exceeds threshold. You can set the duration and alarm threshold. When you set Period (minute) to 5 and Threshold (%) to 90, an alarm will be reported if the memory usage exceeds 90% for 5 minutes. When the both parameters are set to 0 or Memory usage exceeds threshold is not selected, no alarm will be reported. Click Commit for the settings to take effect. See the following figure.

By default, Email Delivery Options are applied for sending alarm mails. You can set different recipient mailboxes and sending intervals. See the following figure. www.sangfor.com

139

IAM 11.2 User Manual

Click the icon on the Edit column to set the recipient mailboxes and interval for sending attack alarm mails. See the following figure.

Select Use global settings to use the global settings. Select In specified way, set the recipient mailboxes, alarm mail subject, interval for sending alarm mails. Subject: specifies the title of an alarm notification mail. You can enter any texts except special characters. Interval: specifies the interval for sending alarm notification mails. In specified way: specifies the outgoing mail server and recipient address.

www.sangfor.com

140

IAM 11.2 User Manual

In Outgoing Mail Server, specify the sender address and SMTP server. Sender Address: specifies the source address for sending alarm notification mails. Server Address: specifies the SMTP server address used for sending alarm notification mails. You can enter an IP address or a domain name. Server Port: specifies the SMTP port. It could be any value from 1 to 65535. If the SMTP server needs to verify user information, select Authentication required, and enter the username and password. In Email Delivery, specify the recipient address, alarm mail subject, and interval for sending alarm notification mails. Recipient: specifies the mailbox for receiving alarm notification mails. Subject: specifies the title of an alarm notification mail. You can enter any texts. Interval: specifies the interval for sending alarm notification mails. Click Send Testing Email to send a test mail. Click Commit for the settings to take effect.

3.1.4.6 Global Exclusion On the Global Exclusion page, you can add the IP address of an intranet user or a destination server www.sangfor.com

141

IAM 11.2 User Manual

to the list. Then the data will be monitored or controlled when the intranet user accesses the Internet or the destination server is accessed. You can set an IPv4 address, IPv6 address, or domain name in the list.

In Predefined Excluded Addresses, the addresses of upgrade servers of antivirus software and firewall are listed to avoid upgrade failures caused by conflicts with the defined policies. You can disable an address in the embedded exclusion address list but you cannot delete any address. In Custom Excluded Addresses, you can add exclusion addresses. Specifically, click Add, enter the description and address in the displayed Add Excluded Address dialog box, and click OK for the settings to take effect.

www.sangfor.com

142

IAM 11.2 User Manual

3.1.4.7 Backup/Restore On the Backup/Restore page, you can download and save the device configurations, or import a backed up device configuration file.

www.sangfor.com

143

IAM 11.2 User Manual

Backup Configurations: Click Download to back up the device configurations. Restore Configurations: You can recover device configurations from a backup file. You can recover device configurations in either of the following ways: 

Restore from auto backup

The device automatically backs up the configurations at midnight every day. By default, configuration files will be retained for a month. Select a configuration file and click Restore. 

Restore from backup on local PC

Click Upload, select a backup file, and click Restore. Restore to Factory Defaults: You can click Restore to Factory Defaults to restore the factory settings of the device. Exercise caution when you perform this operation.

3.1.4.8 Custom Webpage On the Custom Webpage page, you can define the custom page to which the device redirects. Two types of pages can be defined: bulletin board and other pages, which include the following: 

Access Denied



Virus Detected



Daily Online Online duration quota has been Used Up

www.sangfor.com

144

IAM 11.2 User Manual



Ingress Client



Online duration quota is About to be Used Up



Flow Quota is About to be Used Up



Daily Flow Quota has been Used Up



Monthly Flow Quota has been Used Up



Traffic Reaches Threshold



User Locked



SSO Before Access



Connection Sharing Detected



Access on Mobile Device is Denied

On the Bulletin Board pane, click the name of a Bulletin Board. The Edit Predefined Bulletin Board dialog box is displayed, as shown in the following figure.

In the Edit Predefined Bulletin Board dialog box, you can change the source code to change the page www.sangfor.com

145

IAM 11.2 User Manual

to be displayed. It is recommended that only the text and pictures be changed. If other changes are made, some links will be missing. Click Resource File to upload .jpg or gif pictures to be displayed on a customized page. Specifically, click Resource File, select an object to be uploaded, and change the picture and Java script name in Edit Page. Click Restore Default to resume the original page. Click Click

to display the code view to present text in the format of code. to display the customized Bulletin Board in full screen.

Click Commit to save the customized page. Click View to preview the customized page. Click Clone to copy the customized page. Click Download to download the customized page. After modification, click Update to update a .zip package to configure the page. For the customization of other pages, see the procedure for customizing a Bulletin Board.

3.1.4.9 Report Center On the Report Center page, you can configure information about the external and internal report centers. The external report center contains server information and the internal report center contains automatic log deletion options. See the following figure.

On the Sync Policy page, you can set the IP address of the external report center, name of the synchronization policy, Pre-Shared key, and Web-Access port of the report center. Click Click

to test the connectivity between the device and the data center server. and the device will send an immediate synchronization instruction to the data center

server to synchronize log data. Click External Report Center to access the web UI of the external report center. The default username and password for logging in to the external report center are both admin. See the following figure.

www.sangfor.com

146

IAM 11.2 User Manual

Click Add. In the Add Sync Policy dialog box, add a report center server. In IP Address, enter the IP address or domain name of the server where the external report center is to be installed. If a domain name is entered, ensure that the device can correctly parse the domain name. Enter the synchronization account information about the external report center in Policy Name and Pre-Shared Key. In Web-Access Port, set the port used by the external report center to provide web services. Then click Commit.

On the Internal Report Center page, set disk alarm parameters and automatic log deletion parameters.

www.sangfor.com

147

IAM 11.2 User Manual

Disk Usage Alarm Options: Days Access Control Logs are Preserved: specifies the retention period of logs, in days. Disk Usage Alarm Threshold: When the disk usage exceeds the specified threshold and the log retention period is not reached, a warning will be reported by mail. You can set mail warning information on the Alarm Options page. Auto Logs Deletion: Set disk usage threshold. Delete access control logs on the earliest day if threshold is reached: When the specified disk usage in percentage is exceeded, the system will automatically delete the access control logs generated the earliest day. When there is a large amount of logs, you can select Disable Internal Report Center (to save resources and enhance logging performance) to ensure that the device can record complete logs and to improve the audit performance. After this option is selected, the internal report center is unavailable for access. In this case, it is recommended that an external report center be installed. Click OK to finish the settings.

3.1.4.10 Advanced Settings On the Advanced page, you can complete other system settings of the device, including Web UI, Proxy, Remote Tech Support, Syslog Server, Central Management, Device Name, Server Certificate, www.sangfor.com

148

IAM 11.2 User Manual

SNMP, and other Options.

3.1.4.10.1 Web UI On the Web UI page, you can set the Default Encoding, Speed Unit, Radix, HTTPS Port, Inactivity Timeout, and Issue SSL Certificate To, and click Certificate to download a certificate. See the following figure.

Default Encoding: specifies the default code for processing monitored data when the code of the data cannot be recognized. The default code can be GBK or BIG5. Speed Unit: specifies the unit of monitored network traffic. Click

to select a unit.

Radix: specifies the conversion scale of the traffic unit. It can be 1000 or 1024. HTTPS Port: specifies the port used for logging in to the console. The default port is TCP 443. Inactivity Timeout: specifies the timeout duration of the console. If the administrator does not perform any operation on the console within the specified duration, the system will be automatically disconnected. Issue SSL Certificate To: specifies the IP address or domain name to which the SSL certificate for logging in to the console is issued. Click Certificate to download an SSL certificate of the console. After this certificate is installed, the SSL certificate warning message will no longer be displayed on the login page of the console. Click Commit to save the settings.

www.sangfor.com

149

IAM 11.2 User Manual

3.1.4.10.2 Proxy When a proxy server is required for Internet access, all user data is forwarded to the proxy server. Modules including the firewall determines whether to reject a connection based on the destination address and port. Therefore, many functions are unavailable. To ensure that modules including the firewall to be functional, the modules must correctly identify the actual destination address and port of data forwarded to the proxy server. The following figure shows the network topology. Ensure that the data bound to the proxy server is forwarded to the device first. The proxy server must connect to the WAN interface of the device. By default, the device will detect all proxy data. You can configure the device to detect the data of a fixed proxy server on the Proxy page. See the following figure.

Enter the IP address of a proxy server, or an IP address range. The device will detect whether the data destined for an IP address listed on the Proxy page is proxy data and control the Internet access permission accordingly. If the list is blank, the device will detect all data, which reduces the working efficiency of the device. Therefore, it is recommended that the IP address of a proxy server is listed. Click Commit to save the settings.

3.1.4.10.3 Remote Tech Support On the Remote Tech Support page, you can set whether to allow remote login to the device from a

www.sangfor.com

150

IAM 11.2 User Manual

WAN interface, Report unidentified URL, Report system error, and Report unidentified application, and whether to Enable Access Backstage.

Enabled: specifies whether to allow remote login to the device from a WAN interface. If this option is selected, the ping function is automatically enabled for the WAN interface of the device. Report unidentified URL: specifies whether to automatically upload unrecognized URLs. After this option is selected, URLs that cannot be recognized by the URL Database will be reported to the manufacturer. Information about the company will not be leaked. Report system error: specifies whether to automatically report system errors. After this option is selected, information about system errors will be automatically reported to the manufacturer. Information about the company will not be leaked. Report unidentified application: specifies whether to automatically upload unknown application information. After this option is selected, information about unknown applications will be automatically reported to the manufacturer. Information about the company will not be leaked. After technical support assistance is enabled, technical support engineers can remotely connect to the device and intranet. Click

to enable access to the system backstage, which will be disabled

after one day by default. To download black box in the last 1- 30days, click Download Black Box button.

www.sangfor.com

151

IAM 11.2 User Manual

Click Commit to save the settings.

3.1.4.10.4 Syslog Server On the Syslog Server pane, you can synchronize the System Logs, Email Alarm Logs, and Admin Logs on the device to the configured Syslog server.

Syslog Server IP Address: specifies the IP address of the Syslog server. System Logs: includes debugging logs, information logs, alarm logs, and error logs. Select Debug Logs to synchronize the debugging logs on the device to the Syslog server. Select Info Logs to synchronize the information logs on the device to the Syslog server. Select Warning Logs to synchronize the alarm logs on the device to the Syslog server. Select Error Logs to synchronize the error logs on the device to the Syslog server. Select Email Alarm Logs to synchronize the email alarm logs on the device to the Syslog server. Select Admin Logs to synchronize the administrator operation logs to the Syslog server. www.sangfor.com

152

IAM 11.2 User Manual

3.1.4.10.5 Central Management On the Central Management page, you can set whether to incorporate the IAM into centralized management. After the IAM is incorporated into centralized management, the administrator of the central end can deliver policies to the IAM. In addition, the permission of a controlled end can be assigned by the central end. For example, you can prevent a controlled end to modify the traffic management page. See the following figure.

Remove from CM: After the IAM is incorporated into centralized management, you can click Remove from CM and enter a password to revoke centralized management for the IAM. The password is in the charge of the administrator of the central end. If this button is unavailable, the IAM is not connected to the central end. You can click it after the IAM is connected to the central end. Primary Web Agent: specifies the IP address of the centralized management device to which the IAM is to be connected. The IP address is in the charge of the administrator of the central end. Secondary Web Agent: specifies the IP address of the standby web agent. The device will connect to the standby web agent when the active web agent cannot be connected. Site Name: specifies the username for connecting to the central end. Password: specifies the password for connecting to the central end. Shared Secret: If a shared key is set on the web agent at the headquarters, a shared key must be set here. Generally no shared key needs to be set.

After the IAM is connected to the center end for centralized management, the www.sangfor.com

153

IAM 11.2 User Manual

configurations delivered by the central end cannot be edited or deleted on the controlled end.

3.1.4.10.6 Device Name You can set device names to distinguish controlled devices when multiple devices are connected to the central end, or to distinguish devices that synchronize data to the external data center when multiple devices perform data synchronization by using the same account. See the following figure.

If no device name is set, the centralized management account is used as the device name by default after the device is connected to the central end for centralized management.

3.1.4.10.7 Server Certificate A certificate needs to be generated when the device is connected to the central end for centralized management. A hardware certificate uniquely identifies an IAM. To prevent other IAMs from connecting to the central end using the same account, a hardware certificate can be generated and imported to central end. See the following figure.

www.sangfor.com

154

IAM 11.2 User Manual

3.1.4.10.8 Redirection/Proxy When the IAM is deployed in bridge mode, if the bridge IP address cannot communicate with endpoints, functions involving redirection such as web authentication, Ingress, and proxy detection, require the communication with PCs on the intranet, which can be implemented by the IAM using virtual IP addresses by default.

Redirection: involves authentication redirection and rejection redirection. If Enable destination based routing, and specify port to forward redirected data is selected, the device will query routing rules and select an egress before sending redirection packets. By default, the WIWO principle is observed in sending redirection packets. Proxy: includes mail proxy and SSL proxy. If Enable destination based routing, and specify port to forward proxy data is selected, the device will query routing rules and select an egress before sending proxy data. By default, the WIWO principle is observed in sending proxy data. Select Do not restore address to disable the address recovery function. In bridge mode, the proxy address recovery function is enabled by default. However, the address recovery function is not supported in route mode. In Virtual IP, set virtual IPv4 and IPv6 addresses. The client will be redirected to a virtual IP address.

3.1.4.10.9 SNMP On the SNMP page, you can set and enable the SNMP function for the IAM. See the following figure.

www.sangfor.com

155

IAM 11.2 User Manual

Enable SNMP v1/v2: to enable SNMPv1 and SNMPv2. You need to set a community name. You can view the running status of the device based on the specified community name on an SNMP client. Enable SNMP v3: to enable SNMPv3. UMS User: specifies the UMS username. Authentication Required: to enable identity authentication and set an identity Auth Method, which can be set to MD5 or SHA. Encryption: to enable DES encryption and set an encryption password. Download MIB: Click this button to download the MIB of the device and import it to the SNMP management software to monitor the parameters of the device.

www.sangfor.com

156

IAM 11.2 User Manual

3.1.4.10.10 Other Options

VPN Port Location: includes the LAN and WAN. 

LAN Zone: default value, indicating that the VPNTUN interface belongs to the LAN by default.



WAN Zone: If WAN is selected, all data passing the VPNTUN interface will be regarded as data sent from the LAN to the WAN and be authenticated, audited, and controlled.

3.1.5 Diagnostics 3.1.5.1 System Logs On the System Logs page, you can view the run logs of each module of the device and therefore determine whether the modules run properly.

Click Filter. On the Filter page that is displayed, select a log type, as shown in the following figure.

www.sangfor.com

157

IAM 11.2 User Manual

In Filter, enter a program name. Click Commit. Then the logs of the selected types are displayed. In Date, select the date to view system logs generated during the specified period.

3.1.5.2 Capture Packets The capture packets tool is used to capture packets passing through the device to quickly locate problems. It can be used to detect errors. Click Options to display the Options dialog box, as shown in the following figure.

www.sangfor.com

158

IAM 11.2 User Manual

Max Packets: specifies the maximum number of packets to be captured. Interface: specifies the interfaces on which packets will be captured. Expression: specifies the expression for filtering packets to be captured. The standard TCPDUMP format in Linux is used. IP Address: specifies the IP address in the packets to be captured. Port:specifies the port in the packets to be captured. Click Capture to start capturing packets. Click Stop to stop capturing packets. A .pcap file is generated, as shown in the following figure.

Click Delete to delete the specified file, Download to download the file to the specified path, or Refresh to view real-time information about the packet capturing results. The file can be opened using Sniffer or Ethereal.

www.sangfor.com

159

IAM 11.2 User Manual

1. Support capturing packets on more than one interfaces simultaneously.

2. Support customizing expression for capturing packets.

3.1.5.3 Web Console On the command console, you can view simple information about the device. Supported commands include arp for viewing the arp table, mii-tool for listing the connections of a network interface, ifconfig for viewing network interface information, ping for testing the connectivity of the host address, telnet for testing the connectivity of the port, ethtool for viewing information about the network adapter, route for displaying the routing table, and traceroute for tracing the packet forwarding path. Input any command on the command console and press Enter, as shown in the following figure.

www.sangfor.com

160

IAM 11.2 User Manual

3.1.5.4 Troubleshooting On the Troubleshooting page, you can query which module of the device rejects a packet and the rejection reasons to quickly locate a configuration error or test whether some rules take effect. Click Settings. On the Filter page, set all kinds of filtering conditions, as shown in the following figure.

www.sangfor.com

161

IAM 11.2 User Manual

Specified IP: specifies an IP address for which the rejection list is enabled. By default, the rejection list applies to all network segments. Click Protocol Conditions and set the protocol type and port range for filtering interception logs, as shown in the following figure.

Protocol Type can be set to All, TCP, UDP, ICMP, or Others. Select Improve Logs Readability to display interception logs in Chinese. If this option is not selected, interception logs are displayed in English. Select Enable Pass-Through and set anIP address or IP address segment. The Internet access policies are ineffective for the specified IP addresses. Packets that should be rejected according to the Internet access policies will be allowed to pass. Click Advanced and set whether to enable straight-through transmission for the traffic control module, as shown in the following figure.

If BM module does not allow data pass-through is selected, the traffic management policies are still effective. This protects the network environment against excessively heavy traffic that occurs because all data are transmitted straight through. If this option is not selected, the traffic management policies are not effective. By default, straight-through transmission is not enabled for the traffic management module.

www.sangfor.com

162

IAM 11.2 User Manual

Click Enable to enable the interception logging and straight-through transmission functions. Status shows the enabling status of the straight-through transmission and interception logging functions, as shown in the following figure.

Click Close to disable the interception logging and straight-through transmission functions. Click Refresh to view interception logs, the packet interception conditions, as shown in the following figure.

After the interception logging and straight-through transmission functions are enabled, if the administrator does not manually click Close, these functions are still enabled even if the device is restarted.

3.1.5.5 Shutdown On the Shutdown page, the Restart Device and Restart Service buttons are available, as shown in the following figure.

www.sangfor.com

163

IAM 11.2 User Manual

3.2 Proxy The IAM unit can function as a proxy server. By enabling and configuring this unit as a proxy server in a web browser, internal users can access to the Internet through that unit. Therefore, this unit can manage and control Internet activities.

3.2.1 Proxy Services Available proxy services include HTTP proxy, SOCKS4/SOCKS5 proxy and proxy auto-config (PAC) script.

www.sangfor.com

164

IAM 11.2 User Manual

To enable HTTP proxy, select the option Enable HTTP Proxy and configure proxy port. A maximum of 5 ports are allowed, separated by comma. To enable SOCKS4/SOCKS5 proxy, select the option Enable SOCKS4/SOCKS5 Proxy and configure proxy port. A maximum of 5 ports are allowed, separated by comma. To use PAC script, select the option Use Proxy Auto-Config (PAC) Script. A PAC script determines whether web browsers choose the proxy server for fetching a given URL. More specifically, only the access to the URLs specified in the script will use proxy. The script address is http://IAM_IP_Address/proxy.pac, for example, http://10.111.111.8/proxy.pac. To edit a PAC script, click Edit Script, as shown below:

On the above page, it provides the following operations: Import, Restore Defaults, Download Example. 1)

Import. It allows administrators to import an existing PAC file to the unit;

www.sangfor.com

165

IAM 11.2 User Manual

2)

Download example. It allows administrators to download a PAC script example;

3)

Restore defaults. It allows administrators to restore the current PAC script to defaults.

The PAC script can also be edited directly. To save and apply the changes, click Commit.

3.2.2 Proxies Proxies fall into three categories: HTTTP proxy, SOCKS4 proxy and SOCKS5 proxy, in order to meet various requirements. On the Proxies page, you can perform the following operations: Add, Delete, Enable, Disable, Move UP and Move Down.

3.2.2.1 HTTP Proxy To add a HTTP proxy, click Add, select HTTP Proxy and configure the fields on the following page:

www.sangfor.com

166

IAM 11.2 User Manual

Enable: Select this option to enable this HTTP proxy. Name: Specifies a distinguishable name for this HTTP proxy. Description: Description to this HTTP proxy. Object: It allows you to specify source IP group and destination domain for this HTTP proxy.

www.sangfor.com

167

IAM 11.2 User Manual

Source: Specifies the source IP group that this HTTP proxy is applicable to. The IP groups specified in Objects > IP Group are selectable. Default is the All group. Dst Domain: Specifies the destination domain names. Default is All. For specified domain name, it should meet the following requirements: 

Fully-qualified domain name is allowed. Note that if baidu.com is specified as the dst domain, it includes zhidao.baidu.com and music.baidu.com as well; if www.baidu.com is specified as the dst domain, the dst domain is www.baidu.com only.



Domain name cannot exceed 127 characters.



Number of entries is or less than 1000.

Options: It allows you to specify action, ICAP server groups, cascading proxy server and proxy IP address for this HTTP proxy.

Action: Specifies an action, Allow or Deny. Default is Allow. ICAP Server Groups: It determines whether to send data to ICAP server. You can select None, or one or more ICAP server groups. Default is None, which indicates that no data will be sent to ICAP server. To send data to a specific ICAP server group, select or add that ICAP server group. For more information about ICAP server group, refer to ICAP Server Groups section in this Chapter. Cascading Proxy Server: Default is None. To use cascading proxy, you can specify or add a cascading proxy server. For more information about cascading proxy server, refer to Cascading Proxy Servers section in this Chapter. Proxy IP: Specifies the IP address of the outgoing interface that proxy data go through. If you select Auto, proxy IP address will be automatically chosen. You can also select a specific IP address from the pull-down list. In the list, there are IP addresses of VLAN interfaces, WAN interfaces, bridge interfaces, DMZ interfaces, and interfaces for Single Arm mode (exclusive of IP addresses of LAN interfaces).

www.sangfor.com

168

IAM 11.2 User Manual

If this unit is deployed in Route mode, multiline is supported. If a specific proxy IP address is selected, a corresponding outgoing line will be chosen. If Auto is selected, the outgoing line is determined by policy-based routing.

3.2.2.2 SOCKS4 Proxy To add a new SOCKS4 proxy, click Add, select SOCKS4 Proxy and configure the fields on the following page:

Enable: Select this option to enable this SOCKS4 proxy. Name: Specifies a distinguishable name for this SOCKS4 proxy. Description: Description to this SOCKS4 proxy. Object: It allows you to specify source IP group for this SOCKS4 proxy. Source: Specifies the IP group. Default is the All group. You can also select one or more IP groups specified in Objects > IP Group. Options: It allows you to specify action and proxy IP address for this SOCKS4 proxy. www.sangfor.com

169

IAM 11.2 User Manual

Action: Specifies an action, Allow or Deny. Default is Allow. Proxy IP: Specifies the IP address of the outgoing interface that proxy data go through. If you select Auto, proxy IP address will be automatically chosen. You can also select a specific IP address from the pull-down list. In the list, there are IP addresses of VLAN interfaces, WAN interfaces, bridge interfaces, DMZ interfaces, and the interfaces for Single Arm mode (exclusive of IP addresses of LAN interfaces).

3.2.2.3 SOCKS5 Proxy To add a new SOCKS5 proxy, click Add, select SOCKS5 Proxy and configure the fields on the following page:

Enable: Select this option to enable this SOCKS5 proxy. Name: Specifies a distinguishable name for this SOCKS5 proxy.

www.sangfor.com

170

IAM 11.2 User Manual

Description: Description to this SOCKS5 proxy. Object: It allows you to specify source IP group. Source: Specifies the IP group. Default is the All group. You can also select one or more IP groups specified in Objects > IP Group. Options: It allows you to specify action and proxy IP address for this SOCKS5 proxy.

Action: Specifies an action, Allow or Deny. Default is Allow. Proxy IP: Specifies the IP address of the outgoing interface that proxy data go through. If you select Auto, proxy IP address will be automatically chosen. You can also select a specific IP address from the pull-down list. In the list, there are IP addresses of VLAN interfaces, WAN interface, bridge interfaces, DMZ interfaces, and the interfaces for Single Arm mode (exclusive of IP addresses of LAN interfaces ).



If none of the proxy services (HTTP proxy, SOCKS4 proxy and SOCKS5 proxy) is enabled, there is a prompt on Proxies page, reading No proxy will take effect, for no proxy service is enabled.



Proxy is matched from the top to the bottom and only one proxy will be matched by one connection.



A maximum of 512 entries are allowed.



Even though there is no proxy created but the proxy services(HTTP proxy, SOCKS4 proxy or SOCKS5 proxy) are enabled, the data will also go through the corresponding proxy server, because the data not configured any proxy are allowed to use proxy by default.

3.2.3 ICAP Server Groups Proxy data can be sent to an ICAP server from this unit, which can perform virus scanning and data loss prevention (DLP) against the proxy data. You can configure at most 64 ICAP server groups and each server group can contain one or more ICAP

www.sangfor.com

171

IAM 11.2 User Manual

servers. Servers in an ICAP server group are selected in turn, that is to say, requests are sent to each ICAP server in the server group by turns. An ICAP server is given an unique IP address and port, and must not exist in two different ICAP server groups.

To add a new ICAP server group, click Add and configure the following fields:

www.sangfor.com

172

IAM 11.2 User Manual

Name: Specifies a distinguishable name for this ICAP server group. Description: Descriptive information of this ICAP server group. Request Type: Options are POST and GET. Users’ requests can be modified on this unit, but responses from ICAP server cannot be modified. You can configure at most 32 ICAP servers for each ICAP server group, and perform operations against an individual server, such as enable, disable, delete. The Status column displays the status of individual ICAP servers, enabled or disabled.

To add an ICAP server, click Add Server and configure the following fields.

Name: Specifies a distinguishable name of this ICAP server. Description: Descriptive information of this ICAP server. Server IP: Specifies the address of this ICAP server. It cannot exceed 96 characters. IPv6 address is supported as well. www.sangfor.com

173

IAM 11.2 User Manual

Port: Specifies the port of this ICAP server. It should be an integer between 1 and 65535. Connection Timeout(s): Specifies the timeout of the connection. It should be an integer between 1 and 120 seconds. Max Connections: Specifies the maximum number of connections. It should be an integer between 4 and 100. Send: You can choose which information to be sent to ICAP server, src IP address, server address, authenticated user and groups. Negotiate: Click Negotiate to test the validity of the ICAP server and negotiate parameters with that server.

Interval: Specifies how often health check is performed. Default is 10 seconds. It should be an integer between 5 and 60 seconds. Health Check Method: Options are L4 health check and L7 health check. The former is used to check port, while the latter is used to check application, for example, a HTTP GET or HTTP HEAD request for a specific URL can be sent. Action: Specifies the action to be taken if error occurs on ICAP server, Reject client request or Allow client request.

3.2.4 Cascading Proxy Servers A cascading proxy server is required when this unit needs another proxy server to do proxy before gaining resources. To add a new cascading proxy server, click Add on Cascading Proxy Servers page in Proxy > Cascading Proxy Servers, and configure the fields on the following page:

www.sangfor.com

174

IAM 11.2 User Manual

Name: Specifies a distinguishable name of this cascading proxy server. Description: Descriptive information of this cascading proxy server. Server IP: Specifies IP address of this cascading proxy server. Port: Specifies the port of this cascading proxy server. Server Requires Authentication: If this option is selected, it indicates that the identity of this unit needs to be authenticated by this cascading proxy server. Therefore, username and password are required. To test connectivity between this unit and the cascading proxy server, click Test Validity. To save and apply the settings, click Commit.

3.2.5 Forward Forward is applicable to HTTP proxy, HTTPS proxy and SOCKS proxy. With help of Forward, the data destined to a specific IP address and port can be forwarded to a corresponding IP address and port. Therefore, when internal users access internal resources through the proxy server, requests could be forwarded to the corresponding LAN server directly. Note that destination address can be IP address or domain name, but forward IP address can only be IP address.

www.sangfor.com

175

IAM 11.2 User Manual

For example, configure a forward entry to forward the access to www.sangfor.com (through port 443) to the LAN server at 10.1.1.3 (through port 443). The corresponding configuration is as shown in the following page:

Health Check Options: You can specify health check method, L4 health check or L7 health check, and action in case that forward refuses to work, Stop forwarding data or Continue forwarding data. To perform L7 health check, HTTP or HTTPS probe packets are required. To specify health check interval, click Advanced Settings on Forward page, as shown below:

www.sangfor.com

176

IAM 11.2 User Manual

Interval (mins): The interval is global setting. It should be an integer between 5 and 60 minutes.

3.3 Object The objects defined on the Objects page are the basis for the device to perform online behavior filtering, online behavior audit, and traffic management. Application Signature and Advanced App Signature: All kinds of common online applications are defined. SANGFOR R&D personnel analyze the data characteristics and behavior characteristics of common applications and formulate related rules. Choose Access Mgt > Policies > Add > Access Control and then you can reference these two types of objects to control online applications. Based on the two types of application identification rules, SSL management, Internet access audit, and terminal reminders can be implemented. On the Bandwidth Mgt page, traffic control can be performed for different types of applications based on the application identification rules. On the Exclusion Rule page, you can choose not to measure and control the Internet access duration of some applications based on the application identification results. The Application Signature can be periodically updated by accessing the SANGFOR server. SANGFOR will periodically update the Application Signature on the server for recognizing the latest applications and versions on the Internet. On the Custom Application page, you can define application rules and set packet characteristics. If packet capturing and packet characteristics analysis capabilities are available, related rules can be defined on the Custom Application page. Generally you are not advised to define rules to avoid application identification errors caused by conflicts with the embedded application identification rules. Application identification errors will cause some control and audit functions to fail. The URL Database contains and classifies common URLs. Specifically, it contains the embedded URL Database of SANGFOR, URL Database defined by the customer, and intelligent URL identification library. Choose Access Mgt > Policies > Add > Access Control and then you can reference this type of objects to control URL access. On the Ingress Rule Database page, you can set Ingress rules, including detecting the client OS, processes, files, and registries. Encrypted IM chat contents can be audited through Ingress control. www.sangfor.com

177

IAM 11.2 User Manual

The Ingress rules set on the Ingress Rule Database page can be referenced on the page displayed after you choose Access Mgt > Policies > Ingress Policy, thereby implementing detection and control of client PCs. On the Services page, you can set network services based on conditions including port and protocol. This type of objects can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control. Network access data is controlled by detecting the port and protocol of packets. This type of objects can also be referenced on the page displayed after you choose System > Firewall > Firewall Rules. On IP Group, you can set IP groups, which can be referenced in setting IP address-based control. IP groups can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control, Bandwidth Mgt > Bandwidth Channel, or System > Firewall > Firewall Rules. On Schedule, you can set schedules. Most control functions on the device can be implemented based on time segments. You can set time segments on Schedule, which can be invoked in control policies. These schedule groups can also be referenced during behavior query and report statistics in the data center. The keywords set in Keyword Group can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control > Search Keyword. The file types set in File Type Group can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control > File Type, or Bandwidth Mgt > Bandwidth Channel.

3.3.1 Application Signature There are two types of application characteristics identification libraries. The first type of application identification rule aims to detect the application type of packets based on multiple conditions including the characteristic value or protocol, port, direction, packet length, and packet content. This type of rule can effectively detect application types that cannot be identified by port or protocol, such as Facebook and P2P applications. The first type of rules can be further divided into embedded rules and custom rules. Embedded rules cannot be modified and are updated by the device periodically. A license is required to authorize the update of embedded rules and Internet access must be available. Custom rules can be added, deleted, and modified. For details about custom rules, see section 3.3.3. SSL management, Internet access audit, terminal reminders, and traffic management are controlled and audited based on application identification results. Therefore, the application library is very important. An embedded application

www.sangfor.com

178

IAM 11.2 User Manual

identification library cannot be edited or deleted. Some applications can be disabled but those involving basic protocol identification cannot be disabled. The second type of application refers to URL groups defined on the page displayed after you choose Objects > Application Signature. URL groups are a sub-class of the Visited Websites type. This type is used to recognize websites visited by intranet users based on HTTP data. URL groups are classified into embedded URL groups and custom URL groups. URL groups cannot be edited or added in the Application Signature. Instead, they are reused here. To edit a URL group, choose Objects > Application Signature. For details, see section 3.3.4.

Application identification rules can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control, so as to control the application types and visited website types.

3.3.1.1 Viewing the Application Signature In the navigation area, choose Objects > Application Signature. The Application Signature pane is displayed on the right.

The value behind Total Applications indicates the total number of embedded application rules and URL groups on the device.

www.sangfor.com

179

IAM 11.2 User Manual

Current Database Released indicates the date of the embedded application identification library. Update Service Expires indicates the upgrade validity period of the embedded application identification library. Application classification labels are displayed on the Tags column. The application name is a type of additional classification information about applications. An application can belong to only one application class but can have multiple labels. For example, Xunlei Download belongs to the Download Tools class and have two labels: High Bandwidth Consumption and Reduce the Efficiency of Work. Labels may be referenced in defining Internet access policies, which facilitates Access Control. Click All and all application types will be displayed on the Application Signature pane on the right. The device has six embedded labels: Security risks, Send Email, High Bandwidth Consumption, Reduce the Efficiency of Work, Forum and Microblog Posts and Disclosure Risk. These embedded labels will be updated accordingly as the application identification library is updated. Applications with embedded labels cannot be deleted or added. To define labels, click Tags. All labels can be referenced on the page displayed after you choose Access Mgt > Policies > Add > Access Control. In Filter, select a rule type. Select All to filter all rules meeting the search condition, Enabled to filter enabled rules meeting the search condition, and Disabled to filter disabled rules meeting the search condition. In Search, input a search keyword, for example, Facebook, and press Enter, as shown in the following figure.

Click Database Manual Update to manually import application identification rule files to the device.

The procedure for adding a label and associate it with applications is as follows:

www.sangfor.com

180

IAM 11.2 User Manual

Click Tags, click Add, and enter the label name.

In the position for associating applications, click Select and select applications as required.

Click OK. A label is added and associated to applications successfully. www.sangfor.com

181

IAM 11.2 User Manual

3.3.1.2 Enabling/Disabling Application Identification Rules In the navigation area, choose Objects > Application Signature. The Application Signature pane is displayed on the right. Select an application (for details, see section 3.3.1.1). For example, to disable the application rule of transferring files through Facebook, filter out the applications for transferring files through Facebook, as shown in the following figure.

On the Status column, click Click

of an application to disable a type of application rule.

of an application to enable a type of application rule.

1. The application identification rules of some basic protocols cannot be disabled, such as HTTP. If a basic protocol is disabled, the data identification based on this protocol will be affected. Therefore, it is not allowed to disable such rules on the device. 2. In the Application Signature, the Mobile Applications maps application software running on mobile endpoints such as smartphones and tablets.

www.sangfor.com

182

IAM 11.2 User Manual

3. Some URL groups are not included in the application type Visited websites. Instead, they belong to the corresponding application type as web applications. For example, microblog URLs are included in the application type Microblog. If control of microblog applications is enabled in Internet access policies, the device can control the behaviors of accessing microblog applications by using a web browser, and behaviors of accessing microblog clients. The following figure shows the web-based applications.

3.3.2 Advanced App Signature The Advanced App Signature is used to recognize application types of all kinds of Internet access data. It differs from the Application Signature in the identification mode. The Advanced App Signature can recognize encrypted data, such as ciphertext or plaintext P2P applications, Skype, SSL, SANGFOR VPN www.sangfor.com

183

IAM 11.2 User Manual

data, web proxy, VoIP, and IM video and audio data. See the following figure.

3.3.2.1 Enabling/Disabling Advanced App Signature In the navigation area, choose Objects > Advanced App Signature. The Advanced App Signature pane is displayed on the right. On the Status column, click Click

of an application to disable a type of application rule.

of an application to enable a type of application rule.

3.3.2.2 Editing P2P Behavior Identification Rules P2P behavior identification rules are another type of application identification and are used for intelligent identification of P2P data that cannot be recognized in the Application Signature. P2P behavior rules can be edited. Click P2P Behavior and the rule editing dialog box is displayed.

www.sangfor.com

184

IAM 11.2 User Manual

You can select Enabled to enable this rule. Name: specifies the name of the intelligent identification rule. Category: specifies the application type to which the rule belongs. Description: specifies the description of the rule. The preceding three fields cannot be edited. In Sensitivity, you can set the sensitivity of the rule to high, medium, low, and very low. Errors may exist in intelligent identification of P2P applications. Therefore, you can set the sensitivity to improve the identification accuracy. You can adjust the sensitivity level based on the data identification conditions. For example, if there is a large amount of unrecognized data, the connected ports are all random high-end ports, and the destination IP addresses are unknown, the data may be unrecognized P2P data. In this case, you can set the sensitivity to a high level. If some application data is mistakenly recognized as P2P data, it may be because the sensitivity level is too high. To solve this problem, adjust the sensitivity to a lower level. In Excluded Port, set one or more ports that are to be excluded from scanning. If the destination port of data is an exclusion port, the device will not perform P2P identification for the data.

www.sangfor.com

185

IAM 11.2 User Manual

3.3.2.3 Editing Ultrasurf/Freegate Identification Rules Ultrasurf/Freegate identification rules can be edited. Click Ultrasurf/Freegate to display the rule editing dialog box.

You can select Enabled to enable this rule. Name: specifies the name of the intelligent identification rule. Category: specifies the application type to which the rule belongs. Description: specifies the description of the rule. The preceding three fields cannot be edited. In Sensitivity, you can set the sensitivity of the rule to high, medium, and low. Errors may exist in unbound browse/Freegate identification. Therefore, you can set the sensitivity to improve the identification accuracy. You can adjust the sensitivity level based on the data identification conditions. In the second notes point in the above figure, Settings will automatically link to the page displayed after you choose System > General > Update > Database Update. Then you can check whether the

www.sangfor.com

186

IAM 11.2 User Manual

application identification rule library is upgraded to the latest version. In the third notes point in the above figure, Settings will automatically link to the page displayed after you choose System > General > Global Exclusion. You can add the destination addresses of misjudged network applications to the global exclusion address list to reduce the misjudgment rate.

3.3.2.4 Editing Web Online Proxy Identification Rules Web online proxy identification rules can be edited. Click Web Online Proxy to display the rule editing dialog box.

You can select Enabled to enable this rule. Name: specifies the name of the intelligent identification rule. Category: specifies the application type to which the rule belongs. Description: specifies the description of the rule. In the second notes point in the above figure, Settings will automatically link to the page displayed after you choose System > General > Update > Database Update. In the third notes point in the above figure, Settings will automatically link to the page displayed after you choose System > General > Global Exclusion. You can add the destination addresses of misjudged network applications to the global exclusion address list to reduce the misjudgment rate.

www.sangfor.com

187

IAM 11.2 User Manual

3.3.3 Custom Application On the Custom Application page, you can define application identification rules. You can define applications that do not exist in the embedded Application Signature. Applications can be defined in terms of data direction, IP address, protocol, and port. In the navigation area, choose Objects > Custom Application. The Custom Application pane is displayed on the right.

3.3.3.1 Adding Custom Application Rules On the Custom Application page, click Add. In the Add Custom Application window, you can add custom application rules. Example: Traffic needs to be guaranteed for mails of the company (SANGFOR) but there is no such an application type. In this case, you can define a company mail application rule as follows: 1. Select Enabled and set basic application information, including the rule name, description, application type, and application name. You can select an existing type or define one.

2. Set the packet type.

www.sangfor.com

188

IAM 11.2 User Manual

Direction: specifies the direction of packets passing the device. The device will recognize data of the specified direction. Protocol: specifies the protocol type of data. In this example, mails are sent over TCP. Dst Port: specifies the destination port of data. In this example, mails are sent over the TCP 25 port. IP Address: specifies the source IP address, destination IP address, or destination IP address after proxy identification. Target Domain: specifies the destination domain name of packets. In this example, set this field to the domain name mail address of SANGFOR, for example, mail.sangfor.com.cn. 3. Click Commit. The setting of the rule is complete.

4. Set the priority of the defined rule. The embedded Application Signature also contains mail www.sangfor.com

189

IAM 11.2 User Manual

identification rules. If the embedded rules take precedence, data may be preferentially matched to embedded mail identification rules, instead of the custom rule. Therefore, set the custom rule to a higher priority. Specifically, select Give Priority to custom applications on the Custom Application page. 5. Choose Bandwidth Mgt > Bandwidth Channel and set a guaranteed channel for this application to ensure the bandwidth required for sending mails using the company mail address. For details, see section 3.6.3.1.

It is recommended that the destination port, IP address, and domain name be set when a custom rule is defined. If the identification conditions are too general, the custom rule may conflict with the embedded application identification rules. As a result, identification errors may occur, thereby causing some control and audit functions to fail.

3.3.3.2 Enabling, Disabling, and Deleting Custom Application Rules On the Custom Application page, select a custom rule and click Enable, Disable, or Delete.

3.3.3.3 Importing and Exporting Custom Application Rules Click Import to add a custom application rule. Click Export to export a custom application rule.

3.3.4 URL Database The URL Database is a collection of different types of URLs defined based on webpage contents. The URL Database aims to help the device identify websites to implement access control and traffic control for different types of websites. The URL Database contains a URL Database list and an

www.sangfor.com

190

IAM 11.2 User Manual

intelligent URL identification system. The URL Database list consists of embedded URL groups and custom URL groups. Embedded URL groups are periodically updated by SANGFOR on the server. The device visits the server over the Internet to update embedded URL groups. This type of update requires authorization. When embedded URL groups cannot meet the requirements, custom URL groups can be defined. The URL Database is reused in the Application Signature. Therefore, to filter the types of websites visited by intranet users, choose Access Mgt > Policies > Add > Access Control and set website types.

3.3.4.1 URL Database List The URL Database list consists of an embedded URL Database and a custom URL Database. The embedded URL Database is periodically updated by the device but the update must be authorized by using a license and Internet access must be available. In the custom URL Database, URLs can be added, deleted, and modified. For details, see section 3.3.4.1.2–3.3.4.1.4. In the navigation area, choose Objects > URL Database. Double-click on the URL Database page and then the update time and upgrade validity period of the embedded URL Database are displayed in the upper part of the page.

www.sangfor.com

191

IAM 11.2 User Manual

3.3.4.1.1 URL Lookup In the navigation area, choose Objects > URL URL Database. Click URL Lookup. In the URL URL Lookup window, enter a domain name and click Go. The URL type is displayed in the query result.

Fuzzy search is not supported in URL Lookup.

3.3.4.1.2 Adding URL Groups You can add a URL group to define URLs. On the URL Database page, click Add. The Add URL Category window is displayed, as shown in following figure.

www.sangfor.com

192

IAM 11.2 User Manual

Name: specifies the name of the URL group. Description: specifies the description of the URL group. In URL, add URLs as required. URLs can be matched using wildcards. In Domain Name Keyword, match a URL group based on a URL keyword. If a domain name contains the keyword, it is identified as the URL group. Domain name keyword matching has a lower priority than the embedded URL Database and custom URL Database.

1. The asterisk (*) can be used as a wildcard. For example, to set a URL to indicate a sub-page of Sina, including news.sina.com.cn, sports.sina.com.cn, and ent.sina.com.cn, enter *.sina.com.cn in URL. The asterisk (*) can be used to match a first-class domain name and can be placed only at the headmost of the URL, instead of in the middle of the URL. Otherwise, the URL is invalid. 2. After a custom URL group is added, an intelligent identification URL group with the same name will be added in the intelligent URL identification system.

3.3.4.1.3 Deleting URL Groups You can delete a custom URL group. An embedded URL group cannot be deleted. To delete a URL www.sangfor.com

193

IAM 11.2 User Manual

group, select a custom URL group on the URL Database and click Delete.

3.3.4.1.4 Modifying URL Groups You can modify a custom or embedded URL group. Specifically, you can modify the description, URLs, and domain name keyword of a custom URL group. However, you cannot modify the name, description, or existing URLs of an embedded URL group. You can only add URLs and domain name keywords. Click the name of a URL group and modify related information in the Edit URL Category window that is displayed. For details, see section 3.3.4.1.2.

3.3.4.1.5 Updating URL Groups On the URL Database List page, click Database Manual Update. In the window for selecting a file, select an embedded library file and click Open.

3.3.4.1.6 Importing and Exporting URL Database On the URL Database page, click Import & Export, choose Export, select the save path, and click OK to export all custom URL Database contents. www.sangfor.com

194

IAM 11.2 User Manual

Choose Import and upload a .csv file.

If the name of a URL group to be imported is duplicate with that of an existing URL group, the existing URL group will be overwritten. If the name of a URL group to be imported is unique, it is imported as a new URL group.

3.3.5 Ingress Rule Database Ingress detection involves detecting PCs on the intranet by using an Ingress program installed on the client. Detected contents include the OS, processes, files, and registries. Encrypted IM chat contents and files transmitted over QQ or MSN can be audited through Ingress control. On the Ingress Rule Database page, you can set detection (Ingress) rules, which will be applied on the page displayed after you choose Access Mgt > Policies > Ingress Policy. For details, see section 3.5.1.1.5. If an Ingress system is configured, a user can access the Internet only when related rules are met. When a user accesses the Internet for the first time, an Ingress control must be installed. Multiple Ingress rules are embedded into the device. You can also define Ingress rules as required.

3.3.5.1 Ingress Rules In the navigation area, choose Objects > Ingress Rule Database > Ingress Rules. On the Ingress Rules page, you can add or delete Ingress rules.

3.3.5.1.1 Adding Ingress Rules On the Ingress Rules page, click Add and choose a rule type, which may be Operating System Based www.sangfor.com

195

IAM 11.2 User Manual

Rule, Process Based Rule, File Based Rule, Registry Based Rule, Task Based Rule, or Other. See the following figure.

Adding Operating System Based Rules You can set rules for detecting the OS of clients. Access the Ingress Rules page, click Add and select Operating System Based Rule. The Operating System Based Rule page is displayed.

Name: specifies the name of the rule to be added. The length of the rule name must be equal to or shorter than 95 characters. Category: specifies the type of the rule. You can select a rule type from the drop-down list or enter a rule type. The length of the entered rule type must be equal to or shorter than 95 characters. www.sangfor.com

196

IAM 11.2 User Manual

Description: specifies the description of the rule. Required Operating System: lists the OS versions allowed on intranet PCs that need to access the Internet through the device. For example, SANGFOR requires that all PCs on the intranet need to run Windows XP and that SP4 must be installed on the PCs for protection against viruses. PCs that do not meet the requirements cannot access the Internet through the device. The settings are shown in the following figure.

In Action, you can select an operation to be performed on PCs that do not meet the rules. You can select Reject or Report only. If Report only is selected, the device will not take any actions for client data and logs will be recorded in the data center.

Adding Process Based Rules You can set rules for detecting processes running on clients. Access the Ingress Rules page, click Add and select Process Based Rule. The Process Based Rule page is displayed.

www.sangfor.com

197

IAM 11.2 User Manual

Name: specifies the name of the process rule to be added. Category: specifies the type of the rule. You can select an embedded rule type or define one. Description: specifies the description of the rule. Status: specifies the status of processes to which the rule is applied. If Running is selected, you can select Reject, Stop the process, or Report only from Action. If Not running is selected, you can select Reject, Stop the process, or Report only from Action. Process Name: specifies the full name of a process. No wildcard is supported. Window Name: specifies the full name of a window. No wildcard is supported. Program Path: specifies the installation path of the program. System environment variables are supported. See the following figure.

www.sangfor.com

198

IAM 11.2 User Manual

Status can be set to Running or Not Running. If Running is selected, you can set advanced conditions, including the MD5 value and program size of the process. See the following figure.

Adding File Based Rules You can set rules for detecting files on clients. Access the Ingress Rules page, click Add and select File Based Rule. The File Based Rule page is displayed.

www.sangfor.com

199

IAM 11.2 User Manual

Name: specifies the name of the rule to be added. Category: specifies the type of the rule. You can select an embedded rule type or define one. Description: specifies the description of the rule. Process Status: specifies the status of files to which the rule is applied. If File Exists is selected, you can select Reject, Delete file or Report only from Action. If File does not exist is selected, you can select you can select Reject, Delete file or Report only from Action. File Path: specifies the storage path of files. System environment variables are supported. See the following figure.

www.sangfor.com

200

IAM 11.2 User Manual

If Exist is selected, you can set advanced conditions. See the following figure.

You can set the MD5 value, file size, and number of days after which files are updated. Click OK.

Adding Registry Rules You can set rules for detecting registries on clients. Access the Ingress Rules page, click Add and select Registry Based Rule. The Registry Based Rule page is displayed.

www.sangfor.com

201

IAM 11.2 User Manual

Name: specifies the name of the registry rule to be added. Category: specifies the type of the rule. You can select an embedded rule type or define one. Description: specifies the description of the rule. Status: specifies whether an entry is available in the registry. If Specified item exists in registry is selected, you can select Reject, Delete entry or Report only from Action. If Specified item does not exist in registry is selected, you can select Reject, Delete entry or Report only from Action. Registry Item: specifies an entry, the path displayed on the left pane of the Required Registry Item window. Key: specifies the key of the entry. Value: specifies the value of the registry. Status can be set to Specified item exists in registry or Specified item does not exist in registry.

Adding Task BasedRules You can set scheduled tasks. The Ingress client invokes custom executable programs, JavaScript, and VBScript. You can set return values in these executable files. The Ingress client takes actions based on the return values. Access the Ingress Rules page, click Add and select Task Based Rule. The Task Based Rule page is displayed.

www.sangfor.com

202

IAM 11.2 User Manual

Name: specifies the name of the rule. Category: specifies the type of the rule. Description: specifies the description of the rule. Program Type: specifies the type of programs, which can be Executable program, Jscript, or Vbscript. Program Path: specifies the save path of the program script on the client. The path must be a network address for which all applicable users have the execution permission. Task: The task execution plan can be set to Start running periodically or Start running only once upon ingress program startup.

Responding: specifies whether to check the execution results of a task script. It can be set to Check returned results or Disabled. Responding Timeout: specifies the timeout duration for obtaining task execution results. www.sangfor.com

203

IAM 11.2 User Manual

If 1 is returned and If 2 is returned specify the operations to be performed for different results. The operation can be set to Log only, Alert, Reject, or Reject request and give alert.

Adding Others Access the Ingress Rules page, click Add and select Others. The Others page is displayed.

If Reject user who logs in as Administrator is selected, you can prevent clients from accessing the Internet as the super administrator.

3.3.5.1.2 Deleting Ingress Rules On the Ingress Rules page, select a custom Ingress rule and click Delete. In the displayed message asking for your confirmation, click Yes.

3.3.5.1.3 Modifying Ingress Rules On the Ingress Rules page, select a custom Ingress rule and click its name. In the dialog box for editing the Ingress rule, modify the settings as required except the rule name.

www.sangfor.com

204

IAM 11.2 User Manual

3.3.5.1.4 Editing Ingress Rules in Batches On the Ingress Rules page, select multiple custom Ingress rules and click Edit. You can edit only the rule type in batches.

www.sangfor.com

205

IAM 11.2 User Manual

3.3.5.1.5 Importing and Exporting Ingress Rules On the Ingress Rules page, select custom Ingress rules and click Export. Embedded Ingress rules cannot be exported. Click Import and select an Ingress rule file to import and Ingress rule.

3.3.5.2 Combined Ingress Rule You can combine Ingress rules in AND or OR relationships.

3.3.5.2.1 Adding Combined Ingress Rule In the navigation area, choose Objects > Ingress Rule Database > Combined Ingress Rule. On the Combined Ingress Rule page, click Add. The page shown in the following figure is displayed.

Name: specifies the name of the Combined Ingress Rule to be added. Category: specifies the type of the Combined Ingress Rule. Action: specifies the action to be performed if the rule is not met. It can be set to Reject or Report only. Logic: specifies the condition for the Combined Ingress Rule to take effect. A Combined Ingress Rule can be set to take effect when any member rule is effective or when all member rules are effective. When the specified member rule is met, the specified action will be performed. www.sangfor.com

206

IAM 11.2 User Manual

Ingress Rules: Select a custom rule and click Add to move it to the right pane. Example: The administrator requires intranet users to install Kaspersky or Rising. If an intranet user does not install either antivirus software, the user cannot access the Internet. 1. Set two Ingress rules for detecting Kaspersky and Rising. The device detects the processes of the antivirus software.

www.sangfor.com

207

IAM 11.2 User Manual

The actual antivirus software processes prevail. The process names provided in this example are for reference only. 2. Set a Combined Ingress Rule to combine the preceding two rules. According to the customer requirements, Internet access is allowed if either antivirus software is installed. Therefore, set Logic to Rules are with AND logic. The Combined Ingress Rule takes effect when neither antivirus software process is running. Set the action to Reject.

www.sangfor.com

208

IAM 11.2 User Manual

3. Associate the composite Ingress rule with an Internet Access Policy and associate the policy to users/user groups. For details, see section 3.5.1.1.6.

3.3.5.2.2 Deleting and Modifying Combined Ingress Rules On the Combined Ingress Rule List page, select a Combined Ingress Rule and click Delete. Alternatively, click the name of a Combined Ingress Rule and modify the settings as required except the rule name. See the following figure.

www.sangfor.com

209

IAM 11.2 User Manual

3.3.6 Service Service is referenced on the page displayed after you choose System > Firewall > Firewall Rules or Access Mgt > Policies > Add > Access Control > Service. On the Service page, define all types of services, including the ports and protocols used by the services. Then choose Firewall > Firewall Rules and determine the filtering rule based on the defined services, or choose Access Mgt > Policies > Add > Access Control > Service and determine the Internet access permission based on the defined services. In the navigation area, choose Objects > Service. The Service pane is displayed on the right.

www.sangfor.com

210

IAM 11.2 User Manual

On the Service page, click Add. The Service window is displayed.

Service Name: specifies the name of a service to be defined. Services: specifies the service protocol type and port number. Click TCP, UDP, ICMP, and Others in turn and enter the corresponding port in the text box in the lower part. Click Commit. The setting of a network service is complete.

After clicking Others, you can enter a protocol ID. The protocol ID 0 indicates all protocols.

www.sangfor.com

211

IAM 11.2 User Manual

3.3.7 IP Group On the IP Group page, you can define an IP address group that contains a collection of IP addresses. The IP address group can be an IP address segment on the intranet, an IP address range on the public network, or all IP addresses. The IP groups defined on the IP Group page can be used for the following purposes: 

Used for defining source and destination IP addresses of Firewall Rules on the page displayed after you choose Firewall > Firewall Rules.Used for defining destination IP addresses on the page displayed after you choose Access Mgt > Policies > Add > Access Control > Service.



Referenced on the page displayed after you choose Bandwidth Mgt > Bandwidth Channel.

In the navigation area, choose Objects > IP Group. The IP Group pane is displayed on the right.

Click Add. The Edit IP Group window is displayed.

Name: specifies the name of the IP group to be added. Description: specifies the description of the IP group.

www.sangfor.com

212

IAM 11.2 User Manual

IP Address: specifies the member IP addresses of the IP group. Enter an IPv6 address or an IPv6 address range in each row. The IP address range format is start address–end address, for example, 192.168.0.1-192.168.0.100. Resolve Domain: a button used for resolving the IP addresses of some domain names. Resolved IP addresses will be automatically added to the IP address list.

The domain name parsing function requires Internet access.

3.3.8 ISP On the ISP page, you can set the IP address segment of the network carrier. This IP address segment is invoked during multiline routing in policy-based routing.

Click Delete to delete the selected Internet service provider (ISP) address library. Click Add to add an ISP address library. The configuration page is shown in the following figure.

www.sangfor.com

213

IAM 11.2 User Manual

Name: specifies the name of the ISP. Description: specifies the description of the ISP address library. IP Address: specifies the IP segment of the ISP (carrier). WHOIS: specifies the WHOIS flag of the ISP address segment. A WHOIS flag uniquely identifies the address of a carrier. Auto Update: specifies whether to automatically update the ISP address library. Automatic update is enabled by default.

WHOIS Server: specifies the server for updating the ISP address library.

www.sangfor.com

214

IAM 11.2 User Manual

Update Internal: specifies the automatic update interval. It can be set to Every day, Every week, or Every month. Latest Updated: indicates the latest update time. Latest Message: indicates the number of ISP address segments updated recently.

By default, the device contains four ISP address libraries: China Unicom, China Telecom, China Mobile, and education network.

3.3.9 Schedule On the Schedule page, you can define common time segment combinations, which can be referenced when you setting the validation and expiration time of rules on the page displayed after you choose Firewall > Firewall Rules, Access Mgt > Policies, or Bandwidth Mgt > Bandwidth Channel. In the navigation area, choose Objects > Schedule. The Schedule pane is displayed on the right, as shown in the following figure.

Click Add. The Schedule page is displayed.

www.sangfor.com

215

IAM 11.2 User Manual

Name: specifies the name of the schedule group to be added. Description: specifies the description of the schedule group. Date: specifies the validation date and expiry date. A maximum of 10 dates can be set. Click Settings. The schedule configuration page is displayed, as shown in the following figure.

Included: a date within the specified included date segment can match the schedule group. Excluded: a date that is not within the specified excluded date segment can match the schedule group. This field can be used to exclude holidays and festivals. Click Add to set a time segment. See the following figure.

www.sangfor.com

216

IAM 11.2 User Manual

You can add multiple discontinuous time segments. To delete a time segment, select it and click Delete. Defined time segments are displayed in Preview. The horizontal coordinate indicates the time point and the vertical coordinate indicates the date range.

3.3.10 Keyword Group You can set and group keywords, which can be used to restrict search and uploading on the page displayed after you choose Access Mgt > Policies > Add > Access Control > Search Keyword. In the navigation area, choose Objects > Keyword Group. The Keyword Group pane is displayed on the right.

Click Add. The Edit Keyword Group page is displayed.

www.sangfor.com

217

IAM 11.2 User Manual

Name: specifies the name of the keyword group to be added. Description: specifies the description of the keyword group. Keyword: Each row on the table is considered an independent keyword. It is considered matched if any keyword is matched. A maximum of five keywords can be entered in a row, which need to be separated with a comma (,). If multiple keywords are entered in a row, it is considered matched if all the keywords are matched.

3.3.11 File Type Group On the File Type Group page, you can define file types as required, which can be used to restrict the upload and download of HTTP and FTP files on the page displayed after you choose Access Mgt > Policies > Add > Access Control > File Type, or used to set traffic control based on file types on the page displayed after you choose Bandwidth Mgt > Bandwidth Channel. In the navigation area, choose Objects > File Type Group. The File Type Group pane is displayed on the right.

www.sangfor.com

218

IAM 11.2 User Manual

Click Add. The Add File Type Group window is displayed, as shown in the following figure.

Name: specifies the name of the file type group. Description: specifies the description of the file type group. File Extendsions: specifies the file types. Enter the file name extensions, such as *.mp3 or mp3.

3.3.12 Location On the Location page, you can classify locations by wireless network, IP segment, or VLAN. In the navigation area, choose Objects > Location. The Location pane is displayed on the right.

www.sangfor.com

219

IAM 11.2 User Manual

Click Add. The Location window is displayed, as shown in the following figure.

Name: specifies the name of the location group. Description: specifies the description of the location group. Type: specifies the type of the location group, which can be set to IP Segment, or VLAN. IP Segment: You can select an IP group or enter an IP address range. Only one IPv6 address or IP address segment can be entered in each row.

www.sangfor.com

220

IAM 11.2 User Manual

VLAN: Enter a VLAN ID, one in each row.

Location objects can be imported and exported. You can export location objects in .inf format. Location objects can also be searched by IP address. Location objects cannot be searched by VLAN ID or wireless network. When you search location objects by IP address, the IP address segment needs to be displayed. For example, location object A is 2.2.2.2–5.5.5.5. If you search for 3.3.3.3, location object needs to be displayed.

Location objects can be referenced by Internet access policies and traffic control policies, but www.sangfor.com

221

IAM 11.2 User Manual

cannot be referenced by authentication policies. A user belongs to only one location. User locations will be recorded when logs are kept. Location objects cannot be duplicate. There are three types of location objects: SSID, IP segment, and VLAN. You can set location objects of the same type to be unique but cannot set location objects of different types to be unique. For example, the IP address of an SSID may be contained in the location defined by an IP segment. If there are duplicate location objects of different types, the device can identify location objects by SSID, IP address, and VLAN in turn. A maximum of 1000 location objects are supported.

3.4 Users On the User page, you can manage intranet users and set the Auth Method of intranet users. Users defined on the device are end users on the intranet. User is the basic unit in network permission assignment. The administrator of the IAM can manage users on the user management page in a unified manner, and configure the Auth Method and authentication server on the user authentication page.

3.4.1 Working Principle The following sections introduce the basic concepts involved in user management and authentication.

3.4.1.1 Users Type Users on the IAM are classified into three types: local users, AD domain users, and temporary users. Local users: users that can be management and configured on the page displayed after you choose Users > Local Users > Local Users. Local users can be added in the following ways: 1.

Manually created by the console administrator.

2.

Set on the Authentication Policy page and automatically added after authentication (including users that do not require authentication, users authenticated on a third-party server, and SSO users).

3.

Users imported by using the import function.

www.sangfor.com

222

IAM 11.2 User Manual

4.

Users synchronized to the IAM by using the automatic synchronization function on the user management page.

AD domain users: If there is an AD domain on the intranet and the IAM needs to work with the AD domain server for third-party authentication and SSO authentication, the IAM will obtain users of the AD domain and the organization structure in real time. The organization structure on the IAM is the same as that in the AD domain. AD domain users can be managed on the page displayed after you choose Users > Local Users > Domain User. AD domain users are not synchronized to the IAM. Therefore, they cannot be deleted or moved on the IAM. Instead, you can associate Internet access policies and traffic control policies with this type of users. Temporary users: users authenticated by the IAM but not included in the organization structure on the IAM. This type of users will not be displayed on the page displayed after you choose Users > Local Users.

The following introduces how to configure an Internet Access Policy for temporary users. Network access permission is specified on the Authentication Policy page. As shown in the following figure, select a group in Add Non-Local/Domain Users to Group. Then the Internet Access Policy of the specified group will be applied to temporary users.

www.sangfor.com

223

IAM 11.2 User Manual

3.4.1.2 User Authentication On a traditional network device, the basic management unit is IP address. However, on an online behavior management device, the basic management unit is user. Compared with IP address-based management, user management is more intuitive and accurate. To implement user management, the device needs to know which user is using an IP address at a specific time point. Therefore, the device needs to authenticate users to implement user-based online behavior management. You can set the Auth Method of intranet users on the page displayed after you choose Users > Authentication Policy. Users can be classified into the following types based on the Auth Method: 1.

Password-authenticated users

Before accessing the Internet, the browser of a user will be redirected to the authentication page, and the user needs to enter the correct username and password to access the Internet. Password based includes Local Password Based, authentication by an external authentication server, SMS Based Authentication, WeChat Based Authentication, and QR Code Based Authentication. 2.

SSO users

If an authentication system is deployed on a network, the system can integrate with the authentication system to identify which user is using an IP address. When this user accesses the Internet, the user does not need to enter the username and password, thereby facilitating Internet access for users. The supported SSO types are listed as follows: SSO integrated with Microsoft Active Directory domain. For details, see section 3.4.2.3.1. SSO integrated with the Radius server. For details, see section 3.4.2.3.2. SSO integrated with the proxy server. For details, see section 3.4.2.3.3. SSO integrated with the POP3 mail server. For details, see section 3.4.2.3.4. SSO integrated with Web table authentication. For details, see section 3.4.2.3.5. SSO integrated with other third-party devices such as Ruijie SAM system, H3C CAMS system, and the Web authentication system of CITY HOT. For details, see section 3.4.2.3.6. SSO integrated with other SANGFOR devices. For details, see section 3.4.2.3.7. SSO integrated with the database server. For details, see section 3.4.2.3.8. 3.

Users identified by IP address, MAC address, or computer name

Users can be identified by the source IP address and source MAC address of packets, and computer

www.sangfor.com

224

IAM 11.2 User Manual

name of the terminal. In this identification mode, the device will not prompt for the username and password before they access to the Internet. The device is invisible to users. The disadvantage is that no password is required for authentication, compromising the security. 4.

Users that are restricted from Internet access

On the Authentication Policy page, you can specify a list of IP addresses or MAC addresses that cannot pass authentication on the IAM thereby restricting these users from Internet access. 5.

USB Key-authenticated users

User information stored in the USB Key can be submitted for authentication. The device identifies users based on the USB Key authentication information. USB Key authentication has the highest priority. If a USB Key is inserted into a computer that has been authenticated in other ways, the computer will change to the USB Key Auth Method for Internet access. There are two types of USB Keys: Open Authentication Key and Permission Key. In addition to the authentication function, a Permission USB Key can enable users to be exempted from audit and control. All online behaviors of users will not be audited and no control policy is effective for users.

3.4.2 Authentication The Authentication page consists of four modules: Authentication Policy, External Auth Server, Single Sign-On, and Custom Webpage. You can set the Auth Method and authentication server of intranet users.

3.4.2.1 Authentication Policy 3.4.2.1.1 Overview Before accessing the Internet, all users need to pass identity authentication. Authentication Policy specifies the Auth Method of computers on an IP address segment, network segment, or MAC address segment. You can set the Auth Method of intranet users and the policy for adding new users. Authentication policies are matched from top down one by one. You can adjust the priorities of authentication policies by moving them up or down. You can configure different Auth Methods for different network segments. The Auth Methods supported by the device are listed as follows: 1.

Open Auth

2.

Password based: including Local Password Based, authentication by an external authentication

www.sangfor.com

225

IAM 11.2 User Manual

server, SMS Based Authentication, WeChat Based Authentication, and QR Code Based Authentication 3.

SSO

4.

Disabled (restricted from Internet access)

5.

USB Key authentication

USB Key-authenticated users can be directly added on the page displayed after you choose Users > Advanced > USB Key Users. No authentication policy needs to be independently set for USB Key users. USB Key authentication has the highest priority. A USB Key-authenticated user can forcibly log out another user authenticated in another mode. If an IP address or MAC address range is prevented from authentication, a USB Key users cannot be successfully authenticated by using any of these IP addresses or MAC addresses. Open Auth, Password based, SSO, and Disabled are set in authentication policies. The Auth Method of a user is determined by matching the IP address or MAC address range specified in authentication policies. The following describes these Auth Methods: 6.

Open Auth

If authentication is opened, the device will identify users based on the source IP address and source MAC address of packets, and the hostname of endpoints. In this mode, the device will not prompt for the username and password before users accessing the Internet. The device is invisible to users. 7.

Password based

The Password based procedure is as follows: 1. The browser is redirected to the authentication page. 2. On the authentication page, select an Auth Method. Four Auth Methods are displayed because local authentication server, WeChat Based Authentication server, QR Code Based Authentication server, and SMS Based Authentication server are selected in authentication policies. Each authentication server maps an Auth Method.

www.sangfor.com

226

IAM 11.2 User Manual

Password based falls into two types: Local Password Based and Password based on an external server. The external server can be an LDAP server, Radius server, or POP3 server. Perform the following steps before conducting Password based on an external server: 1)

Choose Users > Authentication > External Auth Server and set related server information.

2)

Choose Users > Authentication Policy > Auth Method, select Password based, and select an external authentication server.

The Password based procedure is as follows: 3)

On the authentication page, select Password based and enter the correct username and password. For example, enter the username test and password password.

4)

The system searches for user test among local users. If the user exists and has a local password (Local user database is selected in user properties), the system checks whether

www.sangfor.com

227

IAM 11.2 User Manual

the local password of this user is correct. If yes, the authentication succeeds. If no, the authentication fails. 5)

If the user does not exist in Local user database, but Local user database and external authentication server are selected in user properties, the system will check whether the username and password are correct on the external authentication server. If multiple external authentication servers are selected, the system will perform the check on all selected servers. If any server returns an authentication success message, the user is authenticated successfully. If no server returns such a message, the authentication fails.

To sum up, the system performs local authentication first and then external authentication. SMS Based Authentication: In SMS Based Authentication, the SMS modem or gateway connected to the IAM will send an SMS message to users, and users can access the Internet by entering the verification code carried in the SMS message. Before performing SMS Based Authentication, perform the following steps: 6)

Choose Users > Authentication > External Auth Server and set related information about the SMS server.

7)

Choose Users > Authentication Policy > Auth Mode, select Password based, and select the SMS Based Authentication server.

The SMS Based Authentication procedure is as follows: 8)

On the authentication page, select SMS Based Authentication, enter the mobile phone number, and click Send.

9)

Enter the verification code carried in the SMS message and click Log In.

The username displayed on the IAM is the mobile phone number. www.sangfor.com

228

IAM 11.2 User Manual

WeChat Based Authentication Unauthenticated users can click perform authentication by following either of the following processes: 

Tap authentication process: A user accesses a Wi-Fi hotspot. The browser displays a Portal page. The user follows the WeChat account for authentication.



Scan authentication process: A user starts WeChat and scans the QR code of a store. The authentication page is automatically displayed. Before performing WeChat Based Authentication, perform the following steps: 10) Choose Users > Authentication > External Auth Server and set related information about the WeChat server. 11) Choose Choose Users > Authentication Policy > Auth Mode, select Password based, and select the WeChat Based Authentication server.

QR Code Based Authentication: Usually this Auth Method applies to visitors. When the system redirects to the authentication page, a user needs to select QR Code Based Authentication. Then a QR code is displayed. The user needs to find an authenticated mobile phone and scan the QR code for authentication. Before performing QR Code Based Authentication, perform the following steps: 12) Choose Users > Authentication > External Auth Server and set related information about QR Code Based Authentication. 13) Choose Users > Authentication Policy > Auth Mode, select Password based, and select the QR Code Based Authentication server. The mobile user that scans the QR code must be the user selected in QR Code Based Authentication > Authenticator. Other users do not have the approval permission. 8.

Single Sign-On (SSO)

If the customer has a third-party authentication server available for authenticating intranet users, intranet users can be authenticated by the device when being authenticated by the third-party authentication server through SSO. In addition, the users can obtain relevant Internet access permission. The same username and password are used for authentication on the IAM and the third-party authentication server. The supported SSO types include AD domain SSO, Radius SSO, proxy SSO, POP3 SSO, Web SSO, database SSO, and SSO on SANGFOR devices and other third-party devices, such as Ruijie SAM system, H3C CAMS system, and HTTP/HTTPS authentication system of CITY HOT. Before performing SSO, perform the following steps:

www.sangfor.com

229

IAM 11.2 User Manual

1)

Choose Users > Authentication > External Auth Server and set information about the external authentication server on which SSO is enabled.

9.

2)

Choose Users > Authentication > Single Sign-On and set related SSO information.

3)

Choose Users > Authentication Policy > Auth Mode, and select Single Sign-On.

Disabled (requests are rejected always)

If authentication is not allowed, users within the IP address or MAC address range cannot be authenticated on the IAM for Internet access. In otherwise, these users are restricted from Internet access. SSO users and USB Key users cannot be authenticated for Internet access.

3.4.2.1.2 Adding Authentication Policies Choose Users > Authentication Policy.

Click Add and add an authentication policy, as shown in the following figure.

www.sangfor.com

230

IAM 11.2 User Manual

Select Enable to enable the authentication policy. Name: specifies the name of the authentication policy. Description: specifies the description of the authentication policy. Objects: specifies the objects to which the authentication policy is applicable. The authentication scope is an IP address range, MAC address range, or VLAN ID range. IP/MAC Address: specifies an IP address range, MAC address range, or VLAN ID range. The Auth Method specified in the policy is used for users in the specified address range. Auth Method: specifies the Auth Method of users in the authentication scope. The following describes the configuration items of different Auth Methods. 1.

Configuration items of Open Auth:

Select Open Auth in Auth Method. When a user accesses the Internet, the device will identify the user based on the source IP address and source MAC address of packets, and the computer name of the terminal. No authentication dialog box is displayed. The device is invisible to the user. In Username, select a username to be used after authentication. You can choose to use the IP address, MAC address, or hostname as the username.

 Configuration items of Password based: Select Password based in Auth Method. When a user opens a webpage, the user will be redirected to an authentication page. The user needs to be authenticated before accessing the Internet. Section 3.4.1.2 introduces five types of Password based: Local Password Based, Password based on an external server, SMS Based Authentication, WeChat Based Authentication, and QR Code Based Authentication. You can select only Local user database in Auth Server, which means Local Password Based. To select another authentication server, choose Users > External Auth Server and select an authentication server. For details, see section 3.4.2.2. To use Local Password Based, choose Users > Local Users and add a user. For details, see section 3.4.3.1. www.sangfor.com

231

IAM 11.2 User Manual

In Authentication Policy, define the authentication page to be displayed when a user attempts to access the Internet. Choose Users > Custom Webpage and manage and customize an authentication page. For details, see section 3.4.2.4.

In Login Redirection, specify the page to which the user jumps to after being authenticated by using a password. The configuration page is shown in the following figure.

On the page for setting a webpage to which an authenticated user jumps, select Previously visited webpage and the user will jump to the webpage requested before authentication. If Specified URL is selected, the user will jump to the custom webpage after authentication. If Login successful webpage is selected, the user will jump to the authentication successful page after www.sangfor.com

232

IAM 11.2 User Manual

authentication, as shown in the following figure. The login username and authentication result are displayed. Click Logout to log out this user. Click Traffic Statistics to view the traffic statistics of users. If both Login successful webpage and Log Out user if the page is closed are selected, the user will be logged out after the authentication page is closed.

 Configuration items of SSO: Select Single Sign-On (SSO) in Auth Method. If the customer has a third-party authentication server available for authenticating intranet users, intranet users can be authenticated by the device when being authenticated by the third-party authentication server through SSO. In addition, the users can obtain relevant Internet access permission. The SSO process is transparent to intranet users.

www.sangfor.com

233

IAM 11.2 User Manual

Before performing SSO, perform the following steps: 2.

Choose Users > External Auth Server and set information about the external authentication server on which SSO is enabled. This step is not required for some SSO modes. For details, see section 4.1.

3.

Choose Users > Single Sign-On and set related SSO information.

Users that fail SSO can be handled in any of the following ways: 4.

Open authentication: If SSO fails, users do not need to perform authentication and can access the Internet by using the IP address, MAC address, or computer name.

5.

Password based: If SSO fails, an authentication page is displayed and only authenticated users can access the Internet.

6.

Go To: If SSO fails, users will jump to the specified page.

Predefined webpage can be selected when SSO is integrated with Active Directory. The page prompts users to use SSO and provides an authentication tool. Users can manually run this tool and perform authentication using SSO integrated with Active Directory. If Predefined webpage is selected, the predifined webpage will be displayed when users attempt to open a webpage after SSO fails.

www.sangfor.com

234

IAM 11.2 User Manual

 Configuration items of Disabled: Select Disabled (requests are rejected always) is selected in Auth Method. Users in the specified scope cannot be authenticated on the IAM and are restricted from accessing the Internet through the IAM. On the Action page, specify the follow-up operations to be performed after authentication. In Add Non-Local/Domain Users To Group, specify a group whose permission is used for Internet access by non-local users and non-Active Directory users after authentication. The Internet Access Policy of this group is also applied to these users. Add user account to local user database specifies whether to automatically add non-local users and non-AD domain users to the local organization structure on the IAM after authentication. If Add user account to local user database is selected, authenticated users will be added to the group specified by Add Non-Local/Domain Users To Group. You can also specify whether authenticated users are added to the local organization structure as public users or private users. Automatic binding specifies whether to automatically synchronize the binding relationships between usernames and IP/MAC addresses of authenticated users, including local users, domain users, and new users.

www.sangfor.com

235

IAM 11.2 User Manual

If Automatic binding is selected, IP addresses of users are recorded after login. When the users access the Internet through the IAM again within the Open Auth validity period, no authentication is required if the IP addresses are consistent with the recorded ones. If Bind IP to MAC Address is selected, MAC addresses of users are recorded after login. When the users access the Internet through the IAM again within the Open Auth validity period, no authentication is required if the MAC addresses are consistent with the recorded ones. Click Advanced. Enable user whitelist/blacklist: specifies the scope of users that access the Internet by using this authentication policy. Certain users can be allowed to log in and some can be restricted from login. Show Terms of Use: Users meeting the Open Auth policy can access the Internet without authentication. You can select this option so that a reminder page is displayed before such users access the Internet. Terms of Use with Slideshow: This item is available in advanced options when the Auth Method is SSO or Open Auth. If Terms of Use with Slideshow is selected, SSO users and authentication-free users will be redirected to the disclaimer page when they access a webpage.

www.sangfor.com

236

IAM 11.2 User Manual

After setting the authentication policy, click Commit to save the settings.

3.4.2.1.3 Deleting Authentication Policies The following is an example of deleting a new user authentication policy named test. 1. Select Test.

2. Click Delete and confirm your operation in the displayed dialog box. The policy is deleted successfully.

3.4.2.1.4 Editing Authentication Policies in Batches You can edit all attributes of authentication policies except the name and authentication scope in batches. Example: Change the Auth Method of test1 and test2 to Open Auth, take hostname as the username, www.sangfor.com

237

IAM 11.2 User Manual

incorporate new users to the local organization structure and add them to the engineer group. The procedure is as follows: 1. Select test1 and test2.

2. Click Edit. The page for editing authentication policies in batches is displayed. In Auth, select Open Auth. In Username, select Take hostname as username.

In Action, select Engineer Group from Add Non-Local/Domain Users to Group. Select Add user account to local user database. Then new users are automatically added to the engineer group, with the computer name as the username.

www.sangfor.com

238

IAM 11.2 User Manual

3. Click Commit.

During Edit, if only the Auth Method is edited, the follow-up processing policies remain unchanged after batch editing. If only Action information is edited, the Auth Method remains unchanged.

3.4.2.1.5 Adjusting Priorities of Authentication Policies Authentication policies are displayed in descending order of priority. A smaller priority value indicates a higher priority. Authentication policies are matched from top down. If the IP address, MAC address, VLAN ID, and terminal scope meet a policy, the Auth Method of this policy takes effect. Select an authentication policy for which the priority is to be adjusted.

Click Move Up or Move Down. www.sangfor.com

239

IAM 11.2 User Manual

Or click Move To and set the priority of the policy.

3.4.2.1.6 Importing Authentication Policies If there are many authentication policies, you can import them from a .csv table. As shown in the following figure, click Example File and edit authentication policies based on the format of the example file.

Example file:

Edit the policy file to be imported based on the example file, click Import, and select the policy file.

3.4.2.2 External Auth Server On the External Auth Server page, you can set information about a third-party authentication server. The IAM is compatible with nine external authentication servers: SMS, WeChat, QR code, LDAP, RADIUS, POP3, Database, H3C CAMS, and third-party auth system. As shown in the following figure, add the corresponding authentication server for an Auth Method that needs to be used on the IAM.

www.sangfor.com

240

IAM 11.2 User Manual

To set sync interval(1-24 hours), click LDAP Options, as shown below:

To synchronize data with all LDAP servers, click Sync with all LDAP servers.

3.4.2.2.1 SMS Based Authentication In SMS Based Authentication, the SMS modem or gateway connected to the IAM will send an SMS message to users, and users can access the Internet by entering the verification code carried in the SMS message. Before performing SMS Based Authentication, add a SMS server on the External Auth Server page and set related parameters correctly. Click Add and choose SMS Based Authentication.

www.sangfor.com

241

IAM 11.2 User Manual

Name: specifies the name of the SMS server. Message Content: specifies the content of an SMS message that is sent to notify a verification code. The validity period of a verification code is 10 minutes. Click Restore Defaults to restore the default content.

www.sangfor.com

242

IAM 11.2 User Manual

Bind user with MAC and enable open authentication if user has logged in: If this option is selected, after a user is authenticated successfully on a terminal, the IAM records the login information about this user and automatically binds the user with the MAC address. Then this user can access the Internet from the same terminal without authentication. Period (days): specifies the validity period of Open Auth. Message Delivery Module: specifies the module for sending SMS messages. There are two options: Use built-in SMS module and Use SMS module installed on external server. 1.

Select Use built-in SMS module in the following cases:

2.

SMS messages are sent by a SMS modem, which is directly connected to the serial port of the IAM.

SMS messages are sent by an external SMS gateway or server. 3.

Select Use SMS module installed on external server when SMS messages are sent by an SMS modem, which is not directly connected to the IAM but to another PC.

In this case, the SMS sending program needs to be installed on the PC. Click Download to download the program. After installation, enter the Server IP address and the SMS Center Port. Settings: Set parameters for sending SMS messages. Type: specifies the type of gateway for sending SMS messages. GSM Modem: A GSM card is installed. CDMA Modem: A CDMA card is installed. The SMS gateway types of different carriers are listed in the Type drop-down list, including China Mobile v2, China Mobile v3, China Unicom, and China Telecom v3. HTTP is selected when the Webservice gateway is used.

If a GSM modem is selected in Type, set the parameters shown in the following figure.

www.sangfor.com

243

IAM 11.2 User Manual

SMS Center: ID of the SMS center of the carrier corresponding to the SMS modem. COM Port: serial port used by the SMS modem. The value options include COM0, COM1, and COM2. COM Baud Rate: The default baud rate is 115200, which is applicable to the SMS modem of the IAM. No other baud rate can be selected. An incorrect baud rate will cause failures in sending SMS messages. Type: If any of China Mobile v2, China Mobile v3, China Unicom, or China Telecom v3 is selected, set the following parameters: In Server Address, enter the IP address of the SMS gateway. In Server Port, enter the listening port of the SMS gateway. Set Corporate Code, Service Code, SP No., No., Username, and Password based on the information provided by the service provider.

In Type, select HTTP. Generally the customer will provide a Webservice gateway. The IAM transmits some parameters to a URL of the server, and the SMS gateway sends SMS messages based on the www.sangfor.com

244

IAM 11.2 User Manual

received parameters. In URL, enter the URL of the interface for receiving SMS parameters. Set Encoding, SOAP Version, and Request Type based on the server type. Click SMS Message Template and configure an SMS message template sent by the IAM to the SMS server. The template is provided by the maintenance personnel of the SMS server and imported on the page shown below.

Click Test Validity. The page for sending a test SMS message is displayed.

To test whether the SMS modem or gateway can send SMS messages normally, enter a mobile phone number for receiving the SMS message and click Commit to send a test message.

SANGFOR has two types of SMS modems: GSM modem and CDMA modem, as shown in the following figure.

www.sangfor.com

245

IAM 11.2 User Manual

3.4.2.2.2 WeChat Based Authentication Before performing WeChat Based Authentication, add a WeChat server on the External Auth Server page and set related parameters correctly. Click Add and choose WeChat Based Authentication.

www.sangfor.com

246

IAM 11.2 User Manual

A link for downloading the WeChat Based Authentication deployment guide and example code is provided. Name: name of the WeChat server. Company Abbreviation: a character string that uniquely identifies a customer. This field can be used to check whether the public WeChat account followed by users is correct. You need to set the SALT field in the config.php file on the third-party server must be set to the same character string. Follow us on WeChat: After a user follows the public WeChat account, the user clicks Start Access or send the letter "W" for authentication. This Internet access scheme has two scenarios: Scenario 1: Code needs to be deployed on a server (service account and subscription account supported). In this case, the development mode needs to be enabled for the public WeChat platform. Code needs to be deployed on a local or leased server for responding to all kinds of events. For details about the deployment description and code, see the example code. Scenario 2: No code needs to be deployed (service account and subscription account supported). In case of interworking with a third-party WeChat platform, such as Weimob and Weigou, you need to set related parameters, as shown in the following figure.

www.sangfor.com

247

IAM 11.2 User Manual

If a third-party platform is used, no SANGFOR code needs to be deployed. The user ID is extracted from the URL or cookie and no check is performed. WeChat service providers, such as Weimop and Weigou, cannot modify the service code but can extract user IDs from the URL or cookie. For details about the configuration method, see the developer document and a link for downloading the document is provided. Scan QR code: A user can access the Internet after scanning the QR code to follow the public WeChat account. WeChat ID: Log in to the public WeChat platform and choose Settings > Account Info to view the original ID. Click Download QR Code to download a QR code, which can be scanned by customers for authentication. Click Download Example File for reference. If Get Follower’s Open ID is selected, the IP address is used as the username by default. You need to set related parameters.

www.sangfor.com

248

IAM 11.2 User Manual

An OPENID can be obtained after the application ID is authenticated through WeChat. appid: unique credential of third-party users. An application ID can be obtained after the developer mode is enabled for the public WeChat account. appsecret: key of the unique credential of third-party users. A key can be obtained after the developer mode is enabled for the public WeChat account. Authorized Domain: 0Auth get the callback domain to which user credential is redirected. The callback domain is the same with that in 0Auth2.0 Web-based Authorization on WeChat official account admin platform. Only a WeChat-authenticated application ID has an authorized callback domain name. For WeChat validated users, authentication is not required within expiration: If this option is selected, after a user is authenticated successfully on a terminal, the IAM records the login information about this user. Then this user can access the Internet from the same terminal without authentication. Period (days): specifies the validity period of Open Auth. The value range is 1–100 days. In Permission Before Being Authenticated, you can select Allow WeChat basic interactions, not Moments or Allow WeChat basic interactions and Moments, as shown in the following figure. Allow WeChat basic interactions, not Moments is selected by default.

Click Commit. The configuration of the WeChat Based Authentication server is complete.

3.4.2.2.3 QR Code Based Authentication AR code authentication applies to visitors. If a visitor is redirected to the authentication page and select QR Code Based Authentication, a QR code is displayed. The visitor needs to scan the QR code using an authenticated mobile phone. Before performing QR Code Based Authentication, add a QR Code Based Authentication server on the External Auth Server page and specify a user that can approve the QR code.

www.sangfor.com

249

IAM 11.2 User Manual

Name: specifies the name of the QR Code Based Authentication server. Authenticator: specifies a range of users that can scan the QR code and allow visitors to pass authentication. User Validation: If Show captive portal and user information is selected, the authenticator scans the QR code for authentication. Then the mobile phone of the authenticator displays a page prompting for information about Internet access users. If Not show captive portal and login as authenticator is selected, users accesses the network as the authenticator and have the permission of the authenticator. In this case, the authenticator must be a public account. Click Commit. The configuration of the QR Code Based Authentication server is complete.

3.4.2.2.4 LDAP Server Before performing LDAP SSO or using the LDAP server for authentication, add an LDAP server on the External Auth Server page and set related parameters. After adding the LDAP server, configure it on the following three tab pages: Basics:

www.sangfor.com

250

IAM 11.2 User Manual

IP Address: IP address of the LDAP server. Port: port to which the LDAP server is connected. For example, the authentication port is 389 in the AD domain. Timeout (sec): timeout duration of an authentication request. After the system forwards an authentication request to the LDAP server, authentication fails if no response is returned within the specified timeout duration. If the network conditions between the IAM and the LDAP server are poor, you can set the timeout duration to a larger value, for example, 10s. Search: This option can be selected when the LDAP server supports anonymous search. Administrator DN: user account used for query and synchronization from the LDAP server. Specify the detailed user location and BaseDN. Administrator Password: password of the account bound to the server. BaseDN: start point of the domain search path. This start point determines the applicable scope of the LDAP rule. If a user is outside the specified BaseDN, the user cannot get authenticated on the external server and the configured policy is ineffective to this user. Therefore, you can define the jurisdiction areas of different administrators by using the BaseDN field. The supported LDAP types are: MS Active Directory, OPEN LDAP, SUN LDAP, IBM LDAP, Lotus LDAP, Novell LDAP, and OTHER LDAP.

www.sangfor.com

251

IAM 11.2 User Manual

Sync Options:

User Attribute: an attribute field that uniquely identifies a user on the LDAP server. For example, the sAMAccountName attribute uniquely identifies a user in the AD domain and the uid attribute uniquely identifies a user on the Novell LDAP server. Username: an attribute that uniquely identifies the displayed name of a user on the LDAP server. For example, in the AD domain, displayName uniquely identifies the displayed name of a user. Description Attribute: an attribute that uniquely identifies the description of a user on the LDAP server. For example, in the AD domain, description uniquely identifies the description of a user. User Filter: user filtering condition on the LDAP server for determining whether a node is a user. For example, you can enter "(|(objectClass=user)(objectClass=person))" in the AD domain to determine whether a node is a user. OU Filter: organization unit filtering condition on the LDAP server for determining whether a node is an

organization

unit.

For

example,

you

can

enter

"(|(objectClass=organizationalUnit)(objectClass=organization)(objectClass=domain)(objectClass=dom www.sangfor.com

252

IAM 11.2 User Manual

ainDNS)(objectClass=container))" in the AD domain to determine whether a node is an organization unit. Security Group Filter: (security) group filtering condition on the LDAP server. The group refers to a security group in the AD domain and a common group in a non-AD domain. You can determine whether a node is a (security) group. For example, you can enter "(objectClass=group)" in the AD domain to determine whether a node is a security group. Security Group Attribute: specifies which attribute identifies the member list of a security group. This attribute is valid only when the LDAP server is the AD domain. Enter member in common cases. If Type is set to MS Active Directory, the preceding parameters are already set and the default settings are recommended. If another LDAP type is selected, adjust the parameters based on the actual situation so that the IAM can read correct information from the LDAP server. Advanced:

www.sangfor.com

253

IAM 11.2 User Manual

Auto update of security groups: If this option is selected, the IAM will request the LDAP server to synchronize required contents in real time. This will increase the pressure on the LDAP server. This option is valid only in the AD domain. Security Group and User Association: The default value is recommended. Method: The association method can be set to User based (recommended) or Group based. On the LDAP server, if an attribute of a user stores the group to which the user belongs, Group based can be selected to improve the matching performance and reduce the performance pressure on the LDAP server. On the LDAP server, if only groups save information about member users, User based (recommended) must be selected. Attribute: If Group based is selected, this field must be set to the parent group attribute saved by the group or user on the LDAP server. For example, the memberOf attribute in the AD domain identifies the parent group of a node. Therefore, the memberOf attribute is used to search the parent group. If User based is selected, this field must be set to the member user attribute saved by the group on the LDAP server. For example, the member attribute in the AD domain identifies the member users of a group. Therefore, the member attribute is used to search the member users of a group. Allow security group nesting: specifies whether a (security) group is valid for member users of this group, or for member users and child groups. If this option is selected, the configured (security) group is valid for both member users and child groups. If it is not selected, the configured (security) group is valid only for member users of this group. Attribute: This field is valid only when Allow security group nesting is selected. This field specifies the attribute that identifies a group to be searched in recursive mode. If Group based is selected, this field must be set to the same value as that of Attribute. If User based is selected, this field must be set to the child group attribute saved by the group on the LDAP server. For example, the member attribute in the AD domain identifies the child groups of a group. Therefore, the member attribute is used to search the child groups of a group. Paged Search: An extended API is used for search on the LDAP server. The default setting is www.sangfor.com

254

IAM 11.2 User Manual

recommended. Page Size: The value 0 indicates that the page size is not limited. The default setting is recommended. Max Size: The default setting is recommended.

1. The global catalog needs to be enabled for all sub-domains on the parent domain. When adding an LDAP server, the settings are the same as above. Set Authentication Port to 3268 and IP Address to the IP address of the parent domain. See the following figure.

3.4.2.2.5 Radius Server Before using the Radius server for authentication, add a Radius server on the External Auth Server page and set related parameters.

www.sangfor.com

255

IAM 11.2 User Manual

Server Name: name of the Radius server to be added. IP Address: IP address of the Radius server. Port: authentication port of the Radius server, which is 1812 by default. Timeout (sec): timeout duration of authentication requests. Shared Secret: key for Radius negotiation. Protocol: Radius negotiation protocol.

3.4.2.2.6 POP3 Server Before performing POP3 SSO, add a POP3 server on the External Auth Server page and set related parameters.

www.sangfor.com

256

IAM 11.2 User Manual

Server Name: name of the POP3 server to be added. POP3 Server: Set the server IP address, authentication port, and timeout duration.

3.4.2.2.7 Database Server Before performing database SSO, add a database server on the External Auth Server page and set related parameters.

www.sangfor.com

257

IAM 11.2 User Manual

Select Enable to enable the external authentication server. Server Name: name of the database server to be added. Type: type of the database to be added, which can be set to DB2, Oracle, MS SQL, or MySQL. Server Address: address of the database server. Port: listening port of the database. Encoding: encoding type of the database, which can be set to UTF-8, GBK, or BIG5. Username: name of a user with the permission to query SQL statements. Password: password of the user. Database Name: database name. Timeout (sec): timeout duration for the IAM to request data from the database server. The default value is 60, in seconds. The timeout duration can be adjusted based on the server load and user quantity. Click Test Validity to test the connectivity between the IAM and the database server, and the effectiveness of the preceding configuration.

3.4.2.2.8 H3C CAMS Server Before performing H3C CAMS SSO, add an H3C CAMS server on the External Auth Server page and www.sangfor.com

258

IAM 11.2 User Manual

set related parameters.

Select Enable to enable the external authentication server. Server Name: name of the H3C CAMS server to be added. Server Address: IP address and port number of the H3C CAMS server, in the format of IP address:Port or URL. Encoding: encoding type of the database, which can be set to UTF-8, GBK, or BIG5. If the coding type is incorrectly selected, the username may be displayed as garbled characters. Username: username of the system administrator of the H3C CAMS. Password: password of the system administrator. Timeout (s): timeout duration for the IAM to connect to the H3C CAMS system. The timeout duration can be adjusted based on the server load. It is recommended that the default value 60 seconds be used. Click Test Validity to test the connectivity between the IAM and the server.

3.4.2.2.9 Third-Party Auth System Before specifying a third-party auth system (CAS authentication) as Auth Server in authentication policy, add a third-party auth system in Users > Authentication > External Auth Server and configure related parameters, as shown below:

www.sangfor.com

259

IAM 11.2 User Manual

To enable third-party auth system, click Enable. Name:specifies a distinguishable name for the third-party authentication system. URL:specifies the URL of the third-party authentication system. Example: http://ip:8443/cas/login Keyword: specifies the keyword to identify response and extract username. Default format: cas:serviceResponse>cas:authenticationSuccess>cas:user Version: specifies the version of the third-party authentication system, cas2.0 or cas3.0. To save and apply the settings, click Commit.

3.4.2.3 Single Sign-On If the customer has a third-party authentication server available for authenticating intranet users, intranet users can be authenticated by the device when being authenticated by the third-party authentication server through SSO. In addition, the users can obtain relevant Internet access permission. The same username and password are used for authentication on the IAM and the third-party authentication server. The supported SSO types include MS AD domain SSO, Radius SSO, proxy SSO, POP3 SSO, Web SSO, database SSO, and SSO on SANGFOR devices and other third-party devices, such as Ruijie SAM system, H3C CAMS system, and HTTP/HTTPS authentication system of CITY HOT. In addition to the basic configuration, you need to configure the users, authentication server, and Auth Method. For details, see sections 3.4.3.1, 3.4.3.2, and 3.4.2.1.

www.sangfor.com

260

IAM 11.2 User Manual

3.4.2.3.1 MS AD Domain If a Microsoft AD server is deployed for user management on the customer's network and intranet users log in using domain accounts, domain SSO can be used. That is, a user can access the Internet by logging in to the domain, without the need to get authenticated on the IAM. Domain SSO can be implemented by: 1.

Delivering the login script in the domain

2.

Obtaining login information through the program embedded on the IAM

3.

Integrated Windows authentication (IWA)

4.

Intercepting login information on the listening port

The preceding methods can be used independently or combined. They do not conflict with each other. The SSO success rate can be increased by combing several modes. Mode 1: By delivering the login script in the domain www.sangfor.com

261

IAM 11.2 User Manual

The logon.exe and logoff.exe scripts are configured on the AD server. When a user logs in to the domain or logs out from the domain, the IAM executes the login or logout script based on the domain policy and implements the login or logout of the user. Configure SSO on the IAM as follows: Select Enable Domain SSO. Select Obtain login profile by executing logon script through domain. In Shared Key, set the shared key used by the login script to send information. For details about other configuration operations, see section 4.4.1.1.

Mode 2: By obtaining login information through the program embedded on the IAM Embed an SSO client program ADSSO on the IAM. The program will periodically obtain login information from the AD server and report the obtained information to the IAM for implementing SSO. Configure SSO on the IAM as follows: Select Enable Domain SSO. Select Domain SSO.

Click Add to add a domain server.

www.sangfor.com

262

IAM 11.2 User Manual

Domain DNS Server: domain name of the domain DNS server. The domain name must be resolved by the domain DNS server. Click Resolve Domain to parse the IP addresses of all domain controllers. Domain Name: domain name of the domain server. Controller IP: IP address of the domain server. Domain Account: Enter an account with the domain administrator permission. The user must be an administrator or be added to the administrator group. Password: password of the domain account. Click Test Validity to test the domain controller. Click Commit to save the settings. For details about other configuration operations, see section 4.4.1.2. Mode 3: By IWA (Integrated Windows Authentication) IWA is a common Auth Method that is applicable in Windows. In IWA, the IAM and intranet computers need to be added to the domain. When an intranet user opens a webpage, the computer automatically accesses the IAM and submits an identity credential for implementing SSO. Configure SSO on the IAM as follows: Select Enable Domain SSO. Select Enable Integrated Windows Authentication.

www.sangfor.com

263

IAM 11.2 User Manual

Computer Name: computer name of the IAM after being added to the domain. In the computer name, the last four digits are the last four digits of the gateway license. The field prior to the gateway license can be defined. It consists of letters, digits, and hyphens (-) and contains a maximum of 10 bytes. Domain Name: name of the domain to which the IAM is to be added. DNS Server: IP address of the DNS server corresponding to the domain. Domain Account: account used by the IAM to join the domain. Password: password of the domain account. Click Test Validity to test whether the parameters are valid. Then click Commit. Advanced:

Redirection Interval After Auth Failure (min): interval for performing redirection and authentication after IWA SSO fails. Domain of Windows 2000 Earlier Versions: If the OS on the domain server is of a version earlier than Windows Server 2000, you need to set the domain name here. For details about other configuration operations, see section 4.4.1.3. Mode 4: Obtain login profile by listening to computer login to domain In this mode, the IAM intercepts data of the PC that logs in to the domain server and obtains login information from the data, thereby implementing SSO. No component needs to be installed on the

www.sangfor.com

264

IAM 11.2 User Manual

domain server but the data of intranet PCs that log in to the domain server needs to be mirrored to the device. Configure SSO on the IAM as follows: Select Enable Domain SSO. Select Obtain login profile by listening to computer login to domain

Domain Controllers: Enter the IP address and listening port of the domain server. If there are multiple domain servers, enter the information about one server in each row. The default listening port is UDP 88. For details about other configuration operations, see section 4.4.1.4.

3.4.2.3.2 Radius If a Radius server exists and the Radius authentication and charging packets pass the IAM Radius SSO can be enabled. An authenticated user gets online on the IAM by using a Radius username. The configuration procedure is as follows: Select Enable RADIUS SSO. In RADIUS Server Addresses, enter the IP address of the Radius server. If Radius authentication and charging packets do not pass the IAM a mirrored port needs to be set on the IAM and the authentication and charging data need to be mirrored to the IAM through the mirrored port. For details about setting a mirrored port, see section 3.4.2.3.9. Select Read RADIUS attributes and assign value to custom user attribute. A Radius user has some attribute values and attribute values can be set on the IAM. When a Radius user is authenticated, this option needs to be selected if the user attributes need to be synchronized to the IAM. In RADIUS Attribute, set the Radius attribute to be read. In Custom User Attribute, set a custom user attribute to which the read Radius attribute value is assigned.

www.sangfor.com

265

IAM 11.2 User Manual

3.4.2.3.3 Proxy If a proxy server is deployed and intranet users access the Internet using accounts and passwords through the proxy server, proxy SSO can be used. An intranet users is automatically authenticated on the IAM after being authenticated on the proxy server. That is, a user can access the Internet after connecting to the proxy server, without the need to get authenticated on the IAM. Proxy SSO can be implemented through listening or by executing the specified login control. The configuration page is shown in the following figure.

Enable Proxy SSO: to enable or disable proxy SSO. Obtain login profile by monitoring the data of computer logging into proxy server: If this option is selected, the IAM obtains login information about users through interception. If the data of users

www.sangfor.com

266

IAM 11.2 User Manual

logging in to the proxy server does not pass the IAM a mirrored listening port needs to be set. For details about the configuration procedure, see section 3.4.2.3.3. Compatible with Kerberos authentication: If the proxy server is an ISA server that adopts IWA, this option needs to be selected for implementing SSO. This option is applicable only when login packets pass the IAM and inapplicable if a mirrored port is set to mirror the login data to the IAM. Proxy Servers: IP address of the proxy server. Obtain login profile by executing login control throuogh proxy: Configure a login script on the proxy server. When a user logs in, the proxy server will automatically execute this script and send login packets to the IAM. For details about the configuration procedure, see section 4.1.2.2.

3.4.2.3.4 POP3 If a POP3 mail server is deployed and intranet users log in to the mail server with accounts and passwords, POP3 SSO can be used. A user can access the Internet after being authenticated by the POP3 server. See the following figure.

Enable POP3 SSO: to enable or disable POP3 SSO. POP3 Servers: IP address of the mail server. For details about the configuration procedure, see section 4.1.3.

3.4.2.3.5 Web If a web server is deployed and intranet users log in to the web server with accounts and passwords, web SSO can be used. A user can access the Internet after being authenticated by the web server. See the following figure.

www.sangfor.com

267

IAM 11.2 User Manual

Enable Web SSO: to enable or disable web SSO. Web Authentication Server: IP address of the web server. Type: You can select Cookie, Form submitted using POST, or Parameter in URL Request. They apply to different web authentication servers. Cookie: After a user is authenticated, the web server returns a cookie value, which can be used to judge whether the user logs in successfully. Cookie Name: cookie name returned by the server after authentication succeeds. Form submitted using POST: This option needs to be selected when the username is posted during web authentication. User Form Name: name of the username form submitted to the server during web authentication. Authentication Succeeds/Fails Upon Keyword Matching: It can be enabled or disabled as peer your need. If this option is not selected, it indicates that keyword matching is not needed upon user authentication. Authentication Success Keyword: keyword for identifying whether web SSO is successful. If the specified keyword is included in the returned result, the web SSO is successful. Authentication Failure Keyword: keyword for identifying whether web SSO fails. If the specified keyword is included in the returned result, the web SSO fails.

www.sangfor.com

268

IAM 11.2 User Manual

Parameter in URL Request: This option needs to be selected when authentication information is submitted in an HTTP Get request during web authentication. URL Parameter: name of the parameter corresponding to the authentication field in the URL request.

Form encoding: If garbled characters are displayed, the specified coding type can be used. If no coding type is specified, the IAM will automatically select a coding type. For details about the configuration procedure, see section 4.1.4.

www.sangfor.com

269

IAM 11.2 User Manual

3.4.2.3.6 Third-Party Server If a third-party authentication system is deployed for user authentication and organization structure management, the IAM can integrate with the third-party authentication system to implement SSO. Currently, Ruijie SAM system, HTTP SSO interface, H3C CAMS system, web authentication system of City hotspot, and H3C IMC system are supported. See the following figure.

For details about the configuration procedure, see section 4.1.5.

3.4.2.3.7 SANGFOR Appliance The IAM can work with another IAM or an SG to implement authentication. Two SANGFOR devices are deployed, one for authentication and the other for audit and control. After a user is authenticated on the authentication IAM the audit and control IAM can synchronize the user information from the authentication IAM for audit and control. See the following figure.

www.sangfor.com

270

IAM 11.2 User Manual

If Receive user credentials from other Sangfor appliances is selected, the authentication IAM will receive authentication information sent from the other device and automatically add authenticated users. In this case, you need to set a shared key on the authentication IAM which must be the same as that on the forwarding device. If Send user credentials to other SANGFOR appliances is selected, local authentication information will be forwarded to the other SANGFOR device. In Server Address, set the IP address of the device that receives authentication information. In Shared Key, set a key for encrypting authentication information. It must be set to the same key on the receiving and forwarding devices. For details about the configuration procedure, see section 4.1.6.

3.4.2.3.8 Database If a database system is deployed for storing and managing user authentication information and the organization structure, SQL statements can be configured on the SANGFOR IAM for querying the user list and authenticated users from the database system, and synchronizing the information to the local organization structure and online user list, thereby implementing SSO by working with the database system. After a user is authenticated in the database, the user is automatically authenticated on the IAM. Then the user is logged out from the database and automatically logged out on the IAM. Currently, the supported database types include Oracle, MS SQL Server, DB2, and MySQL. See the following figure.

www.sangfor.com

271

IAM 11.2 User Manual

Database Server: Select the database server that is set on the External Auth Server page. SQL Statement: Set a select statement that can query online users. The IAM runs this select statement to query online users in the user information table of the database. Sync Interval (sec): maximum duration from the time when a user is authenticated on the server to the time when the user is authenticated on the IAM. The default interval is 30s. For details about the configuration procedure, see section 4.1.7.

3.4.2.3.9 Others If the login data does not pass the IAM a mirrored listening port needs to be set for intercepting login data. Select any idle interface. The listening port can be set in domain SSO (listening mode), Radius SSO, POP3 SSO, and web SSO. This listening port can also be used to intercept mirrored Internet access data when the IAM is deployed in bypass mode.

www.sangfor.com

272

IAM 11.2 User Manual

3.4.2.4 Custom Webpage For a user that adopts Password based, the user will be redirected to the authentication page if the user attempts to access the Internet before authentication. The authentication page can be customized. The disclaimer page can also be customized. See the following figure.

3.4.2.4.1 Captive Portal Embedded authentication page templates are listed below: 

Captive Portal without Slideshow and Terms of Use



Captive Portal with Terms of Use but no Slideshow



Captive Portal with Slideshow and Terms of Use



Captive Portal with Full-screen Slideshow

Click Upload to upload an authentication page template. You can download an example page and edit it.

www.sangfor.com

273

IAM 11.2 User Manual

Click Delete to delete a template. Embedded authentication page templates cannot be deleted. If Enable segregation of webpage administration is selected on the Right Segregation page, all other administrators, except the administrator admin, can edit only authorized pages.

Authorized Admin: for authorizing editable pages to non-admin administrators after independent permission control is enabled. Click View to preview the display effects on a computer and on a mobile phone. Click Clone to create a template based on an existing template and edit this template. Click Download to download a page template and click Upload to upload the template to other devices. Click Authorize to authorize a template to non-admin administrators. Authorized administrators can edit and view this template. Click Update to modify the name and description of the template. You can also import other pages. Embedded page templates can be edited. The procedure is as follows: 1.

Click the name of any page template. The page shown in the following figure is displayed.

www.sangfor.com

274

IAM 11.2 User Manual

2.

The values of Page Caption, LOGO, Background Color, Page Contents, Pictures for Slideshow, and Terms of Use are displayed on the authentication page, as shown in the following figure.

3.

Click Background Color, select a color in the upper left corner, and click OK to save the setting. www.sangfor.com

275

IAM 11.2 User Manual

4.

Click Edit next to Page Content and edit the contents, as shown in the following figure.

www.sangfor.com

276

IAM 11.2 User Manual

5.

Upload pictures for slideshow, which will be played cyclically on the authentication page, and specify the URL of each picture.

Picture URLs are automatically added to the global exclusion list to ensure that unauthenticated users can access these pictures.

6.

Click Edit next to Terms of Use.

Edit the disclaimer and set whether the option The “I have read and agreed Terms of Use” option is selected by default.

7.

Click OK. www.sangfor.com

277

IAM 11.2 User Manual

1. The contents on embedded authentication page templates are different from those on custom templates. The preceding procedure is an example of editing a page with advertisements and disclaimer and is for reference only.

3.4.2.4.2 Terms of Use The page for editing a disclaimer page is shown in the following figure.

The procedure for editing a disclaimer page is similar to that for editing an authentication page and is not described in this section.

3.4.3 Users 3.4.3.1 Local Users On the Group/User page, you can manage and configure local users and user groups on the IAM. If an AD server is deployed on the intranet and added on the page displayed after you choose UserS > External Auth Server, the obtained organization structure on the AD server is displayed on the Group/User page. Local user management is different from AD user management.

3.4.3.1.1 Local Users 3.4.3.1.1.1 Viewing Local Users In User Group, select Local Users to view existing local users and user groups on the IAM. On the Member and Policy pane, information about the user group is displayed, including the group description, group member information, and Internet Access Policy. On the Member tab page, you can view details about each child group and member user, including the group, Internet Access Policy, login scope, expiration time (user), description, creator, and status (Enabled or Disabled). You can select a column to show information as required.

www.sangfor.com

278

IAM 11.2 User Manual

Select: Click Select and select the users and user groups on the current page and all other pages. See the following figure.

Search: You can quickly search for users or user groups. Specifically, click Search, select a search condition, By Name, By IP Address, or By MAC Address, input a search keyword, and press Enter.

Advanced Search: With the advanced search function, you can search for users based on multiple search conditions. There are two types of advanced search conditions: basic search conditions and other options. When multiple search conditions are set, only users meeting all the search conditions will be filtered out. In Basics, there are three options: Username, IP Address, and MAC, which are mutually exclusive. See the following figure.

www.sangfor.com

279

IAM 11.2 User Manual

In Othera, there are three options: User account expiration, Status, and Users allowed to login with an account concurrently.

On the Policies tab page, you can view the Internet access policies associated to a user group, as shown in the following figure.

The Internet access policies are displayed on the Policies tab page in the same sequence as on the Access Mgt > Policies page. Network access policies are matched in sequence. To change the sequence, click Up or Down on the Policies page. In the Policies, you can view only the name of Internet access policies and you need to click a policy to view the details. The policy result set provides an easier way for the administrator to view details about Internet access policies referenced by users and user groups. On the Policies tab page, click

www.sangfor.com

280

IAM 11.2 User Manual

View Resultant Set to integrate the policies referenced by a group and list the detailed settings. The procedure for generating the policy result set of the Engineer Group user group is as follows: 1. In User Group on the Group/User page, select Engineering Group. 2. Select Policies. 3. Click View Resultant Set. The policy result set of the user group Engineer Group is generated.

3.4.3.1.1.2 Adding Local Users Adding Child Groups The default user group on the device, that is, Root, cannot be deleted and its name cannot be modified. All created groups are child groups of Root. On the IAM user groups are graded. The user group root is a level-1 group and its child groups are level-2 groups. This organization structure facilitates management. www.sangfor.com

281

IAM 11.2 User Manual

The following is an example of adding a user group named Engineer under the group Root: 1. In Local Users, select a user group to which a child group is to be added. On the management pane on the right, click Add on the Members tab page, and choose Group.

2. Access the Add Group window. Set the user group name in Group Name and the description of the user group in Description. Click Add to add a policy for this user group.

3. Click Commit.

www.sangfor.com

282

IAM 11.2 User Manual

The local organization structure can contain a maximum of 16 levels, including the Root group. Adding Users You can add a single user or multiple uses at a time. When adding a user, you need to specify attributes including the username, group, Internet Access Policy, and password. The Auth Method does not need to be specified. To set the Auth Method of intranet users, choose Users > Authentication Policy. Example 1: All PCs on network segment 192.168.1.0/255.255.255.0 of the intranet adopt the Password based mode. Add a user named Public User to the Engineer group. Public User can be concurrently used by multiple PCs for login. Restrict the IP address range of Public User to 192.168.1.2-192.168.1.100. 1. Set the Auth Method of users on the network segment 192.168.1.0/255.255.255.0. Choose Users > Authentication Policy and set an authentication policy. Set the authentication scope to 192.168.1.0/255.255.255.0.

www.sangfor.com

283

IAM 11.2 User Manual

Set Auth Method to Password based and Auth Server to Local user database.

www.sangfor.com

284

IAM 11.2 User Manual

2. In Local Users, select a user group to which a user is to be added. On the management pane on the right, click Add on the Members tab page, and choose User. 3. Access the Add User window. Select Enabled and set the login username, description, displayed name, and group.

4. Set user attributes including the local password, expiration time, and custom attribute. Select Local Password. Then enter and confirm the login password.

www.sangfor.com

285

IAM 11.2 User Manual

The Password must be changed upon first login option is used to force users to change the original password after initial authentication. This option is invalid for a public account, which can be concurrently used by multiple users for login.

In User account expiration, set the expiration time of the user.

In Custom Attributes, set the custom attributes of the user. Custom attributes are managed in a unified manner on the page displayed after you choose Users > Advanced > Custom Attributes. 5. Set the Internet Access Policy of the user. In the Add User window, set a policy on the Policies tab page. Select an Internet Access Policy to be associated, or click Add Policy.

www.sangfor.com

286

IAM 11.2 User Manual

6. Set advanced attributes of the user. In the Add User window, set advanced attributes on the Advanced tab page.

www.sangfor.com

287

IAM 11.2 User Manual

User Binding: for setting the binding relationship between the user and the IP address or MAC address. The binding relationships between users and IP addresses or MAC addresses are managed in a unified manner on the page displayed after you choose Users > User Binding. In this example, the user does not need to be bound with an IP address or MAC address. Show Logout page upon login success: If this option is selected, a logout page is displayed after the user passes Password based. When the logout page is closed, the authentication information is automatically cleared. Allow multiple users to log in with an account concurrently: After this option is selected, this account becomes a public account and can be concurrently used by multiple users for login. In this example, a public account needs to be created. Therefore, this option must be selected. Allow to change local password: This option determines whether the user has the permission to change the password after login. Login IP Addresses: This option restricts the login IP address or MAC address range. In this example, the login IP address range is restricted to 192.168.1.2-192.168.1.100. After editing the user attributes and Internet Access Policy, click Commit. 7. Access the Internet and open a webpage as a user on the specified network segment. The

www.sangfor.com

288

IAM 11.2 User Manual

authentication page is displayed. Enter the username and password and click Login. If the username and password are correct and the login IP address is within the specified range, the authentication is successful. If the username and password are correct but the login IP address is not within the specified range, the authentication fails. Example 2: All PCs on network segment 192.168.1.0/255.255.255.0 of the intranet adopt the Password based mode. Add a user named Engineer Lee to the Engineer group. Set the Auth Method to Password based and require the user to change the login password after initial authentication. The bound IP address is 192.168.1.117. That is, this user must use this IP address for authentication and other users cannot use this IP address. 1. Set the Auth Method of users on the network segment 192.168.1.0/255.255.255.0. Choose Users > Authentication Policy and set an authentication policy. Set the authentication scope to 192.168.1.0/255.255.255.0.

Set Auth Method to Password based and Auth Server to Local user database.

www.sangfor.com

289

IAM 11.2 User Manual

2. In Local Users, select a user group to which a user is to be added. On the management pane on the right, click Add on the Members tab page, and choose User. 3. Access the Add User window. Select Enabled and set the login username, description, displayed name, and group.

4. Set user attributes including the local password, expiration time, and custom attribute. Select Local Password. Then enter and confirm the login password.

www.sangfor.com

290

IAM 11.2 User Manual

The Password must be changed upon first login option is used to force users to change the original password after initial authentication. In this example, this option must be selected.

Set the Internet Access Policy of the user. In the Add User window, set a policy on the Policies tab page. Select an Internet Access Policy to be associated, or click Add.

Set advanced attributes of the user. In the Add User window, set advanced attributes on the Advanced tab page.

www.sangfor.com

291

IAM 11.2 User Manual

User Binding: for setting the binding relationship between the user and the IP address or MAC address. The binding relationships between users and IP addresses or MAC addresses are managed in a unified manner on the page displayed after you choose Users > User Binding. In this example, the user needs to be bound with the IP address 192.168.1.117. Click Add and the page shown in the following figure is displayed.

Filter By: You can choose to bind an IP address or MAC address. Address: address to be bound with the user. In this example, the IP address 192.168.1.177 needs to www.sangfor.com

292

IAM 11.2 User Manual

be bound with the user. Enable open authentication: whether to exempt authentication for the user for a period of time. If this option is selected and an IP address is abound, the user does not need to perform authentication when accessing the Internet with the bound IP address next time. If a MAC address is bound, the user does not need to perform authentication when accessing the Internet with the bound MAC address next time. After editing the user attributes and Internet Access Policy, click Commit. 5. Access the Internet and open a webpage as a user on the specified network segment. The authentication page is displayed. Enter the username and password and click Login. If the username and password are correct and the login IP address is the bound IP address, the authentication is successful and the page for changing the password is displayed.

After the password is changed, the authentication page is displayed. Enter the new password for login. If the username and password are correct but the login IP address is not the bound one, the authentication fails, as shown in the following figure.

www.sangfor.com

293

IAM 11.2 User Manual

A user can be bound with an IP address or MAC address in three ways: 1. When adding a user to the User Group, select Users > Local Users > Add > Advanced, click Add, and bind an IP address or MAC address. 2. Choose Users > User Binding, click Add, and add the binding relationship between the user and an IP address or MAC address. On the page displayed after you choose Users > User Binding, you can add binding relationships of non-local users and manage all users bound with an IP address or MAC address. For details, see section 3.4.3.3. 3. Choose Users > Authentication Policy. In Action, select Automatic binding. After the user is authenticated successfully, the IAM will automatically bind the user and the IP address or MAC address. The incorporated binding relationships can also be managed on the page displayed after you choose Users > User Binding. For details, see section 3.4.3.3. Adding Multiple Users When adding Multiple Users, you cannot bind users with an IP address or MAC address. This is because each user is bound to a unique IP address or MAC address. When adding Multiple Users, the attributes and Internet Access Policy are the same for the added users, except the usernames. In Usernames, enter multiple usernames separated with a common (,). The Password must be changed upon first login option can be selected as the added users share the same original password. Other configurations are the same as adding a single user. For details, see the preceding section. www.sangfor.com

294

IAM 11.2 User Manual

3.4.3.1.1.3 Deleting Users/User Groups You can delete users and user groups as required. 1. Select a group/user.

2. Click Delete.

3. In the displayed dialog box asking for your confirmation, click Yes. A deletion success message is displayed on the console.

If a policy is associated with a user group to be deleted, the user group cannot be directly deleted and a deletion failure message will be displayed, as shown in the following figure. To delete this user group, delete the associated policy and then delete the user group. For details about associating a policy on the Authentication Policy page, see section 3.4.2.1.

www.sangfor.com

295

IAM 11.2 User Manual

3.4.3.1.1.4 Editing Users/User Groups in Batches Batch editing differs from editing a single user in the editable attributes. You can edit multiple users or user groups in batches. When editing Multiple Users, you cannot bind the users to IP addresses or MAC addresses. This is because each user is bound to a unique IP address or MAC address. Example 1: Enter the description of user Engineer Lee and Engineer Zhang to Engineer Group, set the same authentication password, and require the users to change the original password after initial authentication. Restrict the login IP address range to 192.168.1.1-192.168.1.255. Set the validity period of the users to January 1, 2016. 1. Select Engineer Lee and Engineer Zhang, and click Edit.

2. Set user attributes.

www.sangfor.com

296

IAM 11.2 User Manual

Select Description and enter Engineer. Select Password and Local Password, and enter and confirm the password. Select Password must be changed upon first login. Select User account expiration and set the expiration time to January 1, 2016. 3. Set advanced attributes.

www.sangfor.com

297

IAM 11.2 User Manual

Set the login IP address range of the two users to 192.168.1.1-192.168.1.255. 4. Click Commit.

3.4.3.1.1.5 Importing and Exporting Users/User Groups You can import and export users and user groups in batches. Importing Users Click Import. The page shown in the following figure is displayed.

Import users from a CSV file. You can import attributes including the displayed name, group, password, login IP address range, public account setting, and custom attributes. When users are imported, if the specified group does not exist, it will be created. www.sangfor.com

298

IAM 11.2 User Manual

A CSV file can be edited using any electronic form software. For example, Microsoft Excel can edit CSV files and convert XLS files into CSV files. CSV files are simple and do not support the setting of attributes including the column width, font, and color. To facilitate editing and user management, you can edit user information in an XLS form, covert the XLS form into a CSV form, and then import the CSV form to the IAM. 1. Click Example File to download the example file. Set the user information to be imported based on the format in the example file.

2. Click Import to import the CSF file. On the Import CSF File page, select the CSF file to be imported. If If user group does not exist, create it is selected, the IAM will create a user group if it does not exist. If this option is not selected, the IAM will not create a user group even if it does not exist. The imported users will be automatically added to the Root group. In If a user account already exists, if Continue to import and override existing one is selected and a user with the same username already exists in the user list, the IAM will update the attributes of the existing user. If Skip and not import this user is selected and a user with the same username already exists in the user list, the IAM will skip this user and will not modify the attributes of the existing user. If Users with local user account must change password on initial login is selected, a dialog box will be displayed at initial login, asking users to change the original password before they access the Internet. Export Users Example 1: Export user group Engineer Group and its member users. 1. On the Members tab page, select user group Engineer Group, click Import/Export, and choose Export.

2. Save the exported file. The export is complete.

www.sangfor.com

299

IAM 11.2 User Manual

A user group without member users cannot be exported independently.

3.4.3.1.1.6 Moving Users/User Groups Local users and user groups on the IAM can be moved. You can move a user or user group to another group. Then the Internet Access Policy of the target group is applied to the user. Example 1: Move user test to user group Engineer Group and apply the Internet Access Policy of Engineer Group to this user. 1. Select user test and click Move.

2. Select the target user group Engineer Group.

www.sangfor.com

300

IAM 11.2 User Manual

A common administrator may have the management permission for a part of user groups. Therefore, a common administrator cannot move a user or user group to another user group for which the common administrator does not have the management permission.

3.4.3.1.2 Domain Users Domain users are obtained by the IAM from the AD server in real time. The organization structure of domain users on the IAM is the same as that on the AD server. Before obtaining the organization structure on the AD server, choose Users > External Auth Server and add an AD server. If the IAM works with the AD server for authentication, including AD SSO and AD third-party authentication, you can view domain users, organization structure, and associated Internet Access Policy. In User Group, select Domain Users to view information about obtained AD domain users and user groups. On the Member and Policy pane, user group information is displayed, including the type and path. On the Members tab page, you can view details about each user group and user. Domain users differ from local users in that domain users cannot be edited, moved, or deleted on the IAM.

www.sangfor.com

301

IAM 11.2 User Manual

On the Policies tab page, you can view the Internet access policies associated to AD users and user groups, as shown in the following figure.

The Internet access policies are displayed on the Policies tab page in the same sequence as on the Access Mgt > Policies page. Network access policies are matched in sequence. To change the sequence, click Up or Down on the Access Mgt > Policies page. In the Policies, you can view only the name of Internet access policies and you need to click a policy to view the details. The policy result set provides an easier way for the administrator to view details about Internet access policies referenced by users and user groups. On the Policies tab page, click View Resultant Set to integrate the policies referenced by a group and list the detailed settings.

3.4.3.2 User Import When the IAM works with a database or the H3C CAMS system for authentication, the automatic user synchronization function is used to synchronize users in the database or CAMS system to the local organization structure on the IAM.

3.4.3.2.1 Sync User Accounts from the Database Users and user groups in the database can be automatically synchronized to the local organization structure on the IAM. You need to set the synchronization interval.

3.4.3.2.1.1 Adding Sync User Accounts from the Database A synchronization policy involves synchronization parameters. The configuration procedure is as follows: 1. Set information about the database from which information is to be synchronized to the IAM including the IP address, port, login username, and login password. For details, see section 3.4.2.2. 2. Choose Users > Users Import > User Sync, click Add, and set synchronization parameters in the www.sangfor.com

302

IAM 11.2 User Manual

displayed Sync User Accounts from Database window.

Set the policy name and policy description. Select Automatic User Sync and set the synchronization interval. As shown in the above figure, the synchronization interval is set to 24 hours. In Database Server, select the database server that is set in step 1, and enter the SQL statement for obtaining user information and a group path separator. The group path separator is used to separate a group from a child group in the data table. In this example, the hyphen (-) is set as the separator. If there are only level-1 groups and no child groups, leave the Group Path Separator parameter blank. In Local Group Path, specify the path for saving the synchronized user information on the IAM. If Allow multiple users to log in with an account concurrently is selected, accounts synchronized to the IAM are public accounts. A public account can be used for login on multiple computers. If this option is not selected, synchronized accounts are private accounts and can be used for login on a single computer at a time. Click Test Validity to list the information about obtained users and user groups, and the SQL statement execution time. www.sangfor.com

303

IAM 11.2 User Manual

3.4.3.2.1.2 Deleting Sync User Accounts from the Database Access the User Sync page, select a synchronization policy, and click Delete. After a synchronization policy is deleted, the users and user groups that are synchronized to the IAM by using this policy remain unaffected.

3.4.3.2.1.3 Viewing Synchronization Reports The IAM generates a synchronization report each time synchronization is performed. Click View Import History. On the Import History page, select a synchronization report and download it.

3.4.3.2.2 Sync User Accounts from H3C CAMS Server Users and user groups in the H3C CAMS system can be automatically synchronized to the local organization structure on the IAM. You need to set the synchronization interval.

3.4.3.2.2.1 Adding Sync User Accounts from H3C CAMS Server A synchronization policy involves synchronization parameters. The configuration procedure is as follows: 1. Set information about the H3C CAMS system from which information is to be synchronized to the IAM including the IP address, port, login username, and login password. For details, see section 3.4.2.2. 2. Choose Users > User Import > User Sync, click Add, and set synchronization parameters in the displayed Sync User Accounts from H3C CAMS Server window.

www.sangfor.com

304

IAM 11.2 User Manual

Set the policy name and policy description. Select Automatic User Sync and set the synchronization interval. As shown in the above figure, the synchronization interval is set to 24 hours. In H3C CAMS Server, select the H3C CAMS server that is set in step 1. In Local Group Path, specify the path for saving the synchronized user information on the IAM. If Allow multiple users to log in with an account concurrently is selected, accounts synchronized to the IAM are public accounts. A public account can be used for login on multiple computers. If this option is not selected, synchronized accounts are private accounts and can be used for login on a single computer at a time.

3.4.3.2.2.2 Deleting Synchronization Policies Access the User Sync page, select a synchronization policy, and click Delete. After a synchronization policy is deleted, the users and user groups that are synchronized to the IAM by using this policy remain unaffected.

3.4.3.2.2.3 Viewing Synchronization Reports The IAM generates a synchronization report each time synchronization is performed. Click Import History. On the Import History page, select a synchronization report and download it.

www.sangfor.com

305

IAM 11.2 User Manual

3.4.3.3 User Binding To restrict the login IP address or MAC address of a user and ensure that the bound IP address or MAC address is dedicated to this user, you can bind the user to the IP address or MAC address. On the Users > Local Users > Select a User > Advanced tab page, you can restrict the login IP address of a user in Restrict login IP address range. No IP address in the specified IP address range is dedicated to the user. However, on the User Binding page, you can restrict the login IP address or MAC address of a user and this IP address or MAC address is dedicated to this user. That is, this IP address or MAC address cannot be used by other users. The binding relationship is bidirectional. Choose Users > User Binding.

Click Add and add a binding relationship, as shown in the following figure.

www.sangfor.com

306

IAM 11.2 User Manual

Username: username to be bound. In addition to local users, you can bind a user authenticated on a third-party server, even if the user is not added to the organization structure on the IAM. Description: description of the user. Filter By: You can choose to bind an IP address or MAC address. Address: address to be bound with the user. Enable open authentication: whether to exempt authentication for the user for a period of time. If this option is selected and an IP address is abound, the user does not need to perform authentication when accessing the Internet with the bound IP address next time. If a MAC address is bound, the user does not need to perform authentication when accessing the Internet with the bound MAC address next time. In batch editing, you can edit the description and enable/disable Open Auth for multiple users. Select users and click Edit, as shown in the following figure.

www.sangfor.com

307

IAM 11.2 User Manual

Click Delete to delete the selected binding relationship. Click Advanced and set the number of endpoints from which the user can log in.

Click Advanced Search and set advanced search conditions, as shown in the following figure.

www.sangfor.com

308

IAM 11.2 User Manual

In Basics, there are three options: Username, IP Address, and MAC, which are mutually exclusive. You can also set other search conditions, including whether to Open Authentication, Added Since, and User account Expiration. Added Since: date range that is set in the binding relationship. In the search box in the upper right corner, you can search users by username, bound IP address, or bound MAC address. You can import user binding relationships in batches. The procedure is as follows: 1. Click Example File to download the example file. Set the user binding information to be imported based on the format in the example file.

www.sangfor.com

309

IAM 11.2 User Manual

The procedure is as follows: 1. Enable SNMP on the L3 switch. 2. Select Advanced. In MAC Filtering Across L3 Switch, select Enable MAC filtering across L3 switch.

3. In SNMP Servers, enter the information about the L3 switch from which the IAM obtains MAC addresses. Enable SNMP for the L3 switch in advance.

www.sangfor.com

322

IAM 11.2 User Manual

IP Address: IP address of the L3 switch. IP OID: OID of the IP address in the SNMP information. MAC OID: OID of the MAC address in the SNMP information. Community: key used for SNMP negotiation. Timeout (second): timeout duration for the IAM to obtain SNMP information. Interval (sec): interval for the IAM to send an SNMP request for obtaining information. Max MAC Addresses: maximum number of SNMP entries obtained at a time. Click Server Details to view SNMP information on the SNMP server (switch). Click Commit to save the settings. 4. Enter the MAC address of the intranet switch to avoid being bound with a user, as shown in the following figure.

In addition to the MAC address manually entered in the preceding step, the IAM can automatically discover the MAC address of the L3 switch. The IAM counts the number of IP addresses corresponding to each MAC address every 10 minutes. If a MAC address corresponds to multiple IP addresses, this MAC address is the one of the L3 switch.

www.sangfor.com

323

IAM 11.2 User Manual

Click MAC Address Calculation. If Exclude MAC address automatically is selected, the IAM will add each MAC address whose count of IP addresses exceeds the specified value of IP Address Threshold to the exclusion MAC address list. If Give alert when MAC address is excluded automatically is selected, the IAM will send an alarm mail to the administrator after the adding a MAC address. Set alarm options on the page displayed after you choose System Management > General > Alarm Options.

3.5 Access Mgt On the Access Mgt page, you can set and manage Internet access policies based on the user type, user location, endpoint device, and target area.

3.5.1 Policies On the Policies page, administrators can set different Internet access policies based on the permission assignment conditions of intranet users. There are five types of Internet access policies: Internet access permission policy, Internet access audit policy, quota control, terminal reminder policy, and Ingress policy.

www.sangfor.com

324

IAM 11.2 User Manual

3.5.1.1 Introduction to Policies 3.5.1.1.1 Access Control Policies consists of four modules: Access Control, SSL management, mail filtering, and QQ number whitelist, as shown in the following figure.

Access Control includes five modules: Application, Service, Proxy, Search Keyword, and File Type. Application: The IAM has an application rule library that is set for all types of common network applications and a URL Database that is set for websites (for details, see sections 3.3.1–3.3.4). The Application module references these rules to implement permission control on network applications and websites. Permission control for websites falls into four types: Website Browse, File Upload, Other Upload, and HTTPS. In permission control for website browse, the IAM detects the URLs of visited websites and controls website access behaviors. The URLs are referenced from the URL groups defined on the page displayed after you choose Objects > URL Database. The IAM has embedded URL groups. Dedicated personnel collect and classify a large number of URLs. Embedded URL groups can be referenced. In

www.sangfor.com

325

IAM 11.2 User Manual

addition, custom URL groups can be defined. For details, see section 3.3.4. In control for file uploading and other uploading, the IAM filters behaviors of uploading files through HTTP POST or other contents based on URL groups. HTTPS permission control is about filtering websites visited through HTTPS. Like permission control for website browse, HTTPS permission control is also performed based on URL groups defined on the page displayed after you choose Objects > URL Database. They differ in the URL detection mode. When a user visits a security website through HTTPS, data is encrypted and the IAM cannot detect the URL. Generally, the URL of a security website is the same as the address specified in Issued To of an SSL certificate. Therefore, the IAM can detect this value in the SSL certificate to obtain the URL of the visited security website. To define the URL of an HTTPS website, set the URL based on the value of Issued To in the certificate issued by the website. Service involves detecting the IP address, protocol ID, and port number of packets for the purpose of controlling Internet access data. You can choose Objects > URL Database and define target IP groups, and choose Objects > Service and define target protocols or ports (for details, see section 3.3.6 and 3.3.7). These defined objects are referenced in port control for the purpose of controlling Internet access data. Proxy includes whether to allow an external HTTP proxy and an external SOCK4/5 proxy, and whether to detect sharing Internet access. To prevent applications from transmitting data using a standard HTTP port (TCP 80) or SSL port (TCP 443) to escape restrictions of the IAM you can select the option Not allow other protocols on standard HTTP or SSL port. Search Keyword falls into two types: search keyword filtering and HTTP uploading. In search keyword filtering, the IAM performs filtering or generates alarms based on search keywords. In HTTP uploading, the IAM performs filtering or generates alarms based on keywords in HTTP uploading. The referenced keywords are defined on the page displayed after you choose Objects > Keyword Group (for details, see section 3.3.10). The two types of filtering is aimed at all HTTP websites and cannot implement keyword-based filtering or alarming for specified URLs. In File Type, the IAM can filter files upload or download through HTTP or FTP. The referenced file types are defined on the page displayed after you choose Objects > File Type Group (for details, see section 3.3.11).

SSL Contents includes only SSL content identification. SSL content identification involves auditing and controlling the contents of applications that are connected through SSL protocols, including HTTPS, encrypted SMTP, and encrypted POP3. For

www.sangfor.com

326

IAM 11.2 User Manual

security purposes, websites including e-banks and online payment websites are excluded.

Email involves filtering mails sent and received by clients on the intranet through SMTP or POP3. The IAM can filter mails by the sending address, recipient address, mail subject, or text keyword.

If a QQ Whitelist is defined, only QQ numbers in the whitelist can be used and therefore no QQ blocking policy needs to be configured. The whitelist function is compatible with both PC QQ client and mobile QQ client.

3.5.1.1.2 Audit Policy Audit Policy consists of three modules: Application, Flow/Online Duration, and Webpage Content.

Application involves auditing Internet access behaviors and contents of intranet users. Audit objects include contents sent over HTTP, visited website, downloaded contents, mails, IM chat contents, contents transmitted over FTP, and Telnet behaviors. Flow/Online Duration involves auditing the traffic and Internet access duration of users, user groups, and domain names. If you choose to measure the traffic and Internet access duration of network applications, you can query the data center for the application access traffic and time of intranet

www.sangfor.com

327

IAM 11.2 User Manual

users on the Internet. If you choose to measure the traffic and Internet access duration of domains, you can query the traffic and Internet access duration statistics in the data center by domain name. Webpage Content audit involves auditing the webpage contents visited by intranet users. You can set to audit the webpage titles and texts of specified types of URLs. For webpage contents containing certain keywords, you can set to reject, record, or record and reject the access to such webpages. The webpage content audit function will reduce the performance of the IAM. Therefore, use caution when enabling this function.

3.5.1.1.3 Quota Control Quota Control consists of five modules: Flow Quota, Online Online duration quota, Bandwidth, Concurrent Connection, and Online Endpoints, as shown in the following figure.

On the Flow Quota pane, you can limit the total daily or monthly Internet access traffic of a user. If the flow quota is exceeded, the IAM sends an alarm mail to notify the administrator. The administrator can set reminders and punishments. On the Online Online duration quota pane, you can limit the total daily or monthly Internet access duration of a user. If the specified Internet access duration is exceeded, the IAM sends an alarm mail to notify the administrator. The administrator can set reminders and punishments. On the Bandwidth pane, you can limit the traffic rate of a single user. If the traffic rate threshold is exceeded, the IAM sends an alarm mail to notify the administrator. The administrator can set www.sangfor.com

328

IAM 11.2 User Manual

reminders and punishments. On the Concurrent Connection pane, you can limit the number of connections of a user to the Internet. If the specified concurrent connection limit is exceeded, no new connection can be established or Internet access is not allowed. On the Online Endpoints pane, you can limit the number of online endpoints of a user. If the specified value is exceeded, new endpoints will be forcibly logged out.

3.5.1.1.4 Reminder Policy On the Reminder Policy pane, you can set a Bulletin Board.

The specified Bulletin Board will be periodically displayed for intranet users.

3.5.1.1.5 Ingress Policy Ingress Policy consists of two modules: Ingress and External Link, as shown in the following figure.

www.sangfor.com

329

IAM 11.2 User Manual

An Ingress involves detecting the OS, processes, files, and registries of PCs on the intranet by using an Ingress program installed on the client. Encrypted IM chat contents and files transmitted over QQ or MSN can be audited through Ingress control. After a network Ingress system is enabled, the IAM allows access to the Internet only if specified rules are met. External Link involves detecting the gateways configured on PCs on the intranet by using an Ingress program installed on the client. The IAM checks whether the gateway address is a legitimate Internet access line. If a user accesses the Internet over an illegitimate external network line, the IAM keeps a record in the data center, which can be viewed by the administrator.

3.5.1.2 Adding Object for Access Control Network access objects and Internet access policies are independent elements on the IAM. An Internet Access Policy is valid only after being associated with specific Internet access objects. There are a number of Internet access objects on the IAM. The Internet access objects to which Internet access policies can be associated are listed on the Object tab page, as shown in the following figure.

www.sangfor.com

330

IAM 11.2 User Manual

There are four types of objects: User, Location, Endpoint Device, and Destination. User: including Local Users, Domain User, Security Group, Domain Attributes, User Attributes, and Source IP. Location: Locations are classified by IP address segment, wireless network, or VLAN. Endpoint Device: types of Internet access devices, including mobile device, PCs, and multipurpose devices. Target area: target IP address range.

1. The four types of objects have the AND relationship. For example, you can select user IT Department in Users, All in Location, PC in Endpoint Device, and All in Destination. This policy is applicable to user test with the endpoint device PC on the IP address segment at the R&D headquarters. The object set is displayed on the Selected pane.

www.sangfor.com

331

IAM 11.2 User Manual

2. If any of the four object type is not specified, this type is not used as a filtering condition. For example, if no location is specified, the location is not a filtering condition. 3. If none of the four object types is specified, this policy is a blank policy. It is not associated with any user and is not effective to any user. There are six user types: Local Users, Domain User, Security Group, Domain Attributes, User Attributes, and Source IP. If a user is synchronized to the IAM added to the IAM by an authentication policy, or created on the IAM the user is a local user. A local user can be selected in Local Users. Domain User, Security Group, and Domain Attributes are displayed only if an LDAP server is configured. In Domain User, all configured LDAP servers are listed as OU groups. You can select OU groups or users in Domain User. In Security Groups, all configured LDAP servers are listed as OU groups. However, you can select only security groups in Security Groups, and cannot select domain users or OU groups. In Domain Attributes, you can select users meeting specified attributes on the LDAP server. On the Domain Attributes page, click Add. In the Add Domain Attribute dialog box, set attribute conditions. A maximum of five conditions can be set. The conditions have the AND relationship.

www.sangfor.com

332

IAM 11.2 User Manual

In User Attributes, you can select users meeting specified attributes. On the User Attributes page, click Add. In the Add User Attributes dialog box, set attribute conditions. A maximum of five conditions can be set. The conditions have the AND relationship.

In Source IP, you can select a source IP address range of intranet users.

1. The Users type includes Local Users, Domain User, Security Groups, Domain Attributes, User Attributes, and source IP addresses. The user types have the OR relationship, instead of the AND relationship. For example, if you select local user A and domain user B, the policy applies to both users. 2. Domain Users, Security Groups, and Domain Attribute are displayed only if an LDAP server is configured. The procedure for adding an Internet Access Policy for a specific object is as follows: When creating this Internet Access Policy, you can directly add objects for this policy. 1. On the Policies page, click Add. 2. Click Object, select an object type and then select a user group or user.

www.sangfor.com

333

IAM 11.2 User Manual

The selected user/user group is displayed on the Selected pane. 3. Click Commit. The procedure for adding an Internet Access Policy (only local users) on the User Management page is as follows: 1. Choose Users > Local Users. Select a user group named Marketing Department in User Group.

2. On the Member and Policy pane, click Policies. 3. Click Add. In the Add dialog box, select Access Control for Marketing Department, and the option Recursive pass down to its subgroups to apply the Internet Access Policy to child groups. If this option is not selected, this policy does not apply to child groups. However, it will still apply to member users of this user group and child groups added later. Click OK.

www.sangfor.com

334

IAM 11.2 User Manual

4. On the Policies tab page, view the list of policies associated with the user group. The Pass Down column indicates whether a policy applies to all member users and child groups.

You can change the Internet Access Policy of a single user on the Online userspage. The procedure is as follows: 1. Choose System > Online Users. On the Members pane, select user justin for which an Internet Access Policy is to be added or edited.

www.sangfor.com

335

IAM 11.2 User Manual

2. Click the username. The editing page is displayed.

3. On the Policies tab page, click Add and select an Internet Access Policy to be associated with the selected user.

On the Online Users page, you can edit or modify the Internet Access Policy of a non-temporary user. If you click the username of a temporary user in the online userslist, you can only view the policy result set of this user, and cannot edit the Internet Access Policy of the user.

3.5.1.3 Viewing Network Access Policies of Users Choose Users > Local Users and you can view the Internet access policies associated with local users and domain users. See the following figure.

www.sangfor.com

336

IAM 11.2 User Manual

Click Policies next to a user group. The names of all Internet access policies associated with the user group are displayed.

Click View Resultant Set to display the policy combination results, as shown in the following figure.

Choose System > Online Users and you can view the Internet access policies of online users.

www.sangfor.com

337

IAM 11.2 User Manual

Click the username of a user whose Internet Access Policy is to be viewed. The page shown in the following figure is displayed.

If the online usersis a temporary user, you can only view the Internet Access Policy of this user and cannot edit the policy.

www.sangfor.com

338

IAM 11.2 User Manual

1. On the page displayed after you choose 用 户 管 理 User Management > 组 / 用 户 Group/User, the location and terminal attributes are not displayed in the displayed Internet access policies. 2. On the page displayed after you choose 系统管理 System Management > 在线用户管理 Online users Management, the Internet Access Policy of the current user matching the current location and endpoint device is displayed.

3.5.1.4 Matching Network Access Policies If a user or user group is associated with multiple policies, the policies are matched in a certain order. Overlay policies are matched from top down. For non-overlay policies, only the first valid policy is matched.

www.sangfor.com

339

IAM 11.2 User Manual

Overlay policies include: Access Control, port control, web keyword filtering, web file type filtering, QQ number whitelist, flow quota, Internet access online duration quota, traffic rate limit, concurrent connection limit, Ingress policies, and application audit. The following figure shows the matching sequence of Internet access permission policies.

Other overlay policies are matched from top down. Non-overlay policies include: proxy control, SSL content identification, mail filtering, Flow/Online Duration, webpage content audit, Bulletin Board, and online endpoints. The first valid non-overlay policy prevails.

If the sequence of policies in the Policies is adjusted, the policy sequence on the page displayed after you choose Users > Policies is changed accordingly.

3.5.1.5 Adding Policies 3.5.1.5.1 Adding Network Access Permission Policies The procedure for setting an Internet access permission policy is as follows: 1. On the Policies page, click Add and choose Access Control.

www.sangfor.com

340

IAM 11.2 User Manual

2. On the Policies page, select Enabled. If this option is not selected, the added policy will not take effect.

3. Enter the policy name and description. The policy name uniquely identifies a policy. It is mandatory and must be unique. The description is a summary of the policy and is optional. 4. On the Option tab page, set the Internet access permission policy as required. On the Access Control pane, select a control type and set details on the right pane. Access Control consists of four control modules: Application, SSL Contents, Email, and QQ Whitelist. For details, see the following sections. 5. On the Object tab page, set the applicable user, location, endpoint device, and destination for this policy. 6. On the Advanced tab page, set the expiry date, whether to allow other administrators of the same level to view and edit the policy, and whether to allow lower-level administrators to view the policy. If Never Expire is selected, the policy will be valid permanently. If Valid till is selected and a date is set, for example, 2016-06-01, the policy will expire after January 1, 2016. www.sangfor.com

341

IAM 11.2 User Manual

In Privilege of Admin in Same Role, set whether to allow other administrators of the same level to view and edit the policy. If two administrators are of the same role on the page displayed after you choose System > General > Administrator, they are of the same level. If only View is selected, another administrator of the same level can view this policy but cannot edit it. If Edit is selected, another administrator of the same level can view and edit this policy by default. The jurisdiction scope of this administrator must be the same or wider. For details about the precautions, see section 3.2.4.2.

If Give view privilege to administrator in lower-level role is selected, a lower-level administrator can view this policy but cannot modify it. A lower-level administrator refers to an administrator whose role specified on the page displayed after you choose System > General > Administrator is of a lower level than the administrator that creates this policy.

7. Click Commit.

Access Control A. Application The IAM has an application rule library that is set for all types of common network applications and a URL Database that is set for websites (for details, see sections 3.3.1–3.3.4). The Application module references these rules to implement permission control on network applications and websites.

www.sangfor.com

342

IAM 11.2 User Manual

The Application module can detect packet contents to control applications. You need to set control policies for identified and unidentified applications, such as P2P applications, QQ, and mail applications. The Application module can also filter website access behaviors, including HTTP URL filtering, HTTPS URL filtering, and HTTP uploading filtering. The following introduces the procedures for configuring Access Control based on application types and for configuring HTTP URL filtering. i.

Control based on application types

The following is a configuration example of rejecting P2P applications. 1. Select Application. Click Add and choose Application. Click

below Application. The

Application Signature, Advanced App Signature, custom applications, and schedule groups are referenced. For details, see sections 3.3.1–3.3.3 and section 3.3.9.

2. On the Select Applications page, select P2P.

www.sangfor.com

343

IAM 11.2 User Manual

3. Return to the Application tab page and set Action to Reject, and Schedule to All Day, and click OK. The policy for rejecting P2P applications is set successfully. For details about setting the effective time, see section 3.3.6.

4. To modify the Access Control policy, select P2P and click Delete to delete the policy. You can also select Allow in Action, or select Reject. Click Up or Down to change the priority of the policy. A policy with a smaller priority value will be preferentially matched. 5. If only Access Control is required, click Commit. If other types of policies need to be edited, continue with the procedure.

By default, the IAM allows access to applications for which no control policy is set. ii.

HTTP URL filtering

Configure the IAM to control website access behaviors by detecting the URLs of visited websites. Example: Set a policy to prevent users from accessing e-banks and bank websites in working hours. 1. Select Application. Click Add and choose Application. Click

below Application.

2. In the Select Application window, find the Visit Web Site type, and select Internet Banking and Bank Website under Finance.

www.sangfor.com

344

IAM 11.2 User Manual

Selected URL groups are displayed on the Selected pane. Click OK. 3. Return to the configuration page, set Action to Reject and Schedule to Office Hours, and click OK. For details about how to set the schedule, see section 3.3.8. The policy is set successfully.

1. In control for file uploading and other uploading, the IAM filters behaviors of uploading files through HTTP POST or other contents based on URL groups. iii.

HTTPS URL filtering

HTTPS URL filtering involves filtering websites that are visited over HTTPS. For example, you can configure a policy to prevent intranet users from accessing the encrypted website http://mail.google.com/. The procedure for setting a policy to reject access to Gmail during all day is as follows: 1. In the URL Database, no URL group is specific for Gmail. Therefore, set a URL group and add the URL of Gmail before setting the policy. Choose Objects > URL Database and click Add. On the Add URL Category page, enter the URL group www.sangfor.com

345

IAM 11.2 User Manual

name, description, and URL. In URL, enter the value of Issued To in the SSL certificate issued by the website. HTTPS URLs support wildcards. Therefore, enter *.google.com.

2. Select Access Control. Click Add and choose Application. Click

www.sangfor.com

below Application.

346

IAM 11.2 User Manual

3. In the Select Application window, find the Website Access type and select HTTPS under gmail.

3. Return to the configuration page, set Action to Reject and Schedule to All Day and click OK. For details about how to set the effective time, see section 3.3.8. The policy of prevent access to Gmail during all day is set successfully.

1. When a user visits a security website through HTTPS, data is encrypted and the IAM cannot detect the URL. Generally, the URL of a security website is the same as the address specified in Issued To of an SSL certificate. Therefore, the IAM can detect this value in the SSL certificate to obtain the URL of the visited security website. To define the URL of an HTTPS website, set the URL based on the value of Issued To in the certificate issued by the website. B. Service Port control is performed based on the destination IP address and port of packets, and the time

www.sangfor.com

347

IAM 11.2 User Manual

segment. For example, you can set a policy to block access from the intranet to port 80 of an IP group. The following is an example of setting a policy to reject access to ports 1000 and 1001 of IP group 200.200.200.1-200.200.200.254 in working hours. 1. Select Service. On the Service pane, click Add and set related parameters. The IP groups, network services, and schedule groups defined earlier are referenced. For details, see sections 3.3.6–3.3.9.

2. Select a target IP group from the drop-down list. If the required IP group does not exist, select Add IP Group at the bottom of the drop-down list to create it. Click OK.

Add IP Group: This item is linked to the page displayed after you choose Objects > IP Group. In the Edit IP Group dialog box, enter the IP group name, description, and IP address, and click Commit.

www.sangfor.com

348

IAM 11.2 User Manual

3. Select a service from the drop-down list. If the required service does not exist, select Add Service at the bottom of the drop-down list to create it. Click Commit.

Add Service: This item is linked to the page displayed after you choose Objects > Service. In the Add Service dialog box, enter the service name and port or protocol ID, and click Commit.

www.sangfor.com

349

IAM 11.2 User Manual

4. Return to the configuration page, set Action to Reject and Schedule to Office Hours and click OK.

5. To modify the port control policy, select the corresponding network service and click Delete to delete the policy. You can also select Allow in Action or select Reject. Click Move Up or Move Down to change the priority of

the policy. A policy with a smaller priority value will be preferentially

matched. 6. If only port control is required, click Commit. If other types of policies need to be edited, continue with the procedure.

By default, the IAM allows access to network services for which no control policy is set. C. Proxy Proxy control involves controlling behaviors of using HTTP and SOCK proxies, and behaviors of using other protocols on a standard HTTP or SSL port. See the following figure.

www.sangfor.com

350

IAM 11.2 User Manual

If Not allow external HTTP proxy is selected, the IAM will reject the requests sent by intranet users to access the Internet by using an external HTTP proxy server. If Not allow external SOCK4/5 proxy is selected, the IAM will reject the requests sent by intranet users to access the Internet by using a SOCK proxy. After Not allow other protocols on standard HTTP or SSL port is selected, if identified/unidentified software conducts communication over a well-known port (TCP 80 or TCP 443) and the communication contents are in private protocol format, the IAM will reject the communication information. D. Search Keyword Web keyword filtering comprises two parts: search keyword filtering and HTTP uploading filtering. In search keyword filtering, the IAM filters or generates alarms when detecting specified search keywords. For example, the IAM can control behaviors of searching keywords by using search engines such as Baidu and Google. In HTTP uploading filtering, the IAM rejects access requests or sends an alarm mail when detecting keywords uploaded over HTTP. For example, the IAM can filter access requests or generates an alarm for keywords in posts on forums or in QQ Zone. Set Action to Give alert. When the uploaded contents include the specified keyword, the IAM will send an alarm mail to the specified mailbox. Example: Set a policy to reject search requests with the keyword "Job Hunting" and allow search requests with the keyword "Game" all day. When detecting search requests with the keyword "Game", the IAM sends an alarm mail to [email protected] The IAM prevents uploading data containing political sensitive keywords through HTTP. 1. Select Search Keyword. On the Search Keyword pane, click Add and set related parameters. The Keyword Group and schedule groups defined earlier are referenced here. For details about defining objects, see sections 3.3.9 and 3.3.10.

www.sangfor.com

351

IAM 11.2 User Manual

2. In the Keyword drop-down list, select Job Hunting. If the required keyword is not included, select Add Keyword Group to create it.

3. Return to the configuration page, select all URL types, and click OK.

4. Set Action to Reject and Schedule to All Day, and click OK. The policy of rejecting search requests for the keyword "Job Hunting" all day is set successfully. Repeat steps 1–4 to set a policy to generate alarms for search requests for the keyword "Game".

www.sangfor.com

352

IAM 11.2 User Manual

5. On the HTTP Upload tab page, click Add. Click the drop-down button below Keyword to display the keyword group list.

6. In the Keyword drop-down list, select Political Sensitive Keyword. If the required keyword is not included, select Add Keyword Group to create it.

7. Return to the configuration page, select all URL types, and click OK.

www.sangfor.com

353

IAM 11.2 User Manual

4. Set Action to Reject and Schedule to All Day, and click OK. The policy of rejecting uploading requests with political sensitive keywords all day is set successfully.

7. If only keyword filtering is required, click OK. To enable Web keyword filtering alarms, choose System > General > Alarm Options > Events > Sensitive Keyword is detected, as shown in the following figure.

www.sangfor.com

354

IAM 11.2 User Manual

To set the address of the mail server for sending alarm mails and the recipient mailbox, choose System > General > Alarm Options > SMTP Server.

www.sangfor.com

355

IAM 11.2 User Manual

E. File Type Web file type filtering comprises two parts: uploading and downloading. You can set the IAM to filter files uploaded or downloaded over HTTP or FTP. The procedure for setting a policy to reject requests of downloading and uploading film files from websites or over FTP is as follows: 1. Select File Type. On the File Type pane, click Add and set related parameters. The File Type Group and schedule groups defined earlier are referenced here. For details about defining objects, see sections 3.2.9 and 3.2.11. Click the drop-down button below File Type and choose a keyword group. Select Apply to FTP upload/download as well.

2. On the Upload tab page, click Add.

www.sangfor.com

356

IAM 11.2 User Manual

3. In the File Type drop-down list, select Movie. If the required file type is not included, select Add File Type Group to create it.

4. Return to the configuration page, set Action to Reject and Schedule to All Day and click Commit. The policy of rejecting requests to upload film files to websites or over FTP all day is set successfully.

2. On the Download tab page, click Add.

6. In the Fill Type drop-down list, select Movie. If the required file type is not included, select Add File Type Group to create it.

www.sangfor.com

357

IAM 11.2 User Manual

7. Return to the configuration page, set Action to Reject and Schedule to All Day and click OK. The policy of rejecting requests to download film files from websites or over FTP all day is set successfully.

8. To allow file uploading and downloading for some websites, add an exclusion URL. Select Excluded Website and select exclusion URL types.

www.sangfor.com

358

IAM 11.2 User Manual

10. Click OK.

F. SSL Contents Contents SSL content involves auditing and controlling the contents of applications that are connected through SSL protocols, including HTTPS, encrypted SMTP, and encrypted POP3. Financial websites, such as e-banks and online payment websites, are excluded from monitoring. Example 1: Set a policy to identify and control QQ web mails. 1. Select Contents.

2. Select Identify contents of encrypted Web application. Click Advanced and set whether the identified encrypted contents are audited or filtered.

If the identified contents are to be filtered, filtering policies must be set on the Search Keyword and File Type pages. For details, see section 3.5.1.4.1. If the identified contents are to be audited, auditing policies must be set on the Audit Policy page. For details, see section 3.5.1.4.2. In this example, select Filter and audit. 3. After the function of identifying encrypted web application contents is enabled, the IAM does not

www.sangfor.com

359

IAM 11.2 User Manual

identify all HTTPS-encrypted connections. Only domain names included in Domain Names can be identified. In this example, encrypted QQ web mails are to be audited. Therefore, enter the domain name of QQ web mail: mail.qq.com. Click HTTPS Website Example to download auditable website URLs provided by the IAM.

4. Click Download Server SSL Certificate to download and install the root certificate, thereby eliminating security alarms prompted after SSL content identification is enabled. To eliminate security alarms displayed on browsers in an AD domain, click How to Remove Alert in AD Environment to download the document. Then follow the steps provided in the document. 5. Click Commit. To edit other policies, continue with the procedure. Example 2: The customer has a mail server support.com.cn on the public network. The mail server receives and sends mails through SSL. The customer requires to audit and filter the contents of mails sent and received through the mail client. 1. Select Contents.

www.sangfor.com

360

IAM 11.2 User Manual

2. Select Filtered encrypted emails and click Advanced.

If Filter SSL contents on SMTP port is selected, the IAM will identify the contents in mails that are sent through SSL or TLS. If the identified contents are to be filtered, filtering policies must be set on the Access Mgt > Policies > Access Control > Email page. For details, see section 3.5.1.4.1. If the identified contents are to be audited, auditing policies must be set on the Audit Policy page. For details, see section 3.5.1.4.2. In this example, select Filter and Audit. If Identify contents of encrypted POP3/IMAP Email is selected, the IAM will identify the contents in mails that are received through SSL or TLS. Identified contents of received mails can be used only for auditing. Auditing policies must be set on the Audit Policy page. 3. After the function of identifying encrypted mail contents is enabled, the IAM will identify all behaviors of sending or receiving mails through SSL or TLS. If any mail address needs to be excluded, set the address of the mail server in Excluded.

1. The SSL content identification function is invalid for financial websites such as e-banks and online payment websites. This is because the IAM shields such information to avoid auditing sensitive financial information. www.sangfor.com

361

IAM 11.2 User Manual

2. Before enabling the SSL content identification function, ensure that the IAM has IP addresses and routes available for accessing the Internet and communicating with the intranet.

G. Email Mail filtering involves filtering mails sent and received by clients on the intranet through SMTP or POP3. The IAM can filter mails by the sending address, recipient address, mail subject, or text keyword. The following is an example of setting a policy to filter mails sent to a gmail mailbox, or mails with an .exe attachment. 1. Select Email and set a policy to filter mails sent to a gmail mailbox or mails with an .exe attachment. There are several methods of filtering sent and received mails: Source Address: to filter sender addresses of mails. Select Block email sent from the following addresses/domain only and enter the mail addresses to be filtered. If the sender of any mail matches any of the listed mail addresses, the IAM blocks the mail. Select Only alllow email sent from the following addresses/domain and enter the mail addresses to be allowed. If the sender of any mail matches any of the listed mail addresses, the IAM allows the mail. See the following figure.

Destination Address: to filter recipient addresses of mails. Select Block email sent to the following mail addresses/domain and enter the mail addresses to be filtered. If the recipient of any mail matches any of the listed mail addresses, the IAM blocks the mail. Select Only allow email sent to the following mail addresses/domain and enter the mail addresses to be allowed. If the recipient of any mail matches any of the listed mail addresses, the IAM allows the mail. In this example, mails sent to gmail mailboxes are to be filtered. Therefore, enter @gmail.com in Block email sent to the www.sangfor.com

362

IAM 11.2 User Manual

following address/domain.

Block outgoing email containing the following keyword in subject or body: If this option is selected, the IAM detects whether the title and text of a mail to be sent contains the specified keywords. If yes, the IAM blocks the mail. For example, to filter mails whose title or text contains the keyword "Job Hunting", enter Job Hunting. Block outgoing email attached file with the following extension: If this option is selected, the IAM detects whether a mail to be sent contains an attachment of the specified type. If yes, the IAM blocks the mail. In this example, mails containing an .exe attachment are to be filtered. Therefore, enter .exe.

In the Advanced dialog box, if Block emails larger than (KB) is selected and the function of detecting mail size is enabled, the IAM will block mails whose size exceeds the specified value. If Block email if attachments exceed is selected and the function of detecting the number of attachments in mails is enabled, the IAM will block mails whose number of attachments exceeds the specified value.

www.sangfor.com

363

IAM 11.2 User Manual

The configured rules have the OR relationship and matched from top down. If any rule is matched, the IAM performs the specified action. For any conflicts, the first matched rule prevails.

1. On the Email page, you can enter a complete mail address or a suffix, for example, [email protected], @abc.com, or abc.com. If abc.com is entered, mails with abc.com or abc.com.cn will be matched. Enter one mail address in each row. On the Email page, you can enter a regular expression when setting keywords. For example, if key.*d is entered, both keyd and keyword are matched. If one keyword is entered in each row, keywords in different rows have the OR relationship. A rule will be matched if any keyword is matched. 2. If multiple keywords separated with a comma (,) are entered in each row, the keywords have the AND relationship. A rule will be matched if all keywords in a row are matched. 3. Mail filtering involves filtering mails that are sent through SMTP. This function is invalid for web mails. To use this function, ensure that mail data passes the IAM. The standard SMTP port used for sending mails is TCP 25. The mail filtering function is invalid for mails that are sent over a non-standard port. 4. An SMTP authentication password must contain at least three characters. If the SMTP authentication password of a mail contains less than three characters, the mail will be blocked. 5. Before enabling mail filtering, ensure that the IAM can connect to the mail server properly. Otherwise, mails cannot be sent.

QQ Whitelist You can configure a QQ number whitelist to allow specified QQ numbers and block other QQ numbers. The whitelist function is compatible with both PC QQ client and mobile QQ client. www.sangfor.com

364

IAM 11.2 User Manual

Click Commit.

1. If a mobile phone number or a mailbox is used as the QQ account, you need to fill in the account automatically allocated by Tencent, which is a numeric string.

3.5.1.5.2 Adding an Audit Policy You can set policies on auditing Internet access behaviors of intranet users on Audit Policy. You can use different function SNs to separate behavior audit from content audit. You can enable the function SN of behavior audit to record behavior only during auditing; or, you can enable the function SN of content audit to record all the content during auditing. If only the function SN of behavior audit is enabled, Audit Policy includes Application, Flow/Online Duration, and Webpage Content.

To set an Audit Policy, perform the following steps: Step 1 Click Add, and choose Audit Policy. The page for editing the Audit Policy is displayed.

www.sangfor.com

365

IAM 11.2 User Manual

Step 2 Select Enabled to enable the policy. Note: If you do not select this checkbox, the configured policy does not take effect.

Step 3 Specify Name and Description. The policy name is the unique identifier of the policy. It cannot be the same as an existing one and is mandatory. The description information is a policy overview and is optional. Step 4 On the Audit Policy page, set the Audit Policy as required. On the Audit Policy page, choose the desired audit type, and set the policy details on the right. Internet access behavior audit policies include Application, Flow/Online Duration, and Webpage Content. (For details about these three types of audit modules, see the subsequent chapters.) Step 5 Set Object. The configured policy is applied to the selected user groups and users. Step 6 Specify Advanced. You can set Expiry Date, View and Edit in Privilege of Admin in Same Role, and Give view privilege to administrator in lower-level role.

Auditing Application Access Audit enables auditing on Internet access behavior and content of intranet users accessing the Internet over the IAM. To audit Internet access behavior of users, enable the function SN of Internet access behavior audit. The outgoing HTTP packets, website visits or downloads, mails, IM content, FTP content, TELNET content, and Internet access behaviors are audited. HTTP Data Outgoing: You can select Web-based BBS posting to record intranet users’ behavior of

www.sangfor.com

366

IAM 11.2 User Manual

visiting and posting on web BBSs. The log records the posting information except for the post subjects and content. You can select Web Mail contents to record intranet users’ behavior of sending mails through webpages. The log records the mail information except for the mail subjects and content. You can select Web-based attachment upload (including WebMail) to audit file names of attachments uploaded over webpages. To audit attachments of web mails, select this checkbox. You can select Web-based text upload to record behaviors of uploading text over HTTP. If this checkbox is selected, there will be a large number of logs. Therefore, you are recommended to select Web-based BBS posting and Web Mail contents instead. You can select Microblogging contents to record intranet users’ behavior of posting microblogs through the Microblog desktop client and web browser. The microblog subjects and content are not recorded. To audit the file names of image and video attachments posted on microblogs, select Include microblog attachment(such as image, video and music).

Website Browsing / Downloads: It is used to record the URLs of webpages accessed by intranet users and the names of files downloaded from websites. You can select All to audit all URLs. You can also select Specified to specify URL types, so that only the access to the URLs of the specified types is recorded. When you click Specified, the Select page is displayed. On the page, you can select the URL group to be audited. (For details of setting URL groups, see Section 3.3.4.) If you select File bame of downloaded file, the names of files downloaded from websites using the HTTP protocol are audited and file content is not recorded. You can also set the level of URL record details at Access Mgt > Advanced > Logging. For details, see Section 3.5.2.1.

www.sangfor.com

367

IAM 11.2 User Manual

Email: It is used to audit intranet users' attempts to send and receive mails using the mail client. You can select Outgoing email (SMTP) to audit intranet users' attempts to send mails. In this case, mail information excluding subjects and bodies is logged. You can select Incoming email (POP3/IMAP) to record intranet users' attempts to receive mails. In this case, mail information excluding subjects and bodies is logged. Note: The mail receiving protocol and mail sending protocol must be POP3/IMAP and SMTP respectively.

IM: It is used to audit instant messaging between intranet users with IM tools. The tool options include MSN, Yahoo, Google-Talk, Fetion, WebQQ, and Web-MSN. Other IM chats: It is used to specify whether to audit IM content when an IM type is added to the audit rule library.

www.sangfor.com

368

IAM 11.2 User Manual

FTP: It is used to audit the names and content of files uploaded by intranet users using FTP and the names of files downloaded by intranet users using FTP. Telnet: It is used to audit the commands run by intranet users using Telnet. The port number must be 23.

Application: It is used to audit intranet users' Internet access behaviors. You can select Access to other applications (exclusive of contents) to audit the identifiable Internet access behaviors. You can also select Access to unidentified applications (on which address and port. It incurs massive logs) to audit the Internet access behaviors that cannot be identified by the IAM. If this option is selected, the IAM records destination IP addresses and port numbers using a large number of logs. By default, this option is not selected and you are recommended to use the default setting. www.sangfor.com

369

IAM 11.2 User Manual

To audit users' content, enable content audit SNs. Then, the outgoing HTTP packets, website visits or downloads, mails, IM content, FTP content, TELNET content, and Internet access behaviors are audited. Example: Configure a policy for auditing web BBS post content, text and images sent using microblogs, web mails and attachments, users' webpage access attempts, names of files downloaded from websites, and various types of identified Internet access behaviors. Step 1 Select Access Audit and the Access Audit page is displayed on the right. Click Add and then the

button below Item. In the Select Item window that appears, select the objects to be audited.

Step 2 The Select Item window includes the HTTP Data Outgoing, Website Browsing/Downloads, Email, IM, FTP, Telnet, and Application menu items. You can click the menu items to go to the corresponding configuration modules. Outgoing HTTP Packets: You can select Web-based BBS posting to audit the content of posts created by intranet users in BBSs. The logs record all post information, including subjects and bodies of posts. You can select Web Mail contents to audit the bodies (excluding attachments) of mails sent by intranet users through webpages. You can also select Web-based attachment upload (including WebMail) to audit the attachments uploaded through webpages. This options is required for auditing web mail attachments. You can select Web-based text upload to record all the text uploaded over HTTP. If this checkbox is selected, there will be a large number of logs. Therefore, you are recommended to select Web-based BBS posting and Web Mail contents instead. You can select Microblogging contents to audit intranet users’ behavior of posting microblogs through the Microblog desktop client and web browser. To audit the images and videos posted on microblogs, select Include microblog attachment (such as image, video and Music). Configure the policy for auditing web BBS post content, text and images posted using microblogs, and web mails and attachments. See the following figure.

www.sangfor.com

370

IAM 11.2 User Manual

Website Browsing / Downloads: It is used to record the URLs of webpages accessed by intranet users and the names of files downloaded from websites. You can select All to audit all URLs. You can also select Specified to specify URL types, so that only the access to the URLs of the specified types is recorded. When you click Specified, the Select page is displayed. On the page, you can select the URL group to be audited. (For details of setting URL groups, see Section 3.3.4.) If you select File name of downloaded file, the names of files downloaded from websites using the HTTP protocol are audited and file content is not recorded. You can also set the level of URL record details at Access Mgt > Advanced > Logging. Configure the policy for auditing access of intranet users to webpages and names of files downloaded from webpages.

Email: It is used to audit intranet users' attempts to send and receive mails using the mail client. You can select Outgoing email (SMTP) to audit the information about mails, including mail attachments, sent by intranet users. You can select Incoming email (POP3/IMAP) to audit the information about mails, including mail attachments, received by intranet users.

www.sangfor.com

371

IAM 11.2 User Manual

I IM: It is used to audit instant messaging between intranet users with IM tools. The tool options include MSN, Yahoo, Google-Talk, Fetion, WebQQ, and Web-MSN. Other IM chats: It is used to specify whether to audit IM content when an IM type is added to the audit rule library.

FTP: It is used to audit the names and content of files uploaded by intranet users using FTP and the names of files downloaded by intranet users using FTP. Telnet: It is used to audit the commands run by intranet users using Telnet. The port number must be 23.

www.sangfor.com

372

IAM 11.2 User Manual

Application: It is used to audit intranet users' Internet access behaviors. You can select Access to other applications (exclusive of contents) to audit the identifiable Internet access behaviors. You can also select Access to unidentified applications (on which address and port. It incurs massive logs) to audit the Internet access behaviors that cannot be identified by the IAM. If this option is selected, the IAM records destination IP addresses and port numbers using a large number of logs. By default, this option is not selected and you are recommended to use the default setting. Configure the policy for auditing various types of identified Internet access behaviors. See the following figure.

www.sangfor.com

373

IAM 11.2 User Manual

Step 3 After selecting audit options, click OK. The Application page is displayed. Set Schedule to All Day and Action to Audit.

Step 4 Click OK. The policy for auditing Web-based BBS posting, Microblogging contents, Web Mail contents and Web-based attachment upload, users’ visited URL, file name of download file, and various types of identified Internet access behaviors is configured.

The behaviors and content of web MSN users can be audited only if the web MSN users log in using HTTP. If HTTPS is used, the behaviors and content cannot be audited. Auditing Traffic and Internet Access Duration Flow/Online Duration is used to specify whether to collect statistics on the traffic and Internet access duration of various applications. If you choose to collect the statistics, you can query the data center for traffic and Internet access duration of various applications used by intranet users to access the Internet. Select Flow/Online Duration and the Flow/Online Duration page appears on the right.

If you select Log application traffic based on user group, statistics on the traffic for each application to access the Internet through the IAM are collected and sorted by group. If you select Log application traffic for each user as well, the statistics can be collected by user. This option provides basis for Internet access traffic statistics collection and sorting in the data center. The options must be www.sangfor.com

374

IAM 11.2 User Manual

selected so that you can query the data center for Internet access traffic information and rankings. If you select Log online duration for each user based on application, statistics on the Internet access duration of each application that accesses the Internet through the IAM are collected. If this option is not selected, statistics on Internet access duration (including the total duration) of applications is not collected, and you cannot query the data center for Internet access duration information and rankings. If you select Ignore the traffic caused by the system rather than by user, such as system update, statistics on the Internet access duration of only the applications that are not in the Excluded Applications List and access the Internet through the IAM are collected. If you click Excluded Applications, the Excluded Applications window is displayed. It consists of three sections, namely, Applications (exempted from online duration quota policy), Specified, and Excluded Port. The Applications (exempted from online duration quota policy) defines some application traffic such as the traffic for background software updates. You can enable or disable the list. In the Specified, you can select the applications to be excluded. In the Excluded Port list, you can enter the port numbers to be excluded from Internet access duration statistics collection.

www.sangfor.com

375

IAM 11.2 User Manual

If you select URL access traffic, statistics on the traffic for accessing the Internet through the IAM are collected by domain name. If you select URL access duration, statistics on the duration of accessing the Internet through the IAM are collected by domain name.

Auditing Webpage Content Webpage Content is used to specify whether to audit the content of webpages accessed by intranet users. You can choose to audit webpage titles, webpage bodies, or content of only the webpages that contain specified keywords.

www.sangfor.com

376

IAM 11.2 User Manual

Select Webpage Content. The Webpage Content page appears on the right. It consists of the Webpage Content Audit and Keyword (independent from the settings above) sections.

If you select Not to Audit, the IAM does not audit the titles and content of the webpages accessed. If you select Audit webpage caption and contents, the IAM audits both the titles and content of the webpages accessed by intranet users. If you select All URL categories, the IAM audits both the titles and content of all the webpages accessed by intranet users. If you select Specified URL categories, the IAM audits both the titles and content of only the specified webpages accessed by intranet users. You can click Select and then specify the webpages. When you click Select, the page shown in the following figure is displayed.

www.sangfor.com

377

IAM 11.2 User Manual

Keyword (independent from the settings above) is used to audit the content of only the webpages that contain specified keywords.

Click Add. The page for adding Keyword Group is displayed. Click the Keyword drop-down list box and select the keyword group to be used. For details of setting Keyword Group, see Section 3.3.10. Click the Schedule drop-down list box and select the effective time of the keywords. For details of setting effective time groups, see Section 3.3.9. Click the Action drop-down list box and select the handling method to be used by the IAM when it detects a specified keyword. The list includes the Log contents, Reject, and Log contents & reject requests options.

www.sangfor.com

378

IAM 11.2 User Manual

If a specified keyword is detected and Action is set to Log contents, the titles and content of the webpages involved are audited. If a specified keyword is detected and Action is set to Reject, the content of the webpages involved is rejected.

1. You can use different function SNs to separate behavior audit from content audit for Internet access audit policies. If the IAM is upgraded from an earlier version, content audit is enabled by default. 2. If behavior audit is enabled, the Content Audit module will not be available in the Internet access audit policy on the console.

3.5.1.5.3 Adding a Quota Control To set a quota control, perform the following steps: Step 1 Click Add, and choose Quota Control. The page for editing the quota control is displayed.

Step 2 Select Enabled to enable the policy. Note: If you do not select this checkbox, the configured policy does not take effect.

www.sangfor.com

379

IAM 11.2 User Manual

Step 3 Specify Name and Description. The policy name is the unique identifier of the policy. It cannot be the same as an existing one and is mandatory. The description information is a policy overview and is optional. Step 4 On the Options page, set the traffic and duration control policies as required. On the Quota Control page, choose the desired policy type, and set the policy details on the right. Flow quota and duration control policies include the Flow Quota, Online Online duration quota, Bandwidth, Concurrent Connections, and Online Endpoints policies. For details of how to set and use these policies, see the following sections. Step 5 Set Object. The configured policy is applied to the selected user groups and users. Step 6 Specify Advanced. You can set Expiry Date, View and Edit in Privilege of Admin in Same Role, and Give view privilege to administrator in lower-level role.

Flow quota Flow quota is used to specify the total daily or monthly traffic for a user to access the Internet through the IAM. When the traffic reaches the quota, the user cannot access the Internet or is connected through the low-speed traffic channel. The Flow Quota Per User and Action If Threshold is Reached modules are provided for setting the flow quota. You can also set Start Date of Month to www.sangfor.com

380

IAM 11.2 User Manual

specify the start date for collecting traffic statistics each month.

Start Date of Month: indicates the first traffic statistics collection date in each month. For example, if you set it to 3, the statistics collection period runs from the 3rd day of a month to the 3rd day of the following month. The flow quota is restored on the 3rd days of each month. This is a global setting, which means that it applies to all flow quota policies once it is set for one flow quota policy. Period: indicates the period when a flow quota takes effect. Application: indicates the applications to which a flow quota is applied. Daily Quota: indicates the total daily traffic available to each user. Monthly Quota: indicates the total monthly traffic available to each user. Either the daily quota or monthly quota is effective, whichever is reached first. For example, if the daily quota is 100 MB while the monthly quota is 1 GB, when a user reaches the monthly quota, quota exceeding handling is triggered for the user. Action If Threshold is Reached: It is configured to send an alarm mail to an administrator when a user's flow quota is reached, notify a user when the user reaches a specified proportion of the quota, and specify the method for handling quota exceeding.

www.sangfor.com

381

IAM 11.2 User Manual

Send alert message to admin by email: After selecting this option, you must choose System > General > Alarm Options > SMTP Server and configure the server settings and administrator mail addresses for sending alarm mails. Remind user if flow quota usage reaches X%: indicates a flow quota percentage. When it is reached, an alarm is displayed when a user opens a webpage. Every (Minute): indicates the interval for notifying a user and the value ranges from 0 to 1440. Other action: When a user reaches the flow quota, the user cannot access the Internet or is connected through the low-speed traffic channel. The traffic control channel must be configured in advance on the traffic management page.

Online Duration Quota Online Duration Quota is used to specify the Internet access duration of a user in the specified effective time. When the upper limit of the duration is reached, the user cannot access the Internet or is connected to the low-speed traffic channel. The Daily Duration Quota Per User and Action If Threshold is Reached modules are provided for setting the online duration quota.

Type: You can choose between application duration and online duration. Period: indicates the time in which Internet access duration is calculated. www.sangfor.com

382

IAM 11.2 User Manual

Application: indicates the applications to which an online duration quota is applied. Duration: indicates the Internet access online duration quota for a user. The unit is minute and the maximum duration is 1440 minutes. Action If Threshold is Reached: It is configured to send an alarm mail to an administrator when a user's online duration quota is reached, notify a user when the user reaches a specified proportion of the quota, and specify the method for handling quota exceeding. Send alert message to admin by email: After selecting this option, you must choose System > General > Alarm Options > SMTP Server and configure the server settings and administrator mail addresses for sending alarm mails. Remind user if flow quota usage reaches X%: indicates a flow quota percentage. When it is reached, an alarm is displayed when a user opens a webpage. Every (Minute): indicates the interval for notifying a user and the value ranges from 0 to 1440. Other action: When a user reaches the online duration quota, the user cannot access the Internet or is connected through the low-speed traffic channel. The traffic control channel must be configured in advance on the traffic management page.

Bandwidth Bandwidth is used to control the traffic rate of a user. If the traffic rate limit is exceeded, the user is warned or punished.

www.sangfor.com

383

IAM 11.2 User Manual

Period: It is used to specify the time in which the traffic rate is calculated. Traffic rate control is effective only in the specified time. Application: indicates the applications to which traffic rate control is applied. Type: The options include total traffic, upstream traffic, and downstream traffic. Max Bandwidth: indicates the upper limit of the traffic rate. Above Threshold For: If the threshold exceeding duration within the period reaches the upper limit, quota exceeding handling is triggered. Action If Threshold is Reached: indicates the handling method used when the traffic rate threshold is exceeded within the period. It can be configured to send an alarm mail to an administrator, notify a user, and specify the quota exceeding penalty. Send alert message to admin by email: After selecting this option, you must choose System > General > Alarm Options > SMTP Server and configure the server settings and administrator mail addresses for sending alarm mails. Remind user: indicates the notification interval. After the threshold for a user is reached, an alarm is displayed when the user opens a webpage. Every (Minute): indicates the interval for notifying a user and the value ranges from 0 to 1440.

www.sangfor.com

384

IAM 11.2 User Manual

Other action: indicates the period in which a user is punished after the user exceeds the traffic rate threshold. During the period, the user cannot access the Internet or is connected through the low-speed traffic channel. The traffic control channel must be configured in advance on the traffic management page.

Concurrent Connections Concurrent Connections is used to specify the maximum number of concurrent connections per user. It imposes limitations on the tools that users use to set up a large number of connections, such as scanning tools and P2P download tools. It can also reduce the possibility of virus propagation through a large number of connections to other computers. If the number of connections that have been set up by a user reaches the upper limit, the user's request to set up new connections is rejected.

Set Concurrent Connections Per User to the upper limit. The maximum number of 65535. Action If Threshold is Reached: You can choose to reject new connection requests or disable Internet access for a few minutes.

Online Endpoints Online Endpoints is used to specify the maximum number of online terminals. You can set different quota policies for different users so that the maximum number of online terminals varies according to users.

Set Max Endpoints Per User to the upper limit.

3.5.1.5.4 Adding a Reminder Policy Reminder Policy is used to notify users of Internet access behaviors. Administrators can configure www.sangfor.com

385

IAM 11.2 User Manual

terminal notification policies to push bulletins to Internet users. This function regularly redirects HTTP traffic to a specified Bulletin Board so that bulletins are displayed by web browsers to terminal users. To set a reminder policy, perform the following steps: Step 1 Click Add, and choose Reminder policy. The page for editing the reminder policy is displayed.

Step 2 Select Enabled to enable the policy. Note: If you do not select this checkbox, the configured policy does not take effect.

Step 3 Specify Name and Description. The policy name is the unique identifier of the policy. It cannot be the same as an existing one and is mandatory. The description information is a policy overview and is optional. Step 4 On the Options page, set the reminder policy as required. www.sangfor.com

386

IAM 11.2 User Manual

Step 5 Set Object. The configured policy is applied to the selected user groups and users. Step 6 Specify Advanced. You can set Expiry Date, View and Edit in Privilege of Admin in Same Role, and Give view privilege to administrator in lower-level role.

Bulletin Board Bulletin Board is used to configure the regular display of the Bulletin Board when users are accessing the Internet. It consists of the Remind: Every (min) and Bulletin Board (it must be accessible for end users) sections. The Bulletin Board (it must be accessible for end users) section includes the Use predefined bulletin board and Use external bulletin board options.

Remind: indicates whether to push the Bulletin Board at an interval or fixed time. Every (min): indicates the interval for pushing the Bulletin Board and the value ranges from 1 to 1440. Every day at (hh:mm:ss): indicates the fixed time when the Bulletin Board is pushed. Use predefined bulletin board: indicates that the built-in Bulletin Board of the IAM is pushed. To set the page, choose System > General > Custom Webpage. For Details, see Section 3.2.4.8. Use external bulletin board: You can set the URL of the user-defined Bulletin Board in URL so that web browsers access the URL to display the Bulletin Board that you define.

3.5.1.5.5 Adding an Ingress Policy To set an Ingress policy, perform the following steps: Step 1 Click Add, and choose Ingress Policy. The page for editing the Ingress policy is displayed.

www.sangfor.com

387

IAM 11.2 User Manual

Step 2 Select Enabled to enable the policy. Note: If you do not select this checkbox, the configured policy does not take effect.

Step 3 Specify Name and Description. The policy name is the unique identifier of the policy. It cannot be the same as an existing one and is mandatory. The description information is a policy overview and is optional. Step 4 On the Options page, set the Ingress policy as required. On the Ingress Policy page, choose the desired policy type, and set the policy details on the right. (For details of how to set and use an Ingress policy, see the following sections.) Step 5 Set Object. The configured policy is applied to the selected user groups and users. Step 6 Specify Advanced. You can set Expiry Date, View and Edit in Privilege of Admin in Same Role, and Give view privilege to administrator in lower-level role.

3.5.1.5.5.1 Ingress Policy Ingress Policy is implemented by an Ingress program installed in a terminal on the intranet to check the operating system, processes, files, and registry of the terminal. It can also be implemented to encrypt IM messages and audit the files exchanged using IM tools. After the Ingress system is enabled, a terminal can connect to the Internet only when it comply with the Ingress policy. If the Ingress program cannot be installed on a terminal, you can specify whether to allow the terminal to access the Internet.

www.sangfor.com

388

IAM 11.2 User Manual

Click Global Action to Unapplicable Endpoints. The window shown in the following figure is displayed. Specify whether to allow the terminal to access the Internet.

Example: Set a policy for monitoring QQ messages and the files exchanged using QQ. Step 1 Select Ingress and the Ingress page appears on the right. Click Add on the page.

Step 2 Click the Type drop-down list box. Choose Audit IM chats. Set Schedule to All Day.

Step 3 Click Add and choose Audit IM outgoing files. Set Schedule to All Day. Click OK. The policy is configured.

To check other components of a terminal on the intranet, such as the operating system, processes, files, and registry, choose Object > Ingress Rule Database, add an Ingress rule, and reference

the rule in the Ingress policy. 3.5.1.5.5.2 External Link External Link is used to check whether the Internet access line that a terminal uses is allowed. When the Ingress program detects that a terminal accesses the Internet using an external line, it can record the non-compliance information. See the following figure. www.sangfor.com

389

IAM 11.2 User Manual

In the Gateway Addresses text box, enter the allowed gateway IP addresses. The Ingress program checks whether the gateway of a terminal is included in this list. If it is not included in this list and the Internet access data of the terminal is not transferred through the IAM the program deems that the terminal accesses the Internet using an external line and generates a related log in the data center.

1. For details about Ingress rule settings, see Section 3.3.5. 2. A user for whom an Ingress policy is enabled must install the Ingress client on the user's terminal. The terminal can access the Internet only after the client is installed successfully. When the policy is enabled for the first time and the user accesses a webpage using the terminal, the IAM installs the Ingress client on the terminal.

3.5.1.6 Adding a Policy Using a Template You can use an available policy or a built-in policy as a template to add a policy. If a policy is added using a template, the settings for the template are applied to the new policy. This facilitates addition of multiple Internet access policies that are identical with or similar to each other. The configuration page is shown in the figure below:

www.sangfor.com

390

IAM 11.2 User Manual

For example, if the Various Internet activities and traffic template is used to add a policy, all the settings included with the template are copied to the new policy. You can modify the settings of Policy Name, Description, Policy Setup, Applicable Group and User, and Advanced Settings.

If the Give view privilege to administrator in lower-level role option is not selected on the Advanced Settings tab page, low-level administrators cannot use this template to add a new policy after logging in to the console.

www.sangfor.com

391

IAM 11.2 User Manual

3.5.1.7 Deleting an Ingress Policy This function allows you to permanently delete a policy. After it is deleted, the association between this policy and specified users or user groups is removed. Step 1 Select the policy to be deleted.

Step 2 Click Delete. When it is deleted, a notification is displayed.

If the organization structure managed by a high-level administrator covers the organization structure managed by a low-level administrator who creates a policy, the high-level administrator can delete the policy. If the organization structure managed by an administrator covers the organization structure managed by another administrator at the same level who creates a policy, the former administrator can delete the policy only when Editing Allowed is selected for administrators at the same level.

3.5.1.8 Editing Policies in Batches This function is used to edit multiple policies at the same time. It applies only to the Applicable Group and User options of the policies. You can use this function to associate multiple users or user groups with one or more policies. Step 1 Select the policies to be edited in batches.

Step 2 Click Edit. The Applicable Object window is displayed.

www.sangfor.com

392

IAM 11.2 User Manual

Step 3 Select the users or user groups to whom the policies are applicable. Click OK.

1. After users and user groups are selected, the original associations between users and user groups and the policies are replaced. 2. If the organization structure managed by a high-level administrator covers the organization structure managed by a low-level administrator who creates policies, the high-level administrator can edit the policies in batches. If the organization structure managed by an administrator covers the organization structure managed by another administrator at the same level who creates policies, the former administrator can edit the policies only when Editing Allowed is selected for administrators at the same level.

3.5.1.9 Enabling or Disabling a Policy Each policy can be in either the Enabled or Disabled state. The Enabled state indicates that a policy is available and all the rules included in the policy are effective when the policy is invoked. www.sangfor.com

393

IAM 11.2 User Manual

The Disabled state indicates that a policy is unavailable and all the rules included in the policy are not effective when the policy is invoked. Select a policy and click Enable or Disable to set the status of the policy In the status column,

indicates the Disabled state while

indicates the Enabled state.

If the organization structure managed by a high-level administrator covers the organization structure managed by a low-level administrator who creates a policy, the high-level administrator can enable or disable the policy. If the organization structure managed by an administrator covers the organization structure managed by another administrator at the same level who creates a policy, the former administrator can enable or disable the policy only when Editing is selected for administrators at the same level.

3.5.1.10 Changing the Policy Order This function is used to change the order of policies. Policies on a list are implemented in descending order. You can move policies up or down in the list to change their priorities.

You can move policies in a list using two methods: 1. Select the policy to be moved, and click or

; 2. Click

in the Move column in the policy records.

1. The change in this list is applied to the policy lists of users or user groups. 2. The order of policies created by administrators at different levels cannot be changed, and the priorities of the policies depend on the priorities of the administrators. The order of policies created by administrators at the same level can be changed.

www.sangfor.com

394

IAM 11.2 User Manual

3. If the organization structure managed by a high-level administrator covers the organization structure managed by a low-level administrator who creates a policy, the high-level administrator can move the policy. If the organization structure managed by an administrator covers the organization structure managed by another administrator at the same level who creates a policy, the former administrator can move the policy only when Editing Allowed is selected for administrators at the same level.

3.5.1.11 Importing/Exporting a Policy This function is used to import or export a policy. When necessary, you can import a policy into the system. If there are multiple devices whose versions are the same and the same policy must be applied to all of them, you can create the policy and import it into the devices so that repeated configuration is not required. The procedure for exporting policies is as follows: Step 1 Select one or more policies to be exported. Click

.

Step 2 Save the exported policies.

www.sangfor.com

395

IAM 11.2 User Manual

The procedure for importing a policy is as follows: Step 1 Click Import. Select the policy to be imported.

Step 2 Click Open.

www.sangfor.com

396

IAM 11.2 User Manual

When a policy is imported or exported, the objected associated with the policy is imported or exported as well. If the name of an imported object exists in the IAM, the IAM asks you whether to replace the object that exists in the IAM.

3.5.2 Advanced Policy Options Advanced policy options include Logging, Web Access, Policy Troubleshooting, and Excluded Application.

3.5.2.1 Logging Logging is used to set the level of details of website access logs and the level of details of records on files exchanged using IM tools for audit during admission. It consists of the Logging, Exclusion URL Filter Rules for Audit, and IM file Upload.

Website Access Logging Options: Optimized Logging: indicates that only the attempts to access text webpages are logged and different attempts to access the same domain name in a short time are recorded only once. www.sangfor.com

397

IAM 11.2 User Manual

Only log the access to root URLs of websites: indicates that only the attempts to access the root directory of websites are logged. Log access to any webpage: indicates that all requests for webpage elements are logged. If this option is selected, a large number of logs will be generated. Therefore, it is not recommended Not log access to the files with the following extensions: indicates that the attempts to access the files whose file extensions are included in the list are not logged. File extensions are separated using a comma. Other Logging Options: Log Source MAC: indicates that source MAC addresses are logged. Log VLAN ID: indicates that VLAN IDs are logged.

Not log access to URL with the following prefixes (One Prefix in One Row): indicates that the URLs containing the prefixes included in the list are not logged. Fuzzy match is allowed but no wildcard is allowed. Not log access to URL with the following suffixes: indicates that the URLs containing the suffixes included in the list are not logged. Fuzzy match is allowed but no wildcard is allowed.

www.sangfor.com

398

IAM 11.2 User Manual

File Size: indicates the maximum size of a record of a file exchanged using an IM tool for file audit during admission. If the size of a file sent by a client exceeds this limit, only the specified part of the file is recorded. You can query outgoing files on the data center to check whether a record is part of a file or is a complete file. The IAM allows a file record sized up to 500 MB. File extensions: indicates the types of files recorded when files are exchanged using an IM tool for file audit during admission. All indicates that all types of files sent by clients are recorded. Specified indicates that only the user-defined types of files sent by clients are recorded. All others except those specified below indicates that all types of files sent by clients, except those specified in this list, are recorded. These file types are extension names. If a file does not have an extension name, it is recorded only when All or All others except those specified below is selected. Click Commit.

When the QQ client sends a directory that contains over 20 files, only 20 files are recorded randomly.

3.5.2.2 Web Access Options Web Access Options is used to specify whether to, during matching of URL filter permission control policies, disallow accessing websites using IP addresses, allow resources with external domain names on webpages, and disable forbidden webpages.

www.sangfor.com

399

IAM 11.2 User Manual

Not allow visit to website with IP address, exclusive of those in URL database: After this option is selected, an intranet user cannot access a website using its IP address, unless the IP address is included in the URL library. Allow visit to links on webpage: When a user accesses a webpage, some resources (such as advertisements and images) contained in the webpage may have external domain names. These resources may be rejected by policies because their URLs are inconsistent with the domain names of the webpage. As a result, the webpage may not be displayed completely. In this case, you can select this option so that the resources are displayed when the domain name of the webpage is accessible. Disable Access Denied webpage: If this option is selected, when a user attempts to access a forbidden webpage, the access denial page is not displayed but instead the user is notified that the page cannot be displayed. Click Commit.

3.5.2.3 Policy Troubleshooting Policy troubleshooting is used to specify whether the computers and mobile terminals where the admission plug-in or safe desktop plug-in cannot be installed are allowed to access the Internet.

3.5.2.4 Excluded Application Excluded Application is used to specify the applications excluded from Internet access during www.sangfor.com

400

IAM 11.2 User Manual

statistics and Internet access duration control. It consists of the Applications (exempted from duration quota policy), Specified, and Excluded Ports sections.

Applications (exempted from duration quota policy): It defines some application traffic such as the traffic for background software updates. You can enable or disable the list. Specified: It allows a user to specify the applications to be excluded from statistics and Internet access control. Click Select Application and select the applications to be excluded. If an application to be excluded is not listed, you can choose Define Object > User-Defined Application, define the application, and select the application in this list. Excluded Ports: You can enter the destination ports of Internet applications so that the ports are excluded from Internet access duration audit and control.

www.sangfor.com

401

IAM 11.2 User Manual

3.6 Traffic Management 3.6.1 Overview It is used to manage and identify the network traffic of different users and applications. The bandwidth assurance and bandwidth limitation functions are provided. The Bandwidth assurance function is used to ensure bandwidth allocation to important applications. The bandwidth limitation function is used to limit the total upstream and downstream bandwidth as well as the bandwidth of each application for all users, local users, domain users, domain security groups, domain attributes, user attribute groups, source IP addresses, locations, wireless networks, or terminal types. The traffic sub-channel function is also provided for you to create traffic sub-channels for better channel traffic allocation. Traffic management enables: 

Dynamic bandwidth allocation to important Internet applications



Limiting the bandwidth allocated to Internet applications



Controlling the maximum bandwidth available to each IP address



Even bandwidth allocation among IP addresses within the same channel

Basic concepts: Traffic channel: The entire bandwidth is divided, based on service types and user groups under access control, into multiple parts and each part functions as a traffic channel. Traffic channels are classified as bandwidth assurance channels and bandwidth limitation channels. Bandwidth limitation channel: The maximum traffic rate of the channel is specified. When the network load is heavy, the bandwidth allocated to the channel does not exceed the specified value. Bandwidth assurance channel: The maximum bandwidth and minimum bandwidth of the channel are specified. When the network load is heavy, the bandwidth allocated to the channel is not less than the specified minimum value. Traffic sub-channel: A traffic channel hierarchy is created. Traffic sub-channels are used to further divide traffic channels for better bandwidth management. Penalty channel: It works with Quota Control Policy to impose a penalty after a user exceeds a quota. The penalty is configured for the penalty channel. Generally, a small amount of bandwidth is allocated to the penalty channel. Line Bandwidth Allocation: It is used to specify allocation of upstream and downstream bandwidth to Internet lines. If the IAM is deployed in bridge mode, you must set the actual Internet line bandwidth www.sangfor.com

402

IAM 11.2 User Manual

of the front-end gateway, because the bandwidth for the bandwidth limitation channel and the bandwidth for the bandwidth assurance channel are set to a certain percentage of the Internet line bandwidth. Virtual line: It is used in the bridge mode to divide one physical line into multiple virtual lines for traffic management channel configuration.

3.6.2 Bandwidth Management When the bandwidth management system is in the enabled state, traffic channel matching is implemented based on data information when data is transferred through the IAM. The matching criteria include user group/user, IP address, application type, effective time, and destination IP address group. When a packet meets the criteria, a matching traffic channel is identified. A piece of data can match only one traffic control policy. Traffic channels are matched in descending order. Therefore, channels with more detailed matching criteria must be placed high in the list. Traffic sub-channels are also matched in descending order. When a piece of data matches a parent channel, the policy for the parent channel is not implemented immediately. Instead, the matching continues until a sub-channel is matched and the sub-channel does not contain lower-level matching channels.

3.6.3 Bandwidth Channel Configuration Path: Bandwidth Management > Bandwidth Channel

Enable Bandwidth Management System: If it is selected, the traffic management system is enabled. Advanced: It is used to set the line idleness threshold and specify whether to enable busy line protection. Edit Line Bandwidth: It is used to set the Internet line bandwidth. Bandwidth Channel: It is used to set and manage assurance channels, limitation channels, and penalty channels. New Channel: It is used to add channels, including level-1 channels, sub-channels, and penalty www.sangfor.com

403

IAM 11.2 User Manual

channels. It can also be used to add channels based on templates. Edit: You can select a channel, click Edit, and edit the channel. Delete: You can select a channel and click Delete to delete it. Enable: It is used to enable a channel in the Disabled state. Disable: It is used to disable a channel in the Enabled state. Up: It is used to move a channel up the list. Down: It is used to move a channel down the list. Move To: It is used to move a channel to a specified place. View: It is used to filter the channel policies of the listed effective lines when there are multiple lines. You can select all lines or a specific line. : You can click the first icon to expand all channel policies, and click the second icon to collapse all channel policies so that only the level-1 channel policies are displayed. These icons are available when there are sub-channels.

3.6.3.1 Line Bandwidth It is used to ensure the proper operation of important applications. You can set the minimum bandwidth so that data of specified types has bandwidth not lower than the minimum value even when the line is busy. Example: A company leases a 10 Mbps line and has 1000 intranet users. The company ensures that the finance department has at least 2 to 5 Mbps bandwidth for accessing online banking websites and for sending and receiving mails even when the line is busy. Step 1 Choose Bandwidth Management > Line Bandwidth and configure Internet line bandwidth. Click Line 1. The Edit Line Bandwidth: Line 1 window is displayed. In this example, the company leases a 10 Mbps line, and therefore the values of Outbound and Inbound are set to 800 MB/s.

Step 2 Choose Bandwidth Management > Bandwidth Channel www.sangfor.com

404

IAM 11.2 User Manual

Select Enable Bandwidth Management System to enable traffic management. The Line Bandwidth section displays the total bandwidth of all Internet lines. Click Edit Line Bandwidth. The Edit Line Bandwidth page is displayed.

Click Advanced and set the line idleness threshold and specify whether to enable busy line protection. See the following figure.

Low Bandwidth Usage Threshold: It is used to set the line idleness threshold. When the load of a line is lower than the idleness threshold, the limitation channels with intelligent tuning enabled can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the idleness threshold. When the load is higher than the threshold, the bandwidth is decreased to the upper limit. High Bandwidth Usage Threshold: It is used to ensure line availability during peak traffic hours and improve the dynamic bandwidth assurance performance. By default, busy line protection is disabled. www.sangfor.com

405

IAM 11.2 User Manual

You can select Enable High Bandwidth Usage Threshold to enable the function and set the upper limits on the upstream and downstream traffic. The default values are recommended. In the Bandwidth Control section, select either of the following options: Based on IP Addresses (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for each IP address.) Based on username (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for all the IP addresses as a whole.) The save the configuration, click Commit. To cancel the configuration, click Cancel.

Note: If you are not sure about the advanced settings, you can click Recommended Settings to use the recommended settings.

Step 3 Configure the assurance channel. In this example, bandwidth assurance is implemented to ensure that finance department personnel can access online banking websites and send and receive mails properly.

www.sangfor.com

406

IAM 11.2 User Manual

On the Bandwidth Channel tab page, click Add and choose Add Parent Channel. The Add Parent Channel page is displayed. If Add Parent Channel is selected, the channel is enabled. Otherwise, it is disabled. Enter the name of the channel in the Name text box. The Channel field displays the level of the channel and / indicates a level-1 channel. In the Channel Editing Menu, choose Channel. The related attributes for setting the channel are displayed on the right.

Channel : It is used to set the effective line, channel type, limited or assured bandwidth, and per-user bandwidth. Target Line: It is used to select the line applicable to the channel. That is, the channel is used only when data is transferred through the selected line. In this example, there is only one line. Therefore, www.sangfor.com

407

IAM 11.2 User Manual

select Line 1.

Channel Type: It is used to select a channel type and set bandwidth thresholds. In this example, the finance department personnel must be allocated with 160 to 400 Mbps bandwidth for accessing online banking websites and for sending and receiving mails. Therefore, select Guaranteed Channel and set minimum and maximum of Outbound Bandwidth and Inbound Bandwidth to 20% and 50% of the total bandwidth respectively. The total bandwidth is 800 Mbps and therefore the assured bandwidth is 160 Mbps while the maximum bandwidth is 400 Mbps. Priority includes three options, namely, High, Medium, and Low, which indicate the priority of allocating bandwidth of other channels to this channel when the other channels are idle.

Maximum Bandwidth Per User: It is used to limit the bandwidth available to each IP address using the channel. This example does not involve this limitation. Therefore, do not select this option.

www.sangfor.com

408

IAM 11.2 User Manual

Advanced Option: If this option is selected, each external network IP address can be regarded as a user in the channel so that bandwidth can be fairly allocated among the users in the channel and the maximum bandwidth attribute set for each user is applicable to external network IP addresses. (This option is generally used by servers providing services externally. Use it with caution.) Object: It specifies the data types to which the channel is available. The channel is available only when the criteria including applicable application, applicable object, effective time, and destination IP address group are met.

Application: It is used to specify the application types to which the channel is available. All Applications indicates all types of application. Customized allows you to select application types. You can click Select and select applications types and website types in the User-Defined Applicable Service and Application dialog box that appears. In this example, select Mail/All, Website Access/Online Payment, and Website Access/Personal Banking for ensuring access to online banking websites and sending and receiving mails.

www.sangfor.com

409

IAM 11.2 User Manual

Select Application: It is used to specify the users, locations, and terminal types to which the channel is available.

All Users indicates all intranet users. Specified indicates specified users and user groups. You can click the links in blue and select objects in the User-Defined Applicable Object dialog box that appears. In this example, bandwidth assurance must be implemented for all users in the finance department. Therefore, select the Finance Department user group and click Commit.

www.sangfor.com

410

IAM 11.2 User Manual

Schedule: It is used to set the effective time of the channel.

Destination: It is used to select the destination IP address group.

After the parameters are set, the settings are displayed. See the following figure.

Click OK to save the settings. Step 4 When the settings are save, a message is displayed. Click Close. The Bandwidth Channel tab page displays the configured channel. Ensure that the channel is

www.sangfor.com

411

IAM 11.2 User Manual

configured completely.

1. The aggregated bandwidth percentage of bandwidth assurance channels may be greater than 100%. In this case, the minimum bandwidth of each channel is reduced proportionately. For example, two channels are created. The assured bandwidth of channel 1 is set to 30%, while the assured bandwidth of channel 2 is set to 90%. In this case, the actual assured bandwidth of channel 1 is 25% (30/(90+30)%) and the actual assured bandwidth of channel 2 is 75% (90/(90+30)%). 2. Priority: If some bandwidth is available, the channel with a higher priority can use the bandwidth first.

3.6.3.2 Limited Channel You can set the maximum bandwidth of a channel to implement traffic control over the data transferred using the channel. The bandwidth used by the channel must not exceed the maximum value. For example, a company leases a 10 Mbps line and has 1000 intranet users. Many personnel of the marketing department often download files using tools such as XunLei and P2P download tools, which occupy much bandwidth and affect the office jobs of other departments. Therefore, the traffic management system is used to limit the bandwidth allocated to the marketing department for downloading files to 2 Mbps and limit the bandwidth allocated to each user for downloading files to 30 Kbps. Step 1 Choose Bandwidth Management > Edit Line Bandwidth and configure Internet line bandwidth. Click Line 1. The Edit Line Bandwidth window is displayed. In this example, the company leases a 800 Mbps line, and therefore the values of Outbound and Inbound are set to 800 Mbps.

www.sangfor.com

412

IAM 11.2 User Manual

Step 2 Choose Bandwidth Management > Line bandwidth. Select Enable Bandwidth Management System to enable traffic management. The Line Bandwidth section displays the total bandwidth of all Internet lines. Click Edit Line Bandwidth Attributes. The Edit Line Bandwidth page is displayed.

Click Advanced Settings and set the line idleness threshold and specify whether to enable busy line protection. See the following figure.

www.sangfor.com

413

IAM 11.2 User Manual

Low Bandwidth Usage Threshold: It is used to set the line idleness threshold. When the load of a line is lower than the idleness threshold, the limitation channels with intelligent tuning enabled can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the idleness threshold. When the load is higher than the threshold, the bandwidth is decreased to the upper limit. High Bandwidth Usage Threshold: It is used to ensure line availability during peak traffic hours and improve the dynamic bandwidth assurance performance. By default, busy line protection is disabled. You can select Low Bandwidth Usage Threshold to enable the function and set the upper limits on the upstream and downstream traffic. The default values are recommended. In the Bandwidth Control section, select either of the following options: Based on IP Addresses (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for each IP address.) Based on username (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for all the IP addresses as a whole.) To save the configuration, click Commit. To cancel the configuration, click Cancel.

www.sangfor.com

414

IAM 11.2 User Manual

Note: If you are not sure about the advanced settings, you can click Recommended Settings to use the recommended settings.

Step 3 Configure the limitation channel. In this example, traffic control is applied to P2P data download performed by marketing personnel and the bandwidth for P2P data download applications is limited to 2 Mbps.

On the Bandwidth Channel tab page, click Add and choose Add Parent Channel. The Parent Channel page is displayed. If Enable Channel is selected, the channel is enabled. Otherwise, it is disabled. Enter the name of the channel in the Channel Name text box. The Home Channel field displays the level of the channel and / indicates a level-1 channel. In the Channel Editing Menu, choose Bandwidth Channel Settings. The related attributes for setting the channel are displayed on the right. www.sangfor.com

415

IAM 11.2 User Manual

Bandwidth Channel Settings: It is used to set the effective line, channel type, limited or assured bandwidth, and per-user bandwidth. Target Line: It is used to select the line applicable to the channel. That is, the channel is used only when data is transferred through the selected line. In this example, there is only one line. Therefore, select Line 1.

www.sangfor.com

416

IAM 11.2 User Manual

Channel Type: It is used to select a channel type and set bandwidth thresholds. In this example, the bandwidth for P2P data download performed by marketing personnel is limited. Select Limitation Channel and set Outbound Bandwidth and Inbound Bandwidth to 20% of the total bandwidth each. The total bandwidth is 800 Mbps and therefore the limited bandwidth is 160 Mbps. Priority includes three options, namely, High, Medium, and Low, which indicate the priority of bandwidth allocation to the channel during peak traffic hours. Restrain inbound P2P packet loss: It is used to specify whether to control the downstream packet loss rate of P2P download applications and steaming media applications. it is recommended that this option be selected only for P2P applications. Threshold can be exceeded if line is not busy: It is used to specify whether to enable the intelligent tuning function for the channel. If it is selected, the function is enabled. You can click Low Bandwidth Usage Threshold: go to the setting for “Threshold can be exceeded if line is not busy”. After the function is enabled, when the load of a line is lower than the idleness threshold, the limitation channel can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the idleness threshold. When the load is higher than the threshold, the bandwidth is decreased to the upper limit.

www.sangfor.com

417

IAM 11.2 User Manual

Limit Maximum Bandwidth Per User: It is used to limit the bandwidth available to each IP address using the channel. In this example, the bandwidth for the P2P data download applications of each user is limited to 30 Kbps. Set Outbound and Inbound to 30 Kbps.

Advanced: If this option is selected, each external network IP address can be regarded as a user in the channel so that bandwidth can be fairly allocated among the users in the channel and the maximum bandwidth attribute set for each user is applicable to external network IP addresses. (This option is generally used by servers providing services externally. Use it with caution.)

Objects: It is used to specify the application types to which the channel is available. All Applications indicates all types of application. Specified allows you to select application types. You can click Select and select applications types in the User-Defined Applicable Service and Application dialog box that appears. In this example, select Download Tool, P2P, and P2P Stream Media/All to implement traffic www.sangfor.com

418

IAM 11.2 User Manual

control for P2P data download tools. Make sure that the Selected list is correct and click OK.

Applicable Object: It is used to specify the users, locations, and terminal types to which the channel is available. All Users indicates all intranet users. Specified indicates specified users and user groups. You can click Objects and select objects in the User-Defined Applicable Object dialog box that appears. In this example, bandwidth limitation must be implemented for all users in the marketing department. Therefore, select the Marketing Department user group and click OK.

www.sangfor.com

419

IAM 11.2 User Manual

Scheduled: It is used to set the effective time of the channel.

Destination: It is used to select the destination IP address group.

After the parameters are set, the settings are displayed. See the following figure.

Click OK. Step 4 The Bandwidth Channel tab page displays the configured channel.

www.sangfor.com

420

IAM 11.2 User Manual

3.6.3.3 Traffic Sub-Channel Traffic sub-channels are used to create more detailed bandwidth allocation policies for assurance channels and limitation channels. For example, a company leases a 10 Mbps line and has 1000 intranet users. The bandwidth for all the users to send and receive mails must not be less than 3 Mbps or greater than 5 Mbps, even in peak traffic hours. Because there are a large number of marketing personnel and sending and receiving mails is important to them, the bandwidth for them to send and receive mails must not be less than 1 Mbps or greater than 2 Mbps even in peak traffic hours in addition to the preceding assurance. The bandwidth for each user in the marketing department to send or receive mails must not exceed 20 Kbps. Step 1 Choose Bandwidth Management > Line Bandwidth and configure Internet line bandwidth. Click Line 1. The Edit Line Bandwidth window is displayed. In this example, the company leases a 800 Mbps line, and therefore the values of Outbound and Inbound are set to 800 Mbps.

Step 2 Choose Bandwidth Management > Line Bandwidth.

www.sangfor.com

421

IAM 11.2 User Manual

Step 3 Configure a level-1 assurance channel. In this example, bandwidth assurance is implemented for all user to send and receive mails. In addition, bandwidth assurance is implemented further for marketing personnel to send and receive mails. This requirement can be achieved using a traffic sub-channel. You must create on assurance channel for all users and then further ensure bandwidth for the marketing department.

On the Bandwdth Channel tab page, click Add and choose Add Parent Channel. The New Add Parent Channel page is displayed. If Enable Channel is selected, the channel is enabled. Otherwise, it is disabled. Enter the name of the channel in the Channel Name text box. The Home Channel field displays the level of the channel and / indicates a level-1 channel. In the Channel Editing Menu, choose Bandwidth Channel Settings. The related attributes for setting the channel are displayed on the right.

www.sangfor.com

422

IAM 11.2 User Manual

Bandwidth Channel Settings: It is used to set the effective line, channel type, limited or assured bandwidth, and per-user bandwidth. Target Line: It is used to select the line applicable to the channel. That is, the channel is used only when data is transferred through the selected line. In this example, there is only one line. Therefore, select Line 1. Bandwidth Channel Type: It is used to select a channel type and set bandwidth thresholds. In this example, all intranet users must be allocated with 240 to 400 Mbps bandwidth for sending and receiving mails. Therefore, select Guaranteed Channel and set Minimum and Maximum bandwidth of

Outbound Bandwidth and Inbound Bandwidth to 30% and 50% of the total bandwidth

respectively. The total bandwidth is 800 Mbps and therefore the assured bandwidth is 240 Mbps www.sangfor.com

423

IAM 11.2 User Manual

while the maximum bandwidth is 400 Mbps. Priority includes three options, namely, High, Medium, and Low, which indicate the priority of allocating bandwidth of other channels to this channel when the other channels are idle. Objects: It specifies the data types to which the channel is available. The channel is available only when the criteria including applicable application, applicable object, effective time, and destination IP address group are met. Set Applicable Application to Customized and select Mail/All. Set Applicable Object to All Users, Scheduled to All day, and Destination to All. After the parameters are set, the settings are displayed. See the following figure.

Click OK to save the settings. Step 4 Close the notification dialog box. The Bandwidth Allocation tab page displays the configured channel.

www.sangfor.com

424

IAM 11.2 User Manual

Then, set the sub-channel of the created assurance channel to limit the HTTP application bandwidth for the marketing department. Select HTTP Application Assurance, click Add, and choose Add Child Channel.

Step 5 Set the sub-channel. On the Add Child Channel window that appears, set the sub-channel. If Enable Channel is selected, the channel is enabled. Otherwise, it is disabled. Enter the name of the channel in the Channel Name text box. The Home Channel field displays the level of the channel and /HTTP /HTTP Application Assurance indicates a sub-channel. In the Channel Editing Menu, choose Bandwidth Channel Settings. The related attributes for setting the channel are displayed on the right.

www.sangfor.com

425

IAM 11.2 User Manual

Bandwidth Channel Settings: It is used to set the target line, channel type, limited or assured bandwidth, and per-user bandwidth. Target Line is the same as that of the parent channel. It is not set in this example. Bandwidth Channel Type: It is used to select the assurance channel. In this example, marketing personnel must be allocated with 1 to 2 Mbps/s bandwidth for sending and receiving mails, which each of them having a maximum of 20 KB/s. Therefore, select Guaranteed Channel and set Minimum and Maximum of Outbound Bandwidth and Inbound Bandwidth to 33% and 33% of the total bandwidth respectively. The total bandwidth depends on the assured bandwidth and maximum bandwidth of the parent channel. Priority includes three options, namely, High, Medium, and Low, which indicate the priority of allocating bandwidth of other channels to this channel when the other channels are idle. Max bandwidth Per User is use to limit the unbound and outbound speed per user IP address

www.sangfor.com

426

IAM 11.2 User Manual

Channel Availability: It specifies the data types to which the channel is available. The channel is available only when the criteria including applicable application, applicable object, effective time, and destination IP address group are met. Set Applicable Application to Specified and select Mail/All. (Only the applications among the applicable applications of the parent channel can be selected.) Set Applicable Object to Specified and select the marketing department. (Only the objects among the applicable objects of the parent channel can be selected.) Set Scheduled to All Day and Destination to All. After the parameters are set, the settings are displayed. See the following figure.

Click OK to save the settings. Step 6 The Bandwidth Channel tab page displays the configured parent channel and child channel.

1. The percentages defined by the sub-channel depends on the bandwidth calculated for the parent channel. The actual traffic for the sub-channel does not exceed the traffic limit of the parent channel.

www.sangfor.com

427

IAM 11.2 User Manual

2. The traffic management system supports 3 levels of sub-channels by default. A sub-channel at each level contains one default channel for the traffic that does not meet the channel criteria. Therefore, the default channel cannot be deleted. 3. The applications and objects defined for a sub-channel must be among the applications and objects defined for its parent channel. Otherwise, the configuration fails.

3.6.3.4 Penalty Channel You can set the maximum bandwidth of the channel, so that traffic control is implemented on the data transferred through the channel. The bandwidth used to transfer the data will not be greater than the maximum bandwidth specified. A penalty channel is similar to a limitation channel. It works with the user quota policies configured at Access Mgt > Policies > Add > Quota Control to impose a penalty on a user who exceeds a quota, by connecting the user through the penalty channel configured at Quota Control > Online Duration Quota > Action If Threshold is Reached. For example, a company leases 800 Mbps line and has 1000 intranet users. Many personnel of the marketing department often download files using tools such as XunLei and P2P download tools, which occupy much bandwidth and affect the office jobs of other departments. Therefore, the traffic management system is used to limit the daily download traffic to 1 GB and the monthly download traffic to 30 GB for each user in the marketing department. If a user exceeds a quota, the user is connected through the download traffic penalty channel corresponding to the marketing department. The channel limits the total bandwidth allocated to the user to 256 Kbps and limits the download bandwidth allocated to the user to 128 Kbps as a penalty. Step 1 Choose Bandwidth Management > Line Bandwidth and configure Internet line bandwidth. Click Line 1. The Edit Line Bandwidth window is displayed. In this example, the company leases 800 Mbps line, and therefore the values of Outbound and Inbound are set to 800 Mbps.

Step 2 Choose Bandwidth Management > Channel Configuration.

www.sangfor.com

428

IAM 11.2 User Manual

Select Enable Traffic Management System to enable traffic management. The Line Bandwidth section displays the total bandwidth of all Internet lines. Click Edit Line Bandwidth. The Edit Line Bandwidth page is displayed.

Click Advanced and set the line idleness threshold and specify whether to enable busy line protection. See the following figure.

Low Bandwidth Usage Threshold: It is used to set the line idleness threshold. When the load of a line is lower than the idleness threshold, the limitation channels with intelligent tuning enabled can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the idleness threshold. When the load is higher than the threshold, the bandwidth is decreased to the upper limit. High Bandwidth Usage Threshold: It is used to ensure line availability during peak traffic hours and improve the dynamic bandwidth assurance performance. By default, busy line protection is disabled. You can select High Bandwidth Usage Threshold to enable the function and set the upper limits on

www.sangfor.com

429

IAM 11.2 User Manual

the upstream and downstream traffic. The default values are recommended. In the Bandwidth Control section, select either of the following options: Based on IP Addresses (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for each IP address.) Based on username (When multiple IP addresses are connected to the Internet with the same username, traffic control is implemented for all the IP addresses as a whole.) To save the configuration, click OK. To cancel the configuration, click Cancel.

Note: If you are not sure about the advanced settings, you can click Recommended Settings to use the recommended settings.

Step 3 Configure the penalty channel. In this example, traffic control is applied to transferred data of marketing personnel and the total bandwidth is limited to 256 Kbps.

www.sangfor.com

430

IAM 11.2 User Manual

On the Bandwidth Management tab page, click Add and choose Add Limited BM Channel. The Add Limited BM Channel page is displayed. If Enable Channel is selected, the channel is enabled. Otherwise, it is disabled. Enter the name of the channel in the Channel Name text box. The Home Channel field displays the level of the channel and / indicates a level-1 channel. In the Channel Editing Menu, choose Bandwidth Channel Settings. The related attributes for setting the channel are displayed on the right.

Bandwidth Channel Settings: It is used to set the channel type, limited bandwidth, and per-user bandwidth.

www.sangfor.com

431

IAM 11.2 User Manual

Bandwidth Channel Type: It is used to select a channel type and set bandwidth thresholds. In this example, the bandwidth for data transfer performed by marketing personnel is limited. Select Limited Channel and set Outbound Bandwidth and Inbound Bandwidth to 20% of the total bandwidth each. The total bandwidth is 800 Mbps and therefore the limited bandwidth is 4 Mbps. Priority includes three options, namely, High, Medium, and Low, which indicate the priority of bandwidth allocation to the channel during peak traffic hours. Restrain inbound P2P packet loss: It is used to specify whether to control the downstream packet loss rate of P2P download applications and steaming media applications. it is recommended that this option be selected only for P2P applications. Threshold can be exceeded if line is not busy: It is used to specify whether to enable the intelligent tuning function for the channel. If it is selected, the function is enabled. You can click Threshold can be exceeded if line is not busy to go to the page for setting the line idleness threshold. After the function is enabled, when the load of a line is lower than the idleness threshold, the limitation channel can increase the channel bandwidth to a value greater than the user-defined upper limit to keep the load close to the idleness threshold. When the load is higher than the threshold, the bandwidth is decreased to the upper limit.

Maximum Bandwidth Per User: It is used to limit the bandwidth available to each IP address using the channel. In this example, the data transfer bandwidth for each user in the marketing department is limited to 128 Kbps. Set Outbound and Inbound to 128 Kbps. www.sangfor.com

432

IAM 11.2 User Manual

Advanced Option: If this option is selected, each external network IP address can be regarded as a user in the channel so that bandwidth can be fairly allocated among the users in the channel and the maximum bandwidth attribute set for each user is applicable to external network IP addresses. (This option is generally used by servers providing services externally. Use it with caution.) Channel Availability: It specifies the data types to which the channel is available. The channel is available only when the criteria including applicable application, effective time, and destination IP address group are met.

Objects: It is used to specify the application types to which the channel is available. Applications indicates all types of application. Specified allows you to select application types. You can click Select and select applications types in the User-Defined Applicable Service and Application dialog box that appears. In this example, select All to implement traffic control over all data. Make sure that the Selected list is correct and click OK.

www.sangfor.com

433

IAM 11.2 User Manual

Scheduled: It is used to set the effective time of the channel.

Destination: It is used to select the destination IP address group.

After the parameters are set, the settings are displayed. See the following figure.

Click OK. You will be prompt a windows shown as below:

www.sangfor.com

434

IAM 11.2 User Manual

Step 4 The Bandwidth Allocation tab page displays the configured channel.

Step 5 Access the Access Mgt tab page, click Add, and choose Quota Control.

Step 6 Configure a user quota policy. In this example, the daily download traffic of each user in the marketing department cannot exceed 1 GB and the monthly download traffic cannot exceed 30 GB. If Enable This Policy is selected, the policy is enabled. Otherwise, it is disabled. Enter the name of the policy in the Policy Name text box and the description of the policy in the Description text box to facilitate management.

www.sangfor.com

435

IAM 11.2 User Manual

Quota Policy: It is used to select the user limitation type and set relate parameters. In this example, the traffic quota for P2P download tools such as XunLei must be limited for the marketing department. Select Flow Quota and set the parameters. You can select the start day of each month within the range of 1 to 28. For example, if you select 8, the period from May 8 to June 8 is regarded as one month. Each month consists of 30 days.

Flow Quota Per User Settings is used to set detailed limitation parameters. Statistics Collection Time is used to specify the period in which statistics are collected. You can define a period. In this example, the period is set to All Day. Intended Application is used to specify the application types involved in the statistics. In this example, Download Tool/All, P2P/All, and P2P Streaming Media/All are selected. Select Daily Quota and set the daily traffic quota for each user. In this example, it is set to 1 GB. Select Monthly Quota and set the monthly traffic quota for each user. In this example, it is set to 30 GB.

www.sangfor.com

436

IAM 11.2 User Manual

Action If Threshold is Reached is used to set the handling method used after a user exceeds a quota. The methods include sending an alarm mail, notifying an administrator, displaying a user notification page when a user's quota reaches a specific percentage, and imposing a penalty on a user. In this example, the method of imposing a penalty on a user is described. For details of the other methods, see the "User Quota Policy" section. Select Penalty, Add to Traffic Control Channel, and then the Download Traffic Penalty Channel for Marketing Department policy. Object is used to select the users, locations, terminal types, and destination areas to which the policy is applicable. In this example, the marketing department is selected.

Click Commit.

www.sangfor.com

437

IAM 11.2 User Manual

User Quota displays the configured policy.

Note: Quota Policy provides five limitation means, including traffic quota, duration quota, traffic rate control, concurrent connections control, and online terminal limit. For detailed description, see policy management in section 3.4. This section describes the method to configure a penalty channel and only one type of user quota policy.

3.6.3.5 Adding a Channel Using a Template Adding a channel using a template can reduce an administrator's configuration workload. Configured channel policies are automatically added to templates. An administrator can select a channel template, modify it as required, and use it to create a channel.

3.6.3.6 Exclusion Policy An exclusion policy is used to transfer specified types of data through none of the traffic management channels. This helps prevent traffic control over the data. For example, if an IAM is deployed in bridge mode and the DMZ of the front-end firewall is connected to some servers, traffic management is not www.sangfor.com

438

IAM 11.2 User Manual

required for the data exchanged with the servers over the intranet. Because the data is not transferred over the Internet, it does not require Internet bandwidth control. In this case, an exclusion policy is implemented for the applications and IP addresses of the servers. Example: An IAM is deployed in bridge mode, the DMZ of the front-end firewall is connected to some servers, and an exclusion policy must be implemented for the data exchanged between the IAM and the servers. Step 1 Choose Object > IP Group, and add the IP addresses to be excluded.

Step 2 Choose Bandwidth Management > Bandwidth Configuration > Exclusion Rules, click New, and add an exclusion policy.

Step 3 Set the exclusion policy. Set Policy Name and Application Category. If the application type is uncertain, you can select All. Set Destination to the group specified in Step 1.

www.sangfor.com

439

IAM 11.2 User Manual

Step 4 Click Commit.

3.6.4 Line Bandwidth Configuration It is used to set bandwidth values of Internet lines so that bandwidth is allocated based on the actual Internet line bandwidth. The values must be consistent with the actual Internet bandwidth; otherwise, the traffic management system may not generate expected results. Choose Bandwidth Management > Bandwidth Channel and configure Internet line bandwidth. See the following figure.

Line 1 corresponds to WAN1, line 2 corresponds to WAN2, and so on. In routing mode, multiple lines are available if multi-line authorization is enabled. Click the required line to edit.

www.sangfor.com

440

IAM 11.2 User Manual

3.6.5 Virtual Line Configuration For an IAM working in the bridge mode, all the data is transferred through the IAM using the same line, regardless of the number of lines connected to the front-end device and the number of egresses of the device in multi-bridge mode. By default, the IAM performs traffic control over all the lines as a whole. If multiple lines must be controlled separately in bridge mode, virtual lines are required. As shown in the following figure, there is only one default virtual line, which is line 1. If no other line is configured, the bandwidth of line 1 must be the total bandwidth of all the physical lines if there are multiple Internet lines connected to the front-end device or the local device is configured with multiple egresses in multi-bridge mode. However, the IAM cannot control the traffic of multiple Internet lines separately in this case.

Example: The IAM is deployed in bridge mode as shown in the following figure. The firewall has two egresses, including one 10 Mbps line from China Telecom and one 10 Mbps line from China Unicom. The P2P traffic of the lines must be controlled separately so that P2P traffic of each line does not exceed 20% of the bandwidth of each line. Step 1 Configure two virtual lines on the IAM, each corresponding to an Internet line of the firewall. Set the bandwidth of the virtual lines separately based on the actual bandwidth of the corresponding Internet lines. Choose Bandwidth Management > Line Bandwidth, click Line 1, and set the bandwidth value of line 1. Assume that line 1 in this example corresponds to the line from China Telecom. The following figure shows the configuration for line 1.

Choose Bandwidth Management > Line Bandwidth, click Add, and set the bandwidth value of line 2. Assume that line 2 in this example corresponds to the line from China Unicom. The following figure

www.sangfor.com

441

IAM 11.2 User Manual

shows the configuration for line 2.

Step 2 Configure virtual line rules. The rules help distribute data between the virtual lines and correspond the virtual lines with the physical lines. Generally, the front-end device has route selection rules. You can copy the route settings of the front-end device to the virtual line rules. Refer to the firewall route selection settings shown in the following figure and set the virtual line rules. Choose Bandwidth Management > Line Bandwidth > Virtual Line List and click Add. On the Edit Virtual Line Rule page that appears, select virtual line 1 for the data that is transferred to the IP addresses 202.96.0.0/24 through the line from China Telecom.

LAN IP : It is used to set the source IP addresses of packets. WAN IP Address: It is used to set the destination IP addresses of packets. Service: It is used to set the protocol of packets.

www.sangfor.com

442

IAM 11.2 User Manual

Bridge List: It is used in the multi-bridge mode to specify the bridge that forwards packets to the virtual line. Specify Line: It is used to specify the destination virtual line of the data that meets the preceding criteria. Step 3 Set rules for the other virtual lines until the virtual line rules are the same as the line rules of the firewall. Step 4 Control the P2P traffic of the two virtual lines separately. Choose Bandwidth Management > Line Bandwidth and set the limitation channel policy of line 1.

On the Bandwidth Channel tab page, click Add and choose Add Parent Channel. The Add Parent Channel page is displayed. Set the effective line, channel type, limited or assured bandwidth, and per-user bandwidth. Set traffic control for line 1 (line from China Telecom). Set Target Line to Line 1. Channel Type: Outbound Bandwidth and Inbound Bandwidth to 20% of the total bandwidth each. The total bandwidth is 10 Mbps and therefore the limited bandwidth is 2 Mbps. Max Bandwidth Per-User Policy: It is used to specify how bandwidth is allocated among the users using the channel. The default option is Even, which means that the bandwidth is allocated evenly among the users. Channel Availability: It is used to specify the application types to which the channel is available. Click Select and select applications types in the User-Defined Applicable Service and Application dialog box that appears. In this example, select P2P/All and P2P Streaming Media/All to implement P2P traffic control. Click OK.

www.sangfor.com

443

IAM 11.2 User Manual

Object: It is used to specify the users, user groups, and IP addresses to which the channel is effective. If you select All Users, it is effective to all intranet users. After selecting applicable objects, click OK. Step 5 Control the P2P traffic of the two virtual lines separately. Use the method for setting the limitation channel policy of line 1 to set the limitation channel policy of line 2. Step 6 The Bandwidth Channel tab page displays the configured channels. The limitation channel configuration is complete.

www.sangfor.com

444

IAM 11.2 User Manual

1. Virtual line rules are matched in descending order. 2. Virtual line rules can be configured in batches to select lines based on destination IP addresses and bridges. On the Virtual Line Rules page, click Batch Import and set rules. 3. Virtual Line Rules can be imported and exported.

3.7 Endpoint Device Connection Management As smart endpoint devices including tablet PCs and smart phones gain popularity, some employees may set up their own wireless AP without approval and connect to the company's network egresses through the wireless APs. The APs has inadequate security protection and can be easily invaded by outsiders, which imposes information security risks on the intranet. Some other employees may access the Internet using proxies as an authentication workaround, which brings challenges and risks to intranet management. The endpoint device connection management function helps users manage network connections of different terminals, identify wireless smart endpoint devices' attempts to connect to the intranet and access the Internet through proxies, and prevent wireless smart endpoint devices from causing information security risks.

3.7.1 Shared Connection Management It is used to set the maximum number of endpoint devices allowed for a single IP address or user, which prevents intranet users from functioning as Internet proxies for others. When the shared connection is detected and the limit is exceeded, the IP address or user is locked. See the following figure.

www.sangfor.com

445

IAM 11.2 User Manual

Enable connection sharing detection: It is used to enable the shared connection detection function. Connection Sharing: It is used to configure shared connection detection. When you click Connection Sharing, the window shown in the following figure is displayed.

Endpoints: All: indicates that connection sharing between PCs, between mobile endpoint devices, and between PCs and mobile endpoint devices is detected. PCs: indicates that connection sharing between PCs is detected. Lockout Options: It is used to disable Internet access when the maximum number of endpoint

www.sangfor.com

446

IAM 11.2 User Manual

devices sharing a connection is reached. Allow exception if: It is used to specify the exceptions where Internet access is not disabled when the maximum number of endpoint devices sharing a connection is reached. For example, if the maximum number is set to 2 but one PC and one mobile endpoint device are allowed to use the same IP address to access the Internet, Internet access is not disabled and connection sharing is recorded. Lock IP Address: indicates that all Internet access data from a specified IP address is rejected when connection sharing using the IP address is detected. Lock user account: indicates that all Internet access data of a specified user is rejected when connection sharing using the username is detected. Click Commit. Status List: It displays the IP addresses and usernames that are used to share Internet connections. You can lock and unlock users on the page, or add users to the excluded users list.

Filter: It is used to filter user types in the list. You can select all users, locked users, or unlocked users, or select users based on IP addresses.

Excluded Users: It is used to add users, user groups, and IP addresses to a list so that they are

www.sangfor.com

447

IAM 11.2 User Manual

excluded from detection of connection sharing.

Click Excluded Users (Groups) and select trusted users and user groups. See the following figure.

Click Add and enter the trusted IP addresses or IP address ranges. See the following figure.

www.sangfor.com

448

IAM 11.2 User Manual

Click Commit. Trends: It is used to calculate the number of users who use shared Internet connections in the previous 7 or 30 days. The statistics can be collected by source IP address or username. See the following figure.

To view more information about users who use shared Internet connections, click Report Center.

3.7.2 Mobile Endpoint Management It is used to detect and block untrusted mobile endpoint device’s Internet access attempts. See the following figure.

www.sangfor.com

449

IAM 11.2 User Manual

Enable Mobile Endpoint Verification: It is used to enable or disable the mobile endpoint device detection function globally.

Mobile Endpoint Management Configuration Options: It is used to specify the method for handling a detected attempt of a mobile endpoint device. The options include Lock Endpoint and Send alert by mail. If Lock Endpoint is not selected, the IAM does not block the Internet access attempts of the APs and mobile endpoint devices in the mobile endpoints list. You can select Send alert by mail, click Alarm Options, and set alarm options. You can select Lock Endpoint and define the lockout period. Mobile Endpoints List: It displays the IP addresses, usernames, home groups, endpoint types, details, status, and last detection time of connected mobile endpoints. Mobile endpoint detection is implemented based on traffic characteristics. If an AP works in NAT mode, a hotspot IP address is displayed. If the AP works in another mode, a mobile endpoint IP address is displayed. Click Export List to export the mobile endpoints list to a csv file. The content and format of the file is the same as the mobile endpoints list. The mobile endpoints list page displays up to 1000 entries generated within the previous week. You can click Report Center and query more information on the mobile endpoint management page. Excluded Users: It is used by administrators to prevent the IAM from blocking the Internet access www.sangfor.com

450

IAM 11.2 User Manual

attempts of listed mobile endpoints.

Click Excluded Users and select trusted users and user groups.

Click Add and enter the IP addresses of APs or the network segments where the APs provide the

www.sangfor.com

451

IAM 11.2 User Manual

DHCP function.

Trends: It is used to calculate the number of mobile endpoints detected in the previous 7 or 30 days. You can click Report Center and query more information on the mobile endpoint management page. See the following figure.

3.8 Security Protection It consists of the Anti-DoS Attack, Anti-ARP Spoofing, and Virus Removal at Gateway modules.

www.sangfor.com

452

IAM 11.2 User Manual

3.8.1 Anti-DoS Attack Denial of service (DoS) attacks often cause server resource insufficiency and stop service responses. They disable servers to respond to service requests by creating a large number of fake requests that exceed the processing capabilities of the servers. As a result, normal user requests are not responded. The anti-DoS attack function of the SANGFOR IAM is protected against both DoS attacks from the Internet on the intranet and the DoS attacks from virus-infected computers or attack tools residing on the intranet. The following figure shows the configuration page.

Enable Anti-DoS: It is used to enable the anti-DoS attack function. LAN Subnets: It is used to specify the intranet segments that connect to the Internet through the IAM. If this list is created, packets sent from the IP addresses out of the listed intranet segments to the IAM are discarded. The users not in the listed intranet segments neither access the Internet through the IAM nor log in to the IAM through intranet ports. If LAN Subnets is not selected, the anti-DoS attack www.sangfor.com

453

IAM 11.2 User Manual

function detects only the attacks from the Internet. Generally, it is recommended that you select this option. In between this device and LAN, there is (are more than) one L2 switch but no L3 switch: This option is not recommended. If the IAM is connected to the intranet through only L-2 switchers, you can select this option when necessary. The IAM detects attacks based on IP addresses by default. If you select this option, the IAM detects attacks based on MAC addresses. If the IAM is connected to the intranet through an L-3 switching device, the following problem will occur after this option is selected: When packets are transferred through an L-3 switch or router, the source MAC addresses of the packets are changed to the MAC address of the L-3 switch or router, and as a result the IAM may discard all the packets from the switch or router. Not block attacks intiated from the IP addresses below: It is used to disable anti-DoS attack protection for the listed IP addresses. For example, if there is an intranet server providing services as well as many connections for the Internet, you are recommended to disable the function for this server so that it can work properly. Max TCP Connections: It specifies the maximum number of TCP connections that an IP address can set up with a port of a destination IP address within one minute. If the maximum number is exceeded, the IP address is lucked for a specified period. Max Packets Per Sec: It specifies the maximum number of times that a host can send attack packets (including SYN, ICMP, and TCP/UDP packets) within one second. If the maximum number is exceeded, the IP address or MAC address of the host is locked for a specified period. Lockout Period (mins): It specifies the period in which a host is locked after the host's attack is detected by the IAM. The unit is minute. Click Configure Alarm. The Alarm Option page is displayed. You can choose System > General > Alarm Option and view the details. Click Commit.

3.8.2 ARP Protection ARP protection is a common attack on intranets. Virus-infected computers will broadcast ARP spoofing packets on the intranet to affect communication of other computers on the intranet. In serious cases, the entire intranet is interrupted. ARP protection is implemented based on cooperation between the IAM and the admission clients of intranet PCs.

www.sangfor.com

454

IAM 11.2 User Manual

The IAM protects its ARP cache by rejecting the ARP requests or responses with attack characteristics. If a user under access control is bound with an IP address or MAC address, the IAM checks the IP address or MAC address for ARP proofing attacks. Intranet PCs implement anti-ARP spoofing using the admission client. After the client is installed on a PC, the client communicates with the IAM to obtain the correct IP addresses or MAC addresses of the IAM and gateway and bind with the address. The following figure shows the configuration page.

Enable ARP protection: It is used to enable the anti-ARP spoofing function. Enable static ARP: If the gateway address of the intranet PCs is not the interface address of the IAM, set the gateway address in this text box. For example, if the IAM works in bridge mode and the gateway address of the intranet PCs must be the interface address of the front-end router (or firewall), enter the interface IP address or MAC address of the front-end router (or firewall) in the text box. If the admission client is installed on an intranet PC, the client can obtain the correct gateway IP address or MAC address and bind with the address, so as to ensure normal communication between the PC and the gateway. MAC Address Broadcast Interval (sec): It is used to set the interval for broadcasting the MAC address of the gateway (intranet interface of the IAM). It is recommended that you set the interval to 10 seconds.

www.sangfor.com

455

IAM 11.2 User Manual

Click Commit. Click MAC Address Broadcast Interval: It is used to immediately broadcast the MAC address of the intranet interface of the IAM. After ARP spoofing is eliminated from the intranet, you can click this button to quickly restore the ARP table for the intranet PCs.

3.8.3 Antivirus It is used to remove viruses from the data transferred through the IAM to ensure computer security on the intranet. The IAM can detect and remove viruses based on the HTTP, FTP, POP3, and SMTP protocols. The IAM is integrated with a virus scan engine of F-PROT, a famous antivirus software vendor from Iceland, to achieve a high virus identification rate and high virus removal efficiency. The virus definition library of the IAM is synchronized with that of F-PROT, and is updated every one to two days. The virus removal configuration page displays the expiration date of the virus definition library update service and the update date of the virus definition library, provides a button for importing virus definition, options for enabling and disabling virus removal for the four protocols, a list of website or domain name that do not require virus removal, and a list of HTTP and FTP file types that require virus removal. The following figure shows the Antivirus page.

www.sangfor.com

456

IAM 11.2 User Manual

Protect HTTP download against virus, Protect FTP download against virus, Protect POP3/IMAP against virus, and Protect SNMP against virus are used to enable the virus removal function for the four protocols. Excluded websites (URL): It is used to specify the websites that do not require virus removal. The content is domain names. Wildcards are supported and one line contains only one domain name. Protect file against virus: It is used to specify the file types that require virus removal. Click Configure Alarm. The Alarm Option page is displayed. You can choose System > System General > Alarm Option and view the details. Click Commit. The following figure shows the Virus Database Update page.

Update Service Expires On: indicates the expiration date of the automatic update service for the virus definition library. Within the validity period, the IAM automatically connects to the SANGFOR www.sangfor.com

457

IAM 11.2 User Manual

server to update the virus definition library. Virus Database Released On: indicates the date of the last update of the virus definition library. Upload Virus Database: It is used to import a downloaded virus definition file to the IAM to update the virus definition in the IAM. You can click Select File to import the file.

3.9 VPN Configuration 3.9.1 DLAN Operating Status This page can be used to view information about the current VPN connections and network traffic. See the following figure.

You can click Tunnel NAT State and query the tunnel NAT status. You can click Refresh to refresh the current page after VPN status changes. You can click Display Options and select options from the list. By default, all the options are selected.

www.sangfor.com

458

IAM 11.2 User Manual

You can click Start Service to start the VPN service. You can click Stop Service to stop the VPN service.

3.9.2 Basic Settings It is used to set the Webagent information, MTU value of VPN data, minimum compression value, VPN monitoring port, VPN connection mode, broadcast packets, and performance information required for configuring VPN connections. Webagent indicates the addresses of the dynamic IP addressing file in the web servers, including the active Webagent address and standby Webagent address. See the following figure.

For dynamic addressing (HQ does not use a fixed IP address), enter the Webagent webpage address (which is generally an address ended with .php). Click Test to check connectivity. If it uses a fixed IP www.sangfor.com

459

IAM 11.2 User Manual

address, enter the address in the format of IP address: Port number, such as 202.96.134.133:4009. You can click Change Password and change the Webagent password to prevent unauthorized users from altering the Webagent IP address. You can also click Shared Key to set a shared key to prevent connection to unauthorized devices.

If you forget the Webagent password, you must contact SANGFOR's customer service center. It will generate a file that does not contain a Webagent password for you to replace the original file. If you set a shared key, all the VPN nodes must use the key to communicate with each other. If there are multiple lines with only fixed IP addresses, you can set the Webagent addresses in the format of IP address 1#IP address 2: Port number. MTU Value (224-2000) is used to set the maximum MTU value for VPN data. The default value is 1500. Min Compression Value (99-5000) is used to set the minimum packet size for VPN data compression. The default value is 100. VPN Listening Port (Default: 4009) is used to set the monitoring port for the VPN service. The default value is 4009. You can change it as required. Modify MSS is used to set the maximum splice of VPN data for the UDP mode.

Generally, the default values of the MTU Value, Minimum Compression Value, and Modify MMS parameters are recommended. If you need to change the values, contact SANGFOR technical engineering for help. Directly connects to Internet and Indirect connects to Internet are used to set the type of connection between the gateway and Internet. If Internet IP addresses can be detected or port mapping can be implemented to allow Internet users to access the VPN port of the gateway, you can select Directly connects to Internet. Otherwise, select Indirect connects to Internet. Click Advanced. The window shown in the following figure is displayed.

www.sangfor.com

460

IAM 11.2 User Manual

Threads: It is used to set the maximum number of VPNs connected to a VPN device. The default value is 20 and a maximum of 1280 VPNs are allowed. If you need to change the value, contact SANGFOR's technical engineers for help. Broadcast: It is used to specify whether broadcast packets are transferred in VPN channels. Only the broadcast packets for the specified ports are transferred to prevent broadcast storms at both ends of a VPN. Applications such as My Network and IPMSG requires broadcast packets. Multicast Service: It is used to specify whether multicast packets are transferred in VPN channels. Some video applications may require multicast packets. After setting the parameters, click Save.

3.9.3 User Management It is used to manage VPN connection account information, set the usernames and passwords that can be used to connect to VPNs, specify whether to enable hardware authentication or DKEY www.sangfor.com

461

IAM 11.2 User Manual

authentication, specify whether to use virtual IP addresses, set the account encryption algorithm and account validity period, assign intranet permissions to accounts, group users, and set common attributes for group members. See the following figure.

When you click Detect USB-Key, the system checks whether the computer used to log in to the gateway console is connected with a USB key. If no USB key driver is installed, it asks you whether to download the driver. You can click Download USB Key Driver to download the driver and then install it.

Note: Before generating a USB key, you must install the USB key driver. Otherwise, the computer cannot identify the USB key hardware. To prevent USB key installation failures caused by program conflict, exit the third-party antivirus and firewall software during driver installation. You can enter a username or user group and click Search to find the user or user group, and then edit the found user or user group. A found user is highlighted. See the following figure.

You can click Advanced Search and set filters for searching for users. You can select the username fuzzy match option. (If it is not selected, exact keyword match is implemented. Separate keyword using a comma.) The search result includes the following information: user group, group attribute (unlimited, enabled, or disabled), status (unlimited, enabled, or disabled), type (unlimited, mobile, or branch), DKEY status (unlimited, enabled, or disabled), and user idleness duration (unlimited, one year, one month, one week, or user-defined). See the following figure.

www.sangfor.com

462

IAM 11.2 User Manual

You can click Search to search for information. You can click Cancel to cancel information editing. You can click Delete to delete selected users. You can click New User to set account information including the username, password, description, algorithm, and type. See the following figure.

www.sangfor.com

463

IAM 11.2 User Manual

Username: It is used to specify the name of a user. Password: It is used to set a password. Confirm Password: It is used to make sure that the password is correctly set. Description: It is used to add description of a new user to facilitate management. Authentication: It is used to set the authentication mode for a user, which can be local authentication (hardware device authentication), LDAP authentication, or Radius authentication.

Before using Radius authentication or LDAP authentication, set the authentication server in LDP Authentication or Radius Authentication. Algorithm: You can select from the DES, 3DES, AES, SANGFOR_DES, SCB2, and SM4 algorithms. Two peers must use the same algorithm.

www.sangfor.com

464

IAM 11.2 User Manual

User Type: It is used to specify whether the type of a user. Inherit Group Attributes: It is used to group users. If you select this option, the User Group settings are activated. You can add a user to a user group so that the user uses the common attributes of the group.

Add a user group before using the Inherit Group Attributes option. After a user is added to a group, the Algorithm, Enable My Network Places, Permission Settings, and Advanced parameters cannot be set separately. Enable Hardware Authentication: It is used to set certificate authentication based on hardware features. After it is selected, select a certificate file (*.id) corresponding to the user. Enable DKEY: It is used to specify whether to enable DKEY authentication for mobile users. If it is selected, connect the DKEY to a USB port of the computer and click DKEY Generate DKEY. Enable Virtual IP Address: It is used to assign a virtual IP address to a mobile user. If the user type Mobile is selected and a virtual intranet IP address (within the virtual IP address pool) is manually set for the user, the user uses this IP address as his/her virtual intranet IP address after being connected. If the virtual IP address is 0.0.0.0, the system automatically assigns an intranet IP address from the virtual IP address pool to the user. Effective Time and Enable Expiry Time are used to set the effective time and expiration time of an account. If a VPN user uses the My Network service, Enable My Network must be selected. Enable Compression: It is used to use an encryption algorithm to encrypt data transferred between the gateway and a user.

This parameter is used to set SANGFOR's proprietary VPN technology. It ensures high bandwidth use efficiency when the bandwidth is low and speeds up data transmission. However, it is not applicable to all network environments. You can set it based on the actual situation. Disable Internet Service for the User After Connecting to HQ: This option is valid only for mobile users. If it is selected, a mobile user connected to a VPN can access the VPN but cannot access the Internet. www.sangfor.com

465

IAM 11.2 User Manual

Allow users to log in concurrently: It is used to enable multiple users to log in to a VPN with the same account. Not allow password change online: It is used to specify whether a mobile user can change its login password after logging in to a VPN. If it is deselected, the password change is allowed.

Edit LAN Service Access Right: It is used assign permissions to users connected to a VPN. This help specifies the services accessible to users. By default, there is no limit.

Before assigning permissions, add the required services at Select LAN Service. For details, see the "Intranet Service Settings" section. Advanced is used to configure advanced attributes applicable to users connected to a VPN, including route selection policy settings, multicast service settings, channel parameter settings, and intra-channel NAT settings. Route selection policy settings are configured to dynamically select the optimal transmission line among multiple lines based on line conditions. Multicast service settings are configured to support the applications such as video applications that use the multicast protocol between servers and branches. Channel parameter settings are configured to control the traffic of branch VPNs. Intra-channel NAT settings are configured to handle address conflict between two

www.sangfor.com

466

IAM 11.2 User Manual

branches when they belong to the same intranet segment and are connected to a server. The following figure shows the configuration page.

For details of route selection policy settings, see Section 3.2.3.4 "Multi-Line Route Selection Policy." For details of multicast service settings, see Section 3.10.12.3.

www.sangfor.com

467

IAM 11.2 User Manual

Channel parameter settings cover the VPN channel timeout interval, dynamic rate detection, and channel traffic control. Timeout: When the network has a significant delay and high packet loss rate, you can set a timeout interval on a SANGFOR VPN for the network. The timeout interval of each channel depends on the server configuration. The default timeout interval is 20s. For a poor network environment, you can www.sangfor.com

468

IAM 11.2 User Manual

increase the timeout interval. Enable tunnel dynamic probe: When the local or peer end has many lines, this option is applicable. After it is selected, the SANGFOR VPN regularly detects the delay and packet loss rate of each line and selects an optimal line based on the detection result for data transmission. Enable tunnel traffic control: When there are multiple VPN branches or mobile users, this option is used to prevent one branch or user from occupying all the bandwidth, which slows down data transmission for the other branches or users. You can assign upstream bandwidth and downstream bandwidth to each connected user to ensure an appropriate data transmission rate for each user.

The setting of Enable tunnel traffic control is a value range other than a specific value. For example, if you set it to 100 kbps, the bandwidth varies within the range of 80 to 120 kbps.

3.9.4 Connection Management To implement interconnection of multiple network nodes to create a mesh network, the IAM provides the function for managing and setting network node interconnection. You can set the function on the Connection Management page.

This function must be enabled only when this device is used as a branch and needs to connect to HQ devices. If this device is an HQ device, you do not need to enable this function.

You can click Add to add a link to the HQ. See the following figure.

www.sangfor.com

469

IAM 11.2 User Manual

HQ Name and Description are used to indicate a link. You can set them as required. Primary Webagent and Secondary Webagent are used to specify the Webagents corresponding to the HQ to be connected. You can click Test to check whether the Webagents work properly. See the following figure.

Test requests are sent from the local computer instead of the device. If the Webagents are set to domain names, a test success indicates that the corresponding page exists. Otherwise, the page does not exist. If the Webagents are set to fixed IP addresses, a test success indicates that the information entered in the format of IP address: Port number is correct. However, the test success

www.sangfor.com

470

IAM 11.2 User Manual

does not mean that VPN connection is successful. Protocol: It can be set to TCP or UDP to indicate VPN packet type. The default option is UDP. Data Encryption Key, Username, and Password must be set according to the account information provided by the HQ. Cross-ISP Access option: It is applicable when the HQ has interconnected lines from different carriers and packet loss often occurs. You can set it to Low Packet Loss Rate, High Packet Loss Rate, or Manual Setup.

The inter-carrier function must be activated when necessary. Otherwise, it is not effective. For IAM interconnection, both IAMs must enable this function. For interconnection between a module user and the IAM, only the IAM must enable the function. You can click Edit LAN Service Access Right and assign permissions to the peer end connected to a VPN. This enables you to specify the local services available to the peer end. After setting the preceding parameters, select Allow to activate the connection. Then, click Save.

3.9.5 Virtual IP Address Pool You can create a virtual IP address pool for mobile users and another for branch users. See the following figure.

www.sangfor.com

471

IAM 11.2 User Manual

A virtual IP address pool for mobile users includes a range of idle IP addresses designated by SANGFOR's VPN device as the virtual IP addresses of mobile users for connection. When a mobile user connects to the device, the device assigns an IP address from the pool to the user. The user uses the IP address as the source IP address for performing any operations. In addition, you can specify other network information including DNS information for mobile users. 1.

Click Add to create a virtual IP address pool for mobile users, set the type to Mobile user, and select IP address ranges. See the following figure.

The IP addresses in the pool can be idle intranet IP addresses or any other specified IP addresses. If the latter IP addresses are used, make sure that the route entries related to the IP addresses are transferred from the intranet server to the VPN device. Otherwise, mobile users connected to the HQ cannot access the server. After the pool is creased, create uses in the User Management window. Set the user type to Mobile. If the virtual IP address is 0.0.0.0, it indicates that virtual IP addresses are assigned automatically. When a mobile user connects to the HQ, SANGFOR's VPN device assigns an idle IP address from the pool to the user. You can also specify a fixed IP address for the mobile user. See the following figure.

www.sangfor.com

472

IAM 11.2 User Manual

2. Create a virtual IP address pool for branch users. The IP address segments in the pool are provided for branch users to connect to the HQ. When they connect to the HQ, their original network segments are replaced with a network segment in the pool. This resolves intranet IP address conflict between users from the same branch network segments. You can click Add, set the user type to Branch, set the start IP address and end IP address (you can click Calculate to obtain the suitable end IP address) of the virtual IP address segment, and specify the subnet mask and number of network segments. See the following figure.

www.sangfor.com

473

IAM 11.2 User Manual

Start IP Address: indicates the first IP address in a virtual IP address segment. End IP Address: indicates the last IP address in a virtual IP address segment. After setting a virtual IP address segment, create a user in the VPN Information Setting/User Management window, set the user type to Branch, configure the branch network segment that requires translation in the Advanced/Intra-channel NAT Settings window. You can click Advanced in the Virtual IP Address Pool window, and set the subnet mask, DNS, and WINS server information for the virtual IP addresses to be assigned to the virtual network adapters of mobile clients. See the following figure.

www.sangfor.com

474

IAM 11.2 User Manual

Note: After the advanced settings are configured, the virtual network adapter "SANGFOR VPN virtual network adapter" of the computer that runs the mobile client must be configured so that it automatically obtains an IP address and DNS information. Otherwise, the content configured in the Advanced window is not transferred to the virtual network adapter. The following provides a simple example to describe the configuration method. The HQ SANGFOR device is deployed in routing mode and mobile used must connected remotely through VPNs to the HQ. The process is as follows: Click Add to add a rule in the Virtual IP Address Pool window, and select the IP address segment that is the same as that of the device LAN port and is not used by intranet users. See the following figure.

www.sangfor.com

475

IAM 11.2 User Manual

Click Add in the Virtual IP pool window and select the Mobile user type. The default virtual IP address 0.0.0.0 indicates automatic assignment of virtual IP addresses. If you need to specify a virtual IP address, enter the IP address manually. See the following figure.

www.sangfor.com

476

IAM 11.2 User Manual

3.9.6 Multi-Line Settings If multiple lines for WAN ports are used, you must set line information on the Multi-Line Settings page. You can add, modify, and delete line information and change the line selection policy.

If the device has multiple WAN ports and multiple lines, select Enable Multi-Line and add the lines. Click Add. The dialog box shown in the following figure is displayed.

www.sangfor.com

477

IAM 11.2 User Manual

Select a line, set Preferred DNS, Alternate DNS and Connection Mode of the line, and click Save. Set Use static Internet IP Address according to the actual situations. If a dynamic IP address is used, you do not need to set these parameters.

1. For an Ethernet line, you must set Test DNS and the DNS address must be a normal Internet DNS Address. If it is an ADSL line, you do not need to set the parameter. 2. Set Preset Bandwidth according to the actual situation of the line. Click Advanced on the Multi-line Settings page. The Multi-Line Advanced Settings dialog box is displayed. See the following figure.

www.sangfor.com

478

IAM 11.2 User Manual

You can select Enable DNS Detection to enable the multi-line status detection function. Interval (1-120) is used to set the interval for detecting the status of multiple lines. It is valid only after the multi-line status detection function is enabled.

3.9.7 Multi-Line Route Selection Policy SANGFOR VPN gateway provide powerful multi-line route selection policies for VPNs. It can select the optimal transmission lines among multiple lines based on the conditions of the lines. It also allows transmission over multiple lines at the same time. This ensures that data is always transmitted through the lines in good conditions and that data is transmitted through multiple lines for higher line usage. See the following figure.

Click Add. The Edit Line Selection Policy window is displayed. See the following figure.

www.sangfor.com

479

IAM 11.2 User Manual

Policy Name: It is used to define the name of a policy. Policy Description: It is used to add a policy description. Number of Local Lines: It is used to set the number of local lines available. Number of Peer Lines: It is used to set the number of available lines of the peer end. Threshold for VPN-Data-Transfer Line Selection: It is used to determine the conditions of the lines in the active line group. If the delay difference between 2 or more lines in the group is smaller than this threshold, it is regarded that all the lines are in good conditions and data will be transmitted over the lines. If the delay difference between a line and the other lines is greater than the threshold, it is regarded that the line is in poor conditions and data will not be transmitted over the line. This threshold is effective only to the lines in the active line group. Primary Lines: It is used to distinguish the lines that belong to the active line group with the lines that belong to the standby line group. When all the lines in the active line group fail, VPNs switch to the standby line group. This ensures VPN reliability. When the lines in the active line group are restored, the VPNs switch back to the line for optimal transmission performance. Secondary Lines: It consists of all the lines that do not belong to the active line group. The lines in the group transmit VPN data only when all the lines in the active line group fail. Request Assignment: indicates how VPN traffic is distributed among the lines in the active line group. www.sangfor.com

480

IAM 11.2 User Manual

The options include Evenly Distributed by Session and Evenly Distributed by Packet. Assign sessions evenly: indicates that a session in a VPN channel always uses the same line for transmission. If there are multiple sessions, they use different lines for transmission. Assign packets evenly: indicates that VPN packets in a VPN channel are evenly distributed to the lines for transmission. After setting the multi-line route selection policy, enable it for specified users in the User Management window.

3.9.8 Local Subnet List It is used to list the intranet subnets of a hardware device so that VPN users can access the intranet subnets of the HQ. For example, if the HQ has to subnets (192.200.100.x and 192.200.200.x), you can set the local subnet list to enable interconnection among mobile users, branch users, and HQ intranet users. The configuration procedure is as follows: 1.

Configure the subnets that require interconnection on the Local Subnet List page. See the following figure.

Click Add and add a subnet segment and subnet mask.

Subnet Segment and Subnet Mask must be set to the network ID and subnet mask of a network www.sangfor.com

481

IAM 11.2 User Manual

segment other than the directly connected network segment of the LAN/DMZ port of the IAM at the local end. 2. Set reachable routes for the subnets in the Static Routes window. (For details, choose 系 System > Network > Static Routes.

The local subnet list functions as a statement. The network segments defined in the list are regarded by SANGFOR's VPN device and software client as VPN network segments. All the packets intended for the network segments are encapsulated in the VPN channels for transmission when the packets reach the VPN device or software client. Therefore, if subnet segments are added in the list, static routes are required for accessing the subnets.

3.9.9 Inter-channel Routing Settings The IAM provides a powerful inter-channel routing function for VPNs. It enables interconnection among VPNs (software/hardware) to create a real mesh VPN network.

For example, the HQ (Shenzhen 192.168.1.x/24) and the branches (Shanghai 172.16.1.x/24 and Guangzhou 10.1.1.x/24) set up VPN connections (the branches connect to the HQ through connection management) but the two branches do not have VPN connections. An inter-channel routing rule can be set to enable connection between the branches. The configuration procedure is as follows: 1.

Select Enable Routing in the Inter-channel Routing Settings window for Shanghai branch, click Add, and add the route to the Guangzhou branch. See the following figure.

www.sangfor.com

482

IAM 11.2 User Manual

Source IP: indicates the network ID of the source IP address. In this example, it is set to 172.16.1.0. Subnet Mask (Source): indicates the subnet mask of the source IP address. In this example, it is set to 255.255.255.0. Destination IP: indicates the network ID of the destination IP address. In this example, it is set to 10.1.1.0. Subnet Mask (Destination): indicates the subnet mask of the destination IP address. In this example, it is set to 255.255.255.0. Destination Route User: indicates the VPN user to whom the route points.

Source IP and Destination IP are used to match the source IP address and destination IP addresses of data. When data in a VPN channel matches the settings, the route is used to send the data to the specified VPN device.Destination User indicates the destination VPN device of data to be routed. In this example, the username shanghai is specified in the Connection Management window for the Shanghai branch to connect to the HQ through a VPN. Therefore, data with the username shanghai is sent to the HQ. 2. Select Enable Routing in the Inter-channel Routing Settings window for Guangzhou branch, click New, and add the route to the Shanghai branch. See the following figure.

www.sangfor.com

483

IAM 11.2 User Manual

Source IP: indicates the network ID of the source IP address. In this example, it is set to 10.1.1.0. Subnet Mask (Source): indicates the subnet mask of the source IP address. In this example, it is set to 255.255.255.0. Destination IP: indicates the network ID of the destination IP address. In this example, it is set to 172.16.1.0. Subnet Mask (Destination): indicates the subnet mask of the destination IP address. In this example, it is set to 255.255.255.0. Destination User: indicates the VPN user to whom the route points. In this example, it is set to guangzhou. The inter-channel routing function can also be configured to send branches' Internet data to the HQ, where the data is forwarded to the Internet through the HQ's Internet egress. For example, you can set the Shanghai branch to access the Internet through the HQ.

If a branch accesses the Internet through the HQ, you must choose System Management > Firewall > NAT Proxy and add proxy rules for VPN network segments. For details, see the firewall setup description.

www.sangfor.com

484

IAM 11.2 User Manual

3.9.10 Third party connection The IAM provides a function for interconnecting with third-party VPN devices. It can set up standard IPSec VPN connections with third-party VPN devices.

3.9.10.1 Phase I It is used to set the information about the VPN devices that must set up standard IPSec connections with the IAM. See the following figure.

Outgoing Line: indicates the line used to set up standard IPSec VPN connections with the peer end. Select a line egress and click Add. The Edit Peer Device dialog box is displayed. See the following figure.

www.sangfor.com

485

IAM 11.2 User Manual

Device Name: It is used to define the name of the phase I policy. Description: It is used to add a policy description. Address Type: The types include fixed IP address, dynamic IP address, and dynamic domain name. If you select static IP Address at Peer End, you must enter the fixed IP address and the pre-shared key. See the following figure.

www.sangfor.com

486

IAM 11.2 User Manual

If you select Dynamic Domain Name at Peer End, you must set the dynamic domain name and the pre-shared key. See the following figure.

www.sangfor.com

487

IAM 11.2 User Manual

If you select Dynamic IP Address at Peer End, you must set the pre-shared key. In this case, connections can be set up only in the aggressive mode. See the following figure.

www.sangfor.com

488

IAM 11.2 User Manual

When you click Advanced, the Advanced Settings dialog box is displayed. See the following figure.

www.sangfor.com

489

IAM 11.2 User Manual

ISAKMP Lifetime: It is used to set the survival period of the phase I policy. The unit can only be second. Max Attempts: It is used to set the number of retries during negotiation at phase I. Mode: It is used to specify the negotiation modes supported in phase I, including the main mode and aggressive mode. D-H Group: It is used to set the Differ-Hellman group for the two parties performing negotiation. The options include MODP768 Group (1), MODP1024 Group (2), and MODP1536 Group (5). Select Enable DPD to enable the DPD function which helps a VPN device to detect device faults that occur at the peer end of a channel.

www.sangfor.com

490

IAM 11.2 User Manual

Detection Interval: It is used to set the interval for detecting the peer end status. It ranges from 5s to 60s. Max Timeout Count: It is used to set the number of times that detecting the peer end status times out. It ranges from 1 to 6. When the number is reached, it is regarded that the peer end device is faulty. ISAKMP algorithm list:

Authentication: It is used to select an authentication algorithm for phase I. The options include MD5, SHA-1, and SM3. Encryption: It is used to select an encryption algorithm for phase I. The options include DES, 3DES, AES, SANGFOR_DES, SCB2, and SM4. Select Save to enable the configured policy.

1. Standard IPSec supports only the routing mode but does not support the bridge and one-armed mode. Standard IPSec does not allow both ends to set their peers to the dynamic IP address mode at the same time. 2. If you set ISAKMP Encryption Algorithm to SANGFOR_DES, both ends must be SANGFOR devices.

3.9.10.2 Phase II It is used to configure the inbound policy and outbound policy of VPNs. See the following figure.

www.sangfor.com

491

IAM 11.2 User Manual

Inbound Policy Settings is used to sent rules for the packets sent from the peer end to the local end. Click Add. The Policy Setup dialog box is displayed. See the following figure.

Policy Name: It is used to define the name of the inbound policy.

www.sangfor.com

492

IAM 11.2 User Manual

Description: It is used to add a policy description. Source Type: indicates the IP address or IP address segment of the VPN peer end allowed to access the local end. Peer Device: It is used to select the peer device, which is defined in phase I. Inbound Service: It is used to select the services that can access the local device. The services must be predefined at VPN Configuration > Advanced Settings > LAN Service. Expiry Time: It is used to set the effective time of a policy. The time must be predefined at VPN VPN Configuration > Settings > Time and Schedule Settings. You can select Enable Expiry Time and set the expiration time of the policy. Select Enable This Policy and click Save. Outbound Policy is used to sent rules for the packets sent from the local end to the peer end. Click Add. The Policy Setup dialog box is displayed. See the following figure.

www.sangfor.com

493

IAM 11.2 User Manual

Policy Name: It is used to define the name of the outbound policy. Description: It is used to add a policy description. Source: indicates the IP address or IP address segment of the VPN local end allowed to access the peer end. Peer Device: It is used to select the peer device, which is defined in phase I. SA Lifetime: It is used to set the survival period of the phase II policy. The unit can only be second. Outbound Service: It is used to select the services that can access the peer device. The services must be predefined at VPN Configuration > Advanced Settings > LAN service. Security Options: It is used to select the security policy for negotiation. Configure the policy on the Security Options tab page. Expiry Time: It is used to set the effective time of a policy. The time must be predefined at VPN VPN www.sangfor.com

494

IAM 11.2 User Manual

Configuration > Settings > Time and Schedule Settings. You can select Enable Expiry Time and set the expiration time of the policy. Select Enable This Policy. If the peer end adopts PFS, select Enable Perfect Forward Secrecy. Click Save.

1. If PFS is enabled, the DH groups set in phase I and phase II for the peer VPN device must be the same. Otherwise, IPSec VPN connections cannot be set up. 2. The outbound service, inbound server, and time settings for outbound and inbound policies are extended rules of SANGFOR. The rules are effective only to the local device and are not negotiated when VPN connections are set up with third-party devices. The source IP addresses in the outbound policies and inbound policies correspond to Source and Peer Service.

3.9.10.3 Security Options It is used to set the security parameters used when standard IPSec connections are set up with the peer end. See the following figure.

Before setting up IPSec connections with a third-party device, confirm the connection policy used by the device. The policy includes the protocol (AH or ESP), authentication algorithm (Null, MD5, SHA-1, or SM3), and encryption algorithm (DES, 3DES, AES, SANGFOR_DES, SCB2, or SM4). Click Add and add options. See the following figure.

www.sangfor.com

495

IAM 11.2 User Manual

Click Save. SANGFOR's VPN gateway uses the configured connection policy to set up IPSec connections with the peer end.

The encryption algorithm specified in the security options is used to encrypt the data used in phase II of a standard IPSec connection. If multiple devices using different connection policies are interconnected, add the policies to the security options. The source IP addresses in the outbound policies and inbound policies correspond to Source and Peer Service.

The outbound service, inbound server, and time settings for outbound and inbound policies are extended rules of SANGFOR. The rules are effective only to the local device and are not negotiated when VPN connections are set up with third-party devices.

www.sangfor.com

496

IAM 11.2 User Manual

3.9.11 Object It consists of the Schedule and Algorithm sub-modules.

3.9.11.1 Schedule It is used to define the common period combinations, which can be used in the User Management and Intranet Permissions windows. The current time of the IAM prevails. See the following figure.

When you click Add, the Schedule dialog box is displayed. See the following figure.

In this example, a period called Business Hours is defined. Select period combinations and click Invalidate Rule. (By default, all periods are valid.) In this case, rules are ineffective in the selected periods. Click Save.

www.sangfor.com

497

IAM 11.2 User Manual

3.9.11.2 Algorithm List Settings It is used to view and add data encryption algorithms supported by the IAM. The algorithms are used to encrypt the data transferred in the VPN network set up by the hardware device to ensure data security. See the following figure.

The IAM provides the DES, 3DES, MD5, AES, SHA-1, SINFOR_DES, SCB2, SM2, SM3, and SM4 encryption and authentication algorithms. You can add other algorithms as required. Before adding them, contact SANGFOR.

3.9.12 Advanced Settings It consists of LAN Services, VPN Interface, LDAP Server, and Radius Server Settings.

3.9.12.1 Intranet Service Settings The IAM can assign access permissions to VPN users, allow a specific IP address or mobile user in the intranet of a branch to access only the specified intranet services provided by specified computers, and set service parameters of inbound and outbound policies for third-party device interconnection. By assigning service access permissions, the device can manage VPN channel security.

Assigning intranet service permissions includes two steps: creating intranet services and assigning permissions to users. By default, the system does not impose access permission limits on VPN users. The following provides an example: The branch user branch1 with the intranet IP address 172.16.1.200 is allowed to access only the HQ's FTP server whose IP address is 192.168.1.20. Access requests from other IP addresses and requests www.sangfor.com

498

IAM 11.2 User Manual

for accessing other services are rejected. The configuration procedure is as follows: In the LAN Service window, click Add. The Edit LAN Service dialog box is displayed. You can set Service Name to a value that can be easily identified. Select a protocol type. (In this example, the FTP service uses the TCP protocol.) See the following figure.

1. Click Add. The IP Address Range Settings dialog box is displayed. Set the parameters. See the following figure.

www.sangfor.com

499

IAM 11.2 User Manual

Source IP Address: In this example, set it to the intranet IP address 172.16.1.200 of the peer end in the branch. Source Port: It ranges from 1 to 65535. Destination IP Address: In this example, set it to the IP address 192.168.1.20 of the FTP server in the HQ's intranet. Destination Port: The FTP service port number is 20 or 21.

The intranet service settings configured here are definitions. You then must assign intranet permissions to user accounts in the User Management window. The settings can also be used as the parameters for Local Service in Outbound Policy and Peer Service in Inbound Policy for interconnection with third parties. For details, see the "Interconnection with Third Parties" section. 2. Select Branch1 in the User Management window and click Permission Settings. See the following figure. 3. In the Permission Settings dialog box, move the service configured for Branch1 to the list on the right and select Allow. in this example, only the service is allowed. Therefore, set Default Action to Reject. After the preceding steps, the branch user branch1 with the intranet IP address 172.16.1.200 can

www.sangfor.com

500

IAM 11.2 User Manual

only access the HQ's FTP server at 192.168.1.20. FTP server access requests from other IP addresses in the same intranet as Branch1 are rejected.

After the settings are configured, computers at the HQ cannot access Branch1. Because the destination IP addresses contained in Branch1's responses to the access requests from the computers are not 192.168.1.20, the responses are blocked according to the intranet permission settings.

3.9.12.2 VPN Interface Settings It is used to set the intranet interface mask of the IPSec VPN service and the IP address and mask of the VPN virtual network adapter for the device. See the following figure.

VPN Intranet Settings: It is used to notify the peer VPN device of the mask of the local VPN network segment. If you select an interface mask, the network segment corresponding to the mask is notified to the peer VPN device. If the network segment connected to the DMZ port need to access the VPN, select the DMZ port and set a subnet mask.

Click Add, add an idle intranet interface, and set the intranet mask of the local VPN device. The value 0.0.0.0 indicates that the mask of the network port is used.

www.sangfor.com

501

IAM 11.2 User Manual

You can select an intranet interface and click Delete to delete it. You can click Edit and modify the masks of selected intranet interfaces. Local VPN Interface Settings: It is used to set the IP address and mask of the VPN virtual network adapter of the device. Generally, the default IP address is recommended. If IP address conflict occurs, you can click Specify and enter an IP address not in use.

The VPN interface is a virtual interface of the device but not a physical interface.

Generally, Use Automatically Assigned VPN Interface IP Address is recommended. If IP conflict occurs, enter an IP address manually. Click Save.

If the configuration is incorrect, an error is reported. See the following figure. The Saving settings fails message is displayed in the upper-left corner. You can click View Error Information to view the details. After you click View Error Information, a page is displayed, detailing the cause of the error.

www.sangfor.com

502

IAM 11.2 User Manual

3.9.12.3 Multicast Service To meet the requirements of applications such as VoIP and video conferencing applications, SANGFOR's VPN gateway supports the inter-channel multicast service. You can define the multicast service. The IP address range is 224.0.0.1 to 239.255.255.255 and the port number range is 1 to 65535. See the following figure.

When you click Add, the multicast service editing page is displayed. You can set the IP address and port number of the service. See the following figure.

Click Add and add IP addresses and port numbers. See the following figure.

www.sangfor.com

503

IAM 11.2 User Manual

Click Save. See the following figure.

www.sangfor.com

504

IAM 11.2 User Manual

When creating a user in the User Management window, select the multicast service in Multicast Service. See the following figure.

3.9.12.4 LDAP Server Settings The VPN service of the IAM supports third-party LDAP authentication. If you need to enable this-party LDAP authentication, set LDAP information on the LDAP Server Settings tab page (including the IP address, port number, and administrator password of the LDAP server). See the following figure.

Set the LDAP server information and click Advanced. The LDAP Advanced Settings dialog box is displayed. Set the parameters as required. See the following figure.

www.sangfor.com

505

IAM 11.2 User Manual

3.9.12.5 Radius Server Settings The VPN service of the IAM supports third-party Radius authentication. If you need to enable this-party Radius authentication, set Radius information on the Radius Radius Server Settings tab page (including the IP address, port number, shared key, and Radius protocol of the Radius server). See the following figure.

www.sangfor.com

506

IAM 11.2 User Manual

3.9.12.6 Dynamic Routing Settings It is used to set SANGFOR's VPN device to use the RIPv2 protocol to notify routing information to other routing devices, so as to dynamically update the RIP routing information of the intranet routing device.

Enable RIP: It is used to enable or disable the dynamic routing update function. After the function is enabled, SANGFOR's VPN device notifies the specified intranet routing device of information of the peer networks that have set up VPN connections with the local device (for updating other devices' routing tables, adding routes pointing to the SANGFOR's VPN device to the peer VPN devices, and instructing routing devices to delete routes after VPN connections are disconnected).

The device does not receive dynamic RIP updates, If the VPN device must communicate with intranet routers with RIP enabled, manually add static routes on the VPN device. Enable Password Based Authentication: It is used to verify the password during exchange of RIPv2 information. you can set it as required. IP Address and Port Number: They are used to specify the IP address (routing device IP address) to which routing updates are sent. Triggered Periodic Update: If it is selected, the VPN device triggers the routing update process when routing information changes. In this case, the RIP update interval becomes ineffective. Log events: It is selected, the VPN device records RIP routing update logs. Click Save.

The device can use the VPN function only when it is deployed in routing mode. In addition, the VPN function can work properly only after multi-function authorization is enabled.

www.sangfor.com

507

IAM 11.2 User Manual

Chapter 4 Use Cases 4.1 SSO Configuration 4.1.1 SSO Configuration for the AD Domain 4.1.1.1 SSO Implemented by Delivering a Login Script Through Domains Domain server login script (logon.exe) and logout script (logoff.exe) of the are configured. When a user logs in to or logs out of the domain, the login or logout script is executed according to a delivered domain policy to log in or out the user at the device. See the following figure.

The process is as follows: 1. The PC requests domain login. 2. The domain server returns login success information to the PC. 3. The PC executes the logon.exe script and reports the domain login success information to the device.

www.sangfor.com

508

IAM 11.2 User Manual

Configuration Case: The users in the intranet segment 192.168.1.0/24 must adopt the AD domain SSO authentication mode. After they are authenticated, the users use domain accounts to access the Internet. In addition, users and IP addresses are bound automatically. When SSO fails, the authentication page is displayed for users to enter AD domain accounts and password for authentication. Step 1 Choose User Authentication > External Authentication Server and set LDAP Server. (For details, see Section 3.4.2.2.) Step 2 Set the authentication policy. Choose User Authentication > Authentication Policy > New Authentication Policy. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Setting the authentication scope:

Setting the authentication mode:

www.sangfor.com

509

IAM 11.2 User Manual

Setting the handling method to be used after authentication:

www.sangfor.com

510

IAM 11.2 User Manual

Click Commit. Step 3 Enable SSO, select the SSO mode, and set the shared key. Choose User Authentication > SSO Options > Microsoft AD Domain. Select Enable Domain SSO. Select Auto Deliver Scripts, Execute Specified Login Script, and Obtain Login Information, which indicates the SSO is implemented by delivering the login script. Enter the shared key in Shared Key. See the following figure. The shared key is used to encrypt the communication between the device and the AD domain server, and must be specified exactly the same in the login script. Click Download Domain SSO Program to download the login and logout scripts.

www.sangfor.com

511

IAM 11.2 User Manual

Step 4 Configure the login script on the AD domain server. 1. Log in to the domain server and choose Server Manager on the menu as shown in the following figure.

2. Choose Manage Users and Computers in Active Directory.

www.sangfor.com

512

IAM 11.2 User Manual

3. In the displayed window, right-click the domain to be monitored and choose Properties.

4. In the displayed window, click Group Policy. Double-click the group policy Default Domain Policy.

5. In the displayed Group Policy Object Editor window, choose User Configuration > Windows Settings > Scripts (Logon/Logoff).

www.sangfor.com

513

IAM 11.2 User Manual

6. Double-click Logon on the right. In the displayed Logon Properties window, click Show Files in the lower left corner. A directory is opened. Save the login script file in the directory and close it.

www.sangfor.com

514

IAM 11.2 User Manual

www.sangfor.com

515

IAM 11.2 User Manual

7. In the Logon Properties window, click Add. In the Add a Script window, click Browse, choose the login script file logon.exe, and enter the IP address of the device, port number (fixed to 1773 and 1775 for IPv4, or to 1775 for IPv6), and shared key (exactly the same as that configured on the device). The parameter values must be separated by space. Click Apply and then OK. Then close the windows one by one.

www.sangfor.com

516

IAM 11.2 User Manual

Step 5 Configure the logout script on the LDAP. The logout script helps users who are logged out of the domain server log out of the device as well. 1. Perform the steps for configuring the login script. In step 6, double-click Log off instead.

www.sangfor.com

517

IAM 11.2 User Manual

2. In the displayed Logoff Properties window, click Show Files in the lower left corner. A directory is opened. Save the logout script file logff.exe in the directory and close it.

www.sangfor.com

518

IAM 11.2 User Manual

www.sangfor.com

519

IAM 11.2 User Manual

3. In the Logoff Properties window, click Add. In the Add a Script window, click Browse, choose the AD logout script file logoff.exe, and enter the SG IP address specified during logout script parameter configuration. Close the pages one by one.

www.sangfor.com

520

IAM 11.2 User Manual

4. Choose Start > Run. Enter gpupdate and click OK. The group policy takes effect. Step 6 Log in to the domain on a computer. If the login is successful, you can access the Internet.

1. The primary DNS of the PC must be set to the IP address of the domain server. Otherwise, the domain IP address cannot be resolved, resulting in domain server login failure. 2. If the DNS or IP address is changed after first successful login, the user can log in to the computer with the correct password because Windows remembers the previous correct password. However, the user cannot log in to the domain in this case. The SSO fails and an authentication dialog box requesting the username and password is displayed when the user tries to access the Internet.. 3. The domain server, device, and PC must be able to communicate with each other properly.

4.1.1.2 Obtaining Login Information Using a Program (SSO Without a Plug-in) The IAM has an ADSSO program, which can regularly connect to the Ad domain and detect the

www.sangfor.com

521

IAM 11.2 User Manual

domain login success status of a PC on the domain server to implement SSO.

The process is as follows: 1. The PC logs in to the domain. 2. The SSO client program obtains the information about the user who successfully log in to the domain from the LDAP server. 3. The user becomes online on the IAM. Configuration Case: The users in the intranet segment 192.168.2.0/24 must adopt the AD domain SSO authentication mode. After they are authenticated, the users use domain accounts to access the Internet. In addition, users and MAC addresses are bound automatically (through layer 3). When SSO fails, the users can access the Internet without being authenticated. They use MAC addresses as their usernames but they are categorized as temporary users. The permissions for the limited group are assigned to the users for Internet access and they cannot be added to the organization structure. Step 1 Choose Users > External Authentication Server and set the authentication AD domain server. (For details, see Section 3.4.2.2.) Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add Authentication Policy. Set the authentication policy according to the IP or MAC addresses of the users who require

www.sangfor.com

522

IAM 11.2 User Manual

SSO. Setting the authentication scope:

Setting the authentication mode:

www.sangfor.com

523

IAM 11.2 User Manual

Setting the handling method to be used after authentication:

www.sangfor.com

524

IAM 11.2 User Manual

Step 3 Because the customer's environment involves layer 3 and MAC addresses must be bound. Therefore, the function for transferring MAC addresses through layer 3 must be configured. Choose Users > Advanced > MAC Filtering Across L3 Switch, and configure the function. For details, see Section 3.4.4.4. Step 4 Enable SSO on the device and set the IP address of the domain server. Choose Users > Single Sign On SSO > MS AD Domain and perform configuration. Select Enable Domain SSO. Select Domain SSO.

www.sangfor.com

525

IAM 11.2 User Manual

Click Add to add an AD domain server.

Step 5 Verify that the AD domain server configuration takes effect. 1. Make sure that the RPC service works properly on the AD domain server.

www.sangfor.com

526

IAM 11.2 User Manual

2. Make sure the Kerberos DES encryption is enabled on the AD domain server. If it is disabled, the SSO client may not be able to log in to the domain server (not due to other factors such as the network and username). To resolve the problem, run gpedit.msc and choose Computer Configuration > Windows Settings > Security Settings > Local Policy > Security Options > Network Security. Configure Kerberos and select the encryption types DES_CBC_CRC and DES_CBC_MD5. 3. Obtain user configuration from event logs. 1) Enable event log audit of the AD domain. Access the Control Panel and click Administrative Tools.

www.sangfor.com

527

IAM 11.2 User Manual

Edit Group Policy Management.

www.sangfor.com

528

IAM 11.2 User Manual

Edit Default Domain Controllers Policy.

Enable Audit logon events and Audit account logon events.

www.sangfor.com

529

IAM 11.2 User Manual

4. Obtain user configuration using NetSession. Modify the group policy of the AD domain. If SSO is enabled for only specified groups, modify the related group policies.

Modify user login and logout script settings. Choose User Configuration > Windows Settings > Scripts (Login/Logout) > Login. www.sangfor.com

530

IAM 11.2 User Manual

Click Show File. The directory shown in the following figure is displayed.

www.sangfor.com

531

IAM 11.2 User Manual

Create the logon.bat script file that has content in the directory. The following content is recommended.

www.sangfor.com

532

IAM 11.2 User Manual

Save the file and close the group policy settings windows.

www.sangfor.com

533

IAM 11.2 User Manual

Update the group policy.

www.sangfor.com

534

IAM 11.2 User Manual

4.1.1.3 SSO Implemented Using IWA You can enable IWA on the IAM to add the IAM and intranet computers to the AD domain. When an intranet user logs in to the domain and accesses a webpage, the user is authenticated on the IAM. The configuration procedure is as follows: Step 1 Choose Users > External Authentication Server and set the authentication AD domain server. (For details, see Section 3.4.2.2.) Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 3 Enable SSO on the device and set the IP address of the domain server. Choose Users > Single Sign On SSO > MS AD Domain and perform configuration. Select Enable Domain SSO. Select Enable Integrated Windows Authentication and perform configuration. See the following figure.

Click Test. The test result is displayed. Click OK. After about 1 minute, the loudspeaker icon in the lower-right corner will indicate whether you have joined the domain successfully. Step 4 Log in to the domain and access a webpage. View the online user list of the IAM, which displays the users who have been authenticated.

4.1.1.4 SSO Implemented in Monitoring Mode In this mode, the IAM intercepts data of the PC that logs in to the domain server and obtains login www.sangfor.com

535

IAM 11.2 User Manual

information from the data, thereby implementing SSO. No component needs to be installed on the domain server but the data of intranet PCs that log in to the domain server needs to be mirrored through the device or listening port to the device. The device captures the login information by listening on the UDP 88 port. After successful login to the domain, the user can access the Internet directly, without being authenticated by the device. It is applicable to scenarios where the domain server is deployed within or out of the intranet. The SSO configurations for these two deployment modes of the domain server are described as follows: Scenario 1: Domain server deployed on the intranet

The data flow is as follows: 1. Domain login data of a PC is not transferred to the IAM but forwarded within the intranet. 2. A mirroring port is configured on the switch to mirror the domain login data of the PC to the IAM. 3. If the user logs in to the domain successfully, the device authenticates the user automatically. The procedure is as follows: Step 1 Choose Users > External Authentication Server and set the authentication AD domain server. (For details, see Section 3.4.2.2.) Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 3 Enable SSO on the device and set the IP address of the domain server. Choose Users > Single Sign On SSO > MS AD Domain and perform configuration. Select Enable Domain SSO. Select Obtain login profile by monitoring the data of computer logging into domain. Enter the IP

www.sangfor.com

536

IAM 11.2 User Manual

address and the listening port of the domain server in Domain Controllers. If there are multiple domain servers, enter the IP address and the listening port of each domain server in one line. See the following figure.

Step 4 The domain login data of the intranet does not pass through the device. You must set a mirroring port and connect it to the mirroring port on the switch forwarding login data. Click Others, and set the mirroring port of the device. The mirroring port must be an available one not in use.

Step 5 Log in to the domain on a computer. If the login is successful, you can access the Internet. Scenario 2: Domain server deployed out of the intranet

www.sangfor.com

537

IAM 11.2 User Manual

The data flow is as follows: 1. The packets of a PC logging in to the domain pass through the device. 2. The intranet interface of the device is used as a listening port. No more listening port is required. The procedure is as follows: Step 1 Choose Users > External Authentication Server and set the authentication AD domain server. (For details, see Section 3.4.2.2.) Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. The LDAP server is not located on the intranet of the device. Before user authentication, access to the domain server must be allowed. Choose Authentication Policy > Action > Advanced > Before authentication, added to group, set the group to be used before authentication, and configure the Internet access policy to allow this group to access the domain server. Step 3 Enable SSO on the device and set the IP address of the domain server. Choose Users > Single Sign On SSO > MS AD Domain and perform configuration. Select Enable Domain SSO. Select Obtain login profile by monitoring the data of computer logging into domain. Enter the IP address and the listening port of the domain server in Domain Controllers. If there are multiple domain servers, enter the IP address and the listening port of each domain server in one line.

www.sangfor.com

538

IAM 11.2 User Manual

Step 4 Log in to the domain on a computer. If the login is successful, you can access the Internet.

In monitoring mode, only the user login information is monitored. The logout data is not captured. Therefore, the logout state is not obtained. In this case, the PC may have logged out while the user is not removed from the online user list on the device.

4.1.2 Proxy SSO Configuration It is applicable to the environment where users use proxies to access the Internet and each user has a proxy server account. In proxy SSO mode, when a user is authenticated by the proxy server, the user is also authenticated by the device.

4.1.2.1 4 SSO in Monitoring Mode In the monitoring mode, proxy SSO is implemented by monitoring login data. It is applicable in two scenarios. Scenario 1: Proxy server deployed out of the intranet. See the following figure.

www.sangfor.com

539

IAM 11.2 User Manual

The data flow is as follows: 1. Users can access the Internet through a proxy server and the device monitors the interaction between PCs and the proxy server. 2. When the PCs are authenticated by the proxy server, they are also authenticated by the device. The configuration procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. The proxy server is not located on the intranet of the device. Before user authentication, access to the domain server must be allowed. Choose Authentication Policy > Action > Advanced > Before authentication, added to group, set the group to be used before authentication, and configure the Internet access policy to allow this group to access the proxy server. Step 2 Choose Users > Single Sign On SSO > Proxy and perform configuration. Select Proxy Enable Proxy SSO. Select Proxy, Obtain login profile by monitoring the data of computing logging into proxy server In Proxy Server List, enter the IP address and listening port of the proxy server. If there are multiple proxy servers, enter the one IP address and port number in each row. Set the port numbers to those for proxy authentication. See the following figure.

www.sangfor.com

540

IAM 11.2 User Manual

Step 3 Log in to the proxy server on a computer. If the login is successful, you can access the Internet.

1. If the proxy server is an ISA server that adopts IWA, the Compatible with Kerberos option needs to be selected for implementing SSO. This option is applicable only when login packets pass through the IAM, and inapplicable to the mirroring mode and bypass mode. 2. In this scenario, if Show Disclaimer is selected at Authentication Policy > Action > Advanced, redirection must be implemented at the DMZ port. Otherwise, users cannot be authenticated and access the Internet. Scenario 2: Proxy server deployed in the intranet. See the following figure.

www.sangfor.com

541

IAM 11.2 User Manual

The data flow is as follows: 1. Users can access the Internet through a proxy server and the authentication data is not forwarded by the IAM. 2. A mirroring port is configured on the switch to mirror the data sent from PCs to the proxy server to the IAM. 3. When the PCs are authenticated by the proxy server, they are also authenticated by the device. The configuration procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Proxy and perform configuration. Select Proxy > Enable Proxy SSO. Select Proxy > Obtain login profile by monitoring the data of computer logging into proxy server In Proxy > Proxy Server Address List, enter the IP address and listening port of the proxy server. If there are multiple proxy servers, enter the one IP address and port number in each row. Set the port numbers to those for proxy authentication. See the following figure.

www.sangfor.com

542

IAM 11.2 User Manual

Step 3 If the login data does not pass through the device, set a mirroring port connected to the mirroring port on the switch forwarding login data packets. Click Others, and set the mirroring port. The mirroring port must be an available one not in use.

Step 4 Log in to the proxy server on a computer. If the login is successful, you can access the Internet.

This mode does not support Compatible with Kerberos.

4.1.2.2 SSO in ISA Mode It is applicable when the ISA server is located in the intranet and ISA login data does not pass through www.sangfor.com

543

IAM 11.2 User Manual

the device. An extended plug-in can be registered with the ISA server and used to send ISA login information of PCs to the device, which makes users log in to the device. See the figure below.

The process is as follows: 1.

PCs undergo proxy authentication by the ISA through the HTTP proxy.

2.

The ISA sends PC login success information to the IAM.

3.

The IAM authenticates the PCs and allows the PCs to access the Internet.

The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Proxy and perform configuration. Select Proxy > Enable Proxy SSO. Select Proxy, Obtain login profile by executing logon control through proxy. Enter the shared key in Shared Key. See the following figure.

www.sangfor.com

544

IAM 11.2 User Manual

Step 3 Download the ISA SSO login plug-in and a sample configuration file from the device, configure the ISA server, register the plug-in, and configure SangforAC.ini. 1. Save the plug-in MyAuthFilter.dll to the ISA installation directory, such as C:\Program Files\ISA server\. 2. Run regsvr32 “C:\Program Files\ISA server\MyAuthFilter.dll” to register the plug-in. 3. Save the sample configuration file SangforAC.ini to the root directory of drive C. The following describes the configuration file: [config] acip=192.168.0.1 IP address of the device. key=123 Packet encryption key for logging in to the ISA. It must be the same as that configured on the device. cycle=30 Minimum intervals for an IP address to send login packets (unit: second). This reduces the packet sending frequency by preventing an IP address from sending a login packet every time it initiates a session to access a website. logpath= Debug log path. If it is blank, the debug log function is disabled. If it is set, the debug log function is disabled. Enable it when necessary. In addition, make sure that the NETWORK SERVICE user can read and write the directory.

www.sangfor.com

545

IAM 11.2 User Manual

maxlogsize=1 Maximum size of a debug log file (unit: MB). When the size reaches the upper limit, its content is deleted. charset=UTF-8 The supported encoding types include UTF-8, UTF-16, GB2312, GB18030, and BIG5. 4. Check the ISA plug-in panel to make sure that the Sangfor ISA Auth Filter plug-in is enabled Step 4 Log in to the proxy server on a computer. If the login is successful, you can access the Internet.

1. After modifying SangforAC.ini, you must register the plug-in again. 2. The ISA plug-in cannot log out a domain user of the device when the user logs out of the domain or shut down the computer. You can set a timeout interval on the device console to log out the user of the device. See the following figure.

3. The IAM and ISA server must use the same key, which is different from other SSO keys. 4. The ISA server must not block data of its UDP 1773 port connected to the IAM. 5. If the proxy server is in the IAM WAN, users must be allowed to access the proxy server before being authenticated. To allow them to access the proxy server, do as follows: Choose Authentication Policy > Action > Advanced, select Before authentication, added to group, and set a group.

www.sangfor.com

546

IAM 11.2 User Manual

Configure the Internet access permissions of this group to include the IP address and port number of the proxy server.

4.1.3 POP3 SSO Configuration A customer's network includes a mail server and user information is stored in a POP3 server. Before accessing the Internet, users use clients such as Outlook and Foxmail to log in to the POP3 server to send or receive a mail. When user login information is detected in monitoring mode, the device identifies and authenticates the users, so that the users do not need to enter usernames and passwords again. It is applicable to scenarios where the POP3 server is deployed within or out of the intranet. The POP3 SSO configurations for these two deployment modes of the POP3 server are described as follows: Scenario 1: POP3 server deployed in the intranet

www.sangfor.com

547

IAM 11.2 User Manual

The data flow is as follows: 1. A user uses a mail client to communicate with the POP3 server and the device monitors the communication. 3. When the mail client logs in to the POP3 server, the device authenticates the user, so that the user does not need to enter a password again for accessing the Internet. 3. Because data is exchanged in the intranet, the data for logging in to the POP3 server does not pass through the device. Therefore, a listening port must be configured on the device. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > POP3 and perform configuration. Select Enable POP3 SSO. In POP3 Server Address List, enter the IP address and listening port of the POP3 server. If there are multiple POP3 servers, enter the one IP address and port number in each row. Set the port numbers to those for POP3 authentication (default: TCP110). See the following figure.

www.sangfor.com

548

IAM 11.2 User Manual

Step 3 In this example, the login data does not pass through the device, set a mirroring port connected to the mirroring port on the switch forwarding login data packets. Click Others, and set the mirroring port. The mirroring port must be an available one not in use.

Step 4 The PC receives a mail using the mail client. After successful POP3 server login, it can access the Internet. Scenario 2: POP3 server deployed out of the intranet

www.sangfor.com

549

IAM 11.2 User Manual

The data flow is as follows: 1. The packets of a PC logging in to the POP3 server pass through the device. 2. The intranet interface of the device is used as a listening port. No more listening port is required. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > POP3 and perform configuration. Select Enable POP3 SSO. In POP3 Server Address List, enter the IP address and listening port of the POP3 server. If there are multiple POP3 servers, enter the one IP address and port number in each row. Set the port numbers to those for POP3 authentication (default: TCP110). See the following figure.

Step 3 The PC sends and receives a mail using the mail client. After successful POP3 server login, it

www.sangfor.com

550

IAM 11.2 User Manual

can access the Internet.

If the POP3 server is in the IAM WAN, users must be allowed to access the POP3 server before being authenticated. To allow them to access the POP3 server, do as follows: Choose Authentication Policy > Action > Advanced, select Before authentication added to group, and set a group.

Configure the Internet access permissions of this group to include the IP address and port number of the POP3 server.

4.1.4 Web SSO Configuration Generally, it is applicable to customers who have their own web servers and the web servers store account information. A customer wants its web server and the device to authenticate users at the same time before the users access the Internet. It is applicable to scenarios where the web server is deployed within or out of the intranet. www.sangfor.com

551

IAM 11.2 User Manual

Scenario 1: Web server deployed in the intranet

The data flow is as follows: 1. A user logs in to the web server. The entire process uses plaintext data and the device monitors the communication. 2. The keywords contained in the feedback sent from the server after authentication are checked to determine whether the user is authenticated. If the user is authenticated. Web SSO is successful. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Web and perform configuration. Select Enable Web SSO.

www.sangfor.com

552

IAM 11.2 User Manual

Set Web Authentication Server to the IP address of the web server. Set User Form Name to the name of the username form submitted to the server during web authentication. Set Authentication Success Keyword or Authentication Failure Keyword for identifying whether web SSO is successful. For example, if you set Authentication Success Keyword and the keyword is contained in the result sent back using the POST method, web SSO is successful. For example, if you set Authentication Failure Keyword and the keyword is contained in the result sent back using the POST method, web SSO fails. Step 3 In this example, the login data does not pass through the device, set a mirroring port connected to the mirroring port on the switch forwarding login data packets. Click Others, and set the mirroring port. The mirroring port must be an available one not in use.

www.sangfor.com

553

IAM 11.2 User Manual

Step 4 Log in to the specified website, such as the BBS website in the example, on a computer. If the login is successful, you can access the Internet. Scenario 2: Web server deployed out of the intranet

The data flow is as follows: 1. The packets of a PC logging in to the web server pass through the device. 2. The intranet interface of the device is used as a listening port. No more listening port is required. If the user successfully logs in to the web server, web SSO is successful. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Web and perform configuration. Select Enable Web SSO.

www.sangfor.com

554

IAM 11.2 User Manual

Step 3 Log in to the specified website, such as the BBS website in the example, on a computer. If the login is successful, you can access the Internet.

4.1.5 Configuration of SSO Implemented with Third-Party Devices 4.1.5.1 SSO Implemented with Ruijie SAM Ruijie SAM is a broadband authentication and charging management system, which is commonly used by colleges and level-2 carriers. Before accessing the Internet, a user must be authenticated by Ruijie SAM. After a user logs in to or logs out of Ruijie SAM, the user is logged in to or logged out of the IAM automatically. See the following figure.

www.sangfor.com

555

IAM 11.2 User Manual

The data flow is as follows: 1. A PC logs in to or logs out of Ruijie SAM. 2. Ruijie SAM's database server notifies the IAM of user login or logout to implement SSO. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Third-Party Server and perform configuration. Select Ruijie SAM system and configure the shared key. See the following figure.

www.sangfor.com

556

IAM 11.2 User Manual

Step 3 Download the Ruijie SAM SSO program from the device and configure the database server of Ruijie SAM to enable the database server to send user authentication information to the IAM after a user logs in to Ruijie SAM through a PC. The following provides an example to describe how to configure the database server SQL Server 2005 of Ruijie SAM. 1. Click Click Here to Download below Ruijie SAM system to download rjsam.zip (including logon.exe and trigger SQL scripts) to the server. After the file is decompressed, the content shown in the following figure is obtained.

2. Copy logon.exe that must be called by the triggers to the related directory of the server. 3. The directory 2005 stores the trigger SQL statements customized for SQL Server 2005. Take logon_trigger.sql as an example. Open the file, copy all its content to the query manager of the SQL www.sangfor.com

557

IAM 11.2 User Manual

Server, and modify the following configuration in the content as required (same for logout_trigger.sql and update_trigger.sql): 4. The three triggered mentioned above call the xp_cmdshell command of the master database but SQL Server 2005 disallows calling the command by default. Therefore, you must run xp_cmdshell.sql to allow calling the command. See the following figure. In SQL Server 2005 Management Studio, open the file and click 执行 Run.

5. Access SQL Server 2005 Management Studio and locate SAMDB.

6. Locate the ONLINE_USER table and click the trigger directory icon. No entry is displayed on the 对 象资源管理器详细信息 Object Resource Manager Details tab page on the right. No trigger has been created for the ONLINE_USER table. See the following figure.

www.sangfor.com

558

IAM 11.2 User Manual

7. Open the 2005 directory and double-click the three files described in step 3. They are opened in SQL Server 2005 Management Studio. Click Run on the toolbar. The trigger corresponding to the active tab page is installed. Go to another two tab pages and perform the same operations to install the triggers.

8. Access the Object Resource Manager Details tab page and refresh the page. The triggers installed are displayed.

www.sangfor.com

559

IAM 11.2 User Manual

9. To delete a trigger, right-click the trigger on the Object Resource Manager Details tab page and choose Delete. In the dialog box that is displayed, click OK.

www.sangfor.com

560

IAM 11.2 User Manual

Step 4 When Ruijie SAM authenticates a user, the device authenticates the user as well.

1. SQL Server 2000 and SQL Server 2005 have similar trigger installation processes. For SQL Server 2000, you need to select the triggers in the 2000 directory to install. If the stored procedure xp_cmdshell is used, xp_cmdshell.sql does not need to be run. 2. If the Ruijie SAM database name is not SAMDB, change SAMDB in use SAMDB in the first trigger SQL statement to the actual database name. If the table name and field names are different from those in the example, change them accordingly. 3. In the trigger SQL statements, pay attention to the field shown in the following figure. If multiple users may log in or log out at the same time, increase the value of @i according to the number of Internet users in the organization. Generally, the value must not exceed 2000 (high-end devices support the maximum value of 3000). If you retain the default value, when two users log in at the same time, the IAM authenticates only one of them and therefore the other user cannot access the Internet.

www.sangfor.com

561

IAM 11.2 User Manual

See the following figure. The value indicates that a maximum of 10 users can log in or log out at the same time.

4. In the trigger SQL statements, pay attention to the fields shown in the following figure. When logon.exe sends authentication information to the IAM, logging is not performed by default to ensure server performance. If logging is required, use the last line to replace the first line in the following figure. That is, add the -1 parameter to enable the logging function.

Then, logs similar to that in the following figure are generated in users' main directories on the database server.

5. The device and trigger scripts must use the same key, which is different from other SSO keys. 6. The device must be able to communicate with Ruijie SAM. Ruijie SAM connects to the UDP port 1773 of the device to send authentication information to the device. Data about users logging in to Ruijie SAM does not need to be sent to the device. 7. This method is applicable to all database systems using MS SQL Server 2000/2005 in addition to Ruijie SAM. You need to modify the SQL scripts for the other database systems so that the related database names, table names, and field names are correct.

www.sangfor.com

562

IAM 11.2 User Manual

4.1.5.2 SSO Implemented with Devices Supporting the HTTP SSO Interface The HTTP SSO interface provided by the device can provide the SSO function based on the HTTP/HTTPS protocol and GET method for any third-party devices.

The data flow is as follows: 1.

A PC accesses the web authentication server through HTTP/HTTPS and logs in to or logs out of

the server. 2.

The login/logout page of the server is configured to notify the IAM to log in or log out the

related user, which achieves SSO. After the PC is authenticated by the IAM, it can access the Internet. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose User Authentication > Single Sign On SSO > Third-Party Server and perform configuration. Select Enable HTTP SSO Interface and set the IP addresses of the devices accessible to the interface.

www.sangfor.com

563

IAM 11.2 User Manual

Step 3 Click Download Sample, which includes Logon.js and Logon.html. Modify Logon.html and configure the web authentication server.

www.sangfor.com

564

IAM 11.2 User Manual

Step 4 When a PC logs in to or log out of the HTTP/HTTPS server, it is also logged in or logged out on the IAM.

1. The HTTP SSO interface is suitable for implementing SSO with Dr. COM's charging management systems. It can work with other web authentication system, but secondary web server development is required to implement SSO. 2. If this function is not required, do not select Enable HTTP SSO Interface.

4.1.5.3 SSO Implemented with H3C CAMS H3C CAMS is similar to Ruijie SAM, which is also a broadband authentication and charging management system and commonly used by colleges and level-2 carriers. The IAM works with H3C CAMS using an interface provided by H3C CAMS and regularly obtains user information from H3C CAMS to update its online user line or user list for SSO. See the following figure.

The data flow is as follows: 1.

A PC is authenticate by H3C CAMS.

2.

The IAM synchronizes information about the organization structure and online users from H3C

CAMS as scheduled. 3.

The PC accesses the Internet as an online user whose information is obtained by the IAM. www.sangfor.com

565

IAM 11.2 User Manual

The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose User Authentication > External Authentication Server and set the H3C CAMS server. (For details, see Section 3.4.2.2.) Step 3 Choose Users > Single Sign On SSO > Third-Party Server and perform configuration. Select H3C CAMS and select the H3C CAMS server configured on the External Authentication Server page.

Step 4 When H3C CAMS authenticates a user, the user can access the Internet through the IAM.

1. H3C CAMS allows automatic user information synchronization, which is set at Users > User Synchronization. (For details, see Section 3.4.3.2.2.) 2. In some cases, a user is authenticated by the IAM some time (depending on the settings of Interval for Obtaining Authenticated User) after being authenticated by the authentication server. Therefore, it is recommended that the authentication policy be configured not to require user authentication after an SSO failure.

4.1.5.4 SSO Implemented with Dr. COM Dr. COM is an authentication and charging management system, which is commonly used in the www.sangfor.com

566

IAM 11.2 User Manual

education, telecom, and radio and television industries as well as governments. The IAM can work with Dr. COM to authenticate users regardless of whether Dr. COM uses the B/S or C/S authentication mode. Before accessing the Internet, a user must be authenticated by Dr. COM. When the user logs in to or logs out of Dr. COM, the user is also logged in or out on the IAM. See the following figure.

The data flow is as follows: 1. A PC logs in to or logs out of the Dr. COM authentication server. 2. The Dr. COM authentication server notifies the IAM of user login or logout to implement SSO. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Third-Party Server and perform configuration. Select Dr. COM and set its IP address. See the following figure.

www.sangfor.com

567

IAM 11.2 User Manual

Step 3 Configure Dr. COM. For details, contact its vendor.

4.1.5.5 SSO Implemented with H3C IMC Before accessing the Internet, a user must be authenticated by H3C IMC. When the user logs in to or logs out of H3C IMC, the user is also logged in or out on the IAM. See the following figure.

www.sangfor.com

568

IAM 11.2 User Manual

The data flow is as follows: 1. A PC logs in to or logs out of the H3C IMC authentication server.. 2. The H3C IMC authentication server notifies the IAM of user login or logout to implement SSO. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > Third-Party Server and perform configuration. Select H3C IMC and set its IP address. See the following figure.

Step 3 Configure H3C IMC. For details, contact its vendor.

4.1.6 SSO Implemented with Another SANGFOR Device The IAM can work with another IAM or an SG to implement authentication. Two SANGFOR devices are deployed, one for authentication and the other for audit and control. After a user is authenticated on the authentication IAM, the audit and control IAM can synchronize the user information from the authentication IAM for audit and control. See the following figure. (IAM A is used for authentication, while IAM B is used for audit and control.)

www.sangfor.com

569

IAM 11.2 User Manual

The data flow is as follows: 1. A PC logs in to or logs out of IAM A. 2. The PC notifies IAM B of user login or logout to implement SSO. The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > Single Sign On SSO > SANGFOR Devices and perform configuration. Select Receive Authentication Information from Other SANGFOR Devices and set the shared key. See the following figure.

www.sangfor.com

570

IAM 11.2 User Manual

Then, IAM B can receive authentication information from IAM A. This ensures authentication information consistency between the IAMs. Step 3 For IAM A deployed in bridge mode, select Send users credential to other Sangfor appliances and set the related device IP address and the shared key. See the following figure.

Then, IAM A can forward all the authentication information transferred to IAM A to IAM B, so that IAM B deployed in bypass mode can identify online users and be synchronized with IAM A. If IAM B is a SANGFOR Internet access optimization device deployed in bypass mode, users can access some data only through a proxy. The proxy server is set on IAM B and authenticates users on IAM B. In this case, users authenticated by IAM A are also authenticated by IAM B. Then, the users can access the data using the proxy server because the information about online users is shared between IAM A and IAM B.

4.1.7 SSO Implemented with a Database System If a database system is deployed for storing and managing user authentication information and the www.sangfor.com

571

IAM 11.2 User Manual

organization structure, SQL statements can be configured on the SANGFOR IAM for querying the user list and authenticated users from the database system, and synchronizing the information to the local organization structure and online user list, thereby implementing SSO by working with the database system. After a user is authenticated in the database, the user is automatically authenticated on the IAM. When the user is logged out of the database, the user is also logged out of the IAM. Currently, the supported database types include Oracle, MS SQL Server, DB2, and MySQL. See the following figure.

The data flow is as follows: 1.

A PC is authenticated by the authentication server and the authentication information is

updated to the database server. 2.

The IAM regularly queries the database server for online users and updates its online user list.

3.

The PC accesses the Internet as an online user whose information is obtained by the IAM.

The procedure is as follows: Step 1 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Step 2 Choose Users > External Authentication Server and set the database server. (For details, see Section 3.4.2.2.) Step 3 Choose Users > Single Sign On SSO > Database and perform configuration. Select Enable SSO with Database Authentication, select the database server, and set SQL statement www.sangfor.com

572

IAM 11.2 User Manual

for queries.

Set Database to the database server that is set in step 1. Set SQL Statement to the select statement that can query online users. The IAM runs this select statement to query online users in the user information table of the database. The result set returned by the SQL statement cannot contain more than 2 columns. The first column specifies usernames and the second specifies IP addresses. The number of records found cannot exceed 200,000. The default value of Sync Interval (sec) is 30s. Generally, it indicates the maximum duration from the time when a user is authenticated on the authentication server to the time when the user is authenticated on the IAM.

1. The online user list consists of only the username and IP address columns and does not support synchronization of other user attributes, such as the attributes indicating whether a user account is disabled or expires. By default, all the user accounts synchronized are enabled and never expire. 2. Database authentication allows automatic user information synchronization, which is set at Users > Automatic User Synchronization. (For details, see Section 3.4.3.2.1.) 3. In some cases, a user is authenticated by the IAM some time (depending on the settings of Sync Interval (sec) after being authenticated by the authentication server. Therefore, it is recommended that the authentication policy be configured not to require user authentication after an SSO failure.

www.sangfor.com

573

IAM 11.2 User Manual

4.2 Configuration That Requires No User Authentication Configuration Case 1: A customer requires that the process of authenticating the intranet users within the 10.10.10.0/24 segment for Internet access must be transparent, so that the users do not perceive the existence of the IAM. Endpoint devices are identified by IP addresses and can access the Internet without authentication. Users connected to the Internet are not added to the organization structure and the Internet access permissions of the Intranet Group are assigned to the users. Step 1 Choose Users > Authentication Policy > Add and enable user authentication. Set IP/MAC address. In this example, set it to 10.10.10.0/24.

In Authentication Method, select Open Authentication. In Username, select Take IP address as username.

www.sangfor.com

574

IAM 11.2 User Manual

In Action-: The customer requires that authenticated users are not added to the organization structure. Therefore, do not select Add Non-Local/Domain Users to Group. To enable the users to access the Internet with the permissions of Intranet Group, set Group Used by Non-local/Domain Users for Network Access to /Intranet Group/.

www.sangfor.com

575

IAM 11.2 User Manual

Step 2 When a user accesses the Internet, the user's IP address is used as the username and authenticated. Information about the user can be viewed in the online user list. Configuration Case 2: A customer requires that the intranet users within the 10.10.10.0/24 segment can access the Internet without authentication. After user authentication, IP addresses are used as usernames and added to the organization structure. The users are added to the Intranet Group. Because intranet IP addresses are fixed, the customer wants the IAM to automatically bind users with IP addresses and MAC addresses so that intranet users cannot change their IP addresses when accessing the Internet. If they change their IP addresses, they cannot be authenticated on the IAM and as a result cannot access the Internet. L3 switches are deployed between the intranet and the IAM. Step 1 Choose Users > Authentication Policy > Add and enable user authentication. Set Authentication Scope. In this example, set it to 10.10.10.0/24.

www.sangfor.com

576

IAM 11.2 User Manual

In Authentication Method, select Open Auth. In Username, select Take IP address as username.

www.sangfor.com

577

IAM 11.2 User Manual

In Action: The customer requires that authenticated users are added to the organization structure and the Intranet Group. Set Add Non-Local/Domain Users to Group Select Add user account to local user database Select Automatic binding.

www.sangfor.com

578

IAM 11.2 User Manual

Click OK. Step 2 Because L3 switches are deployed between the intranet and the IAM, the SNMP function of the IAM must be enabled, which obtains users' real AMC addresses from the switches based on the SNMP protocol. In this scenario, the switches must support the SNMP function. Choose Advanced > MAC Filtering Across L3 switch and configure the IP addresses, MAC addresses, and SNMP information of the L3 switches. See Section 3.4.3.4. Step 3 When a user accesses the Internet, the user's IP address is used as the username and authenticated. Information about the user can be viewed in the online user list. The binding relationships between IP addresses and MAC addresses set up during user authentication are registered. You can query the relationships on the IP/ Bind IP/MAC Address tab page.

www.sangfor.com

579

IAM 11.2 User Manual

4.3 Configuration That Requires Password Authentication 4.3.1 SMS Authentication 4.3.1.1 Sending SMS Messages Through an SMS Modem SANGFOR's SMS modem is a tool that can be connected to the IAM to send SMS messages. To send SMS messages in this way, you must prepare a serial cable, a SANGFOR SMS modem, and a SIM card. Configuration Case: A customer has the 192.168.1.0/24 intranet segment which is assigned using DHCP to its visitors. The segment may also be used by its employees. The customer requires that all the visitors using this network segment must be authenticated using SMS messages. Authenticated visitors are not added to the organization structure of the IAM and the Internet access permissions of the Visitor group are assigned to the visitors. The employees using this network segment have usernames in the organization structure, and therefore they can be authenticated using passwords. After being authenticated, the employees can access the Internet based on the permissions corresponding to their usernames. The configuration procedure is as follows: Step 1 Install the SIM card in the SMS modem. Step 2 Use the serial cable (male-to-female cable) delivered with the SMS modem to connect the SMS modem to the CONSOLE port on the rear of the IAM, and fasten the connectors to make sure that the SMS modem, serial cable, and IAM are connected properly. Step 3 Choose User Authentication > External Authentication Server and set the SMS authentication server.

www.sangfor.com

580

IAM 11.2 User Manual

Set Message Delivery Module to Use built-in SMS Module.

Set Gateway Type to an SMS modem type, which can be GSM modem or CDMA modem. GSM Modem: It is installed with a GSM SIM card. CDMA Modem: It is installed with a CDMA SIM card. www.sangfor.com

581

IAM 11.2 User Manual

Set SMS Center to the SMS service number of the local SMS service provider. For example, the SMS service number of Shenzhen Mobile is 8613800755500. Set Serial Port to the serial port connected to the SMS modem. For example, the first serial port is COM0. Set Baud Rate to the baud rate of the SMS modem, which is generally 11520. Click Test to send a test SMS message. Step 4 Choose Users > Authentication Policy > Add and enable SMS authentication. Set IP address/MAC address. In this example, set it to 192.168.1.0/24.

In Authentication Method, select Password based. Set Authentication Server to Local Users and SMS Authentication.

www.sangfor.com

582

IAM 11.2 User Manual

Action: Users authenticated using SMS messages are not local users or domain users. Select the /Visitor/ group. Then, visitors authenticated using SMS messages can access the Internet based on the permissions assigned to the group. Employees are authenticated using local accounts and access the Internet based on the permissions assigned to local users. They are not limited by the permissions assigned to the Visitor group. The visitors authenticated using SMS messages are not added to the organization structure on the IAM. Therefore, do not select Add Non-Local/Domain Users to Group.

www.sangfor.com

583

IAM 11.2 User Manual

Step 5 Create local accounts for the employees. Choose Users > Users > Local User and create local groups and accounts for authentication. Step 6 When endpoint devices access the Internet through the IAM, they are redirected to the authentication page. A visitor selects SMS Authentication, enters his/her mobile number, and click Obtain Verification Code. The SMS module sends a verification code to the mobile number. After receiving the code, the visitor enters the code and click Login for authentication. See the following figure.

www.sangfor.com

584

IAM 11.2 User Manual

An employee selects Password Authentication, enter the username and password of a local account, and click Login for authentication. See the following figure.

4.3.1.2 Sending an SMS Message Using an SMS Modem Installed on an External Server SANGFOR's SMS modem can be connected to the IAM or a PC. If it is connected to a PC, SANGFOR's SMS service software must be installed on the PC. When an SMS message must be sent, the IAM sends an instruction to the PC and the SMS modem connected to the PC sends the message. The following figure shows the network structure for sending SMS messages.

www.sangfor.com

585

IAM 11.2 User Manual

Configuration Case: A customer has the 192.168.2.0/24 intranet segment which is assigned using DHCP to its visitors. The segment may also be used by its employees. The customer requires that all the visitors using this network segment must be authenticated using SMS messages. Authenticated visitors are not added to the organization structure of the IAM and the Internet access permissions of the Visitor group are assigned to the visitors. An endpoint device that has been authenticated before does not need to be authenticated again when it accesses the Internet next time. The authentication result is valid for 30 days. When the endpoint device accesses the Internet without being authenticated, a page is displayed to notify the user of the endpoint device that authentication is not required. The employees using this network segment have usernames in the domain server, and therefore they can be authenticated using domain accounts and passwords. After being authenticated, the employees can access the Internet based on the permissions corresponding to their domain accounts. The configuration procedure is as follows: Step 1 Install the SIM card in the SMS modem. Step 2 Use the serial cable (male-to-female cable) delivered with the SMS modem to connect the SMS modem to the COM port of the SMS server (PC), and fasten the connectors to make sure that the SMS modem, serial cable, and SMS server are connected properly. Step 3 Choose User Authentication > External Authentication Server and set the SMS authentication server.

www.sangfor.com

586

IAM 11.2 User Manual

Select Bind user with MAC and enable open authentication if user has logged in and set the validity period to 30 days. Set Message Delivery Module to User SMS module installed on external server. Set Server Address to the IP address of the SMS server. Make sure that the IAM can communicate with the SMS server properly (the IAM can access the listening port of the SMS service). Set SMS Center Port to the listening port of the SMS service software. Set Gateway Type to an SMS modem type, which can be GSM modem or CDMA modem. GSM Modem: It is installed with a GSM SIM card. CDMA Modem: It is installed with a CDMA SIM card. Set SMS Center to the SMS service number of the local SMS service provider. For example, the SMS service number of Shenzhen Mobile is 8613800755500. Set Serial Port to the actual serial port. Generally, a PC has only one COM port. Therefore, select COM0. If you use the second serial port, select COM1. www.sangfor.com

587

IAM 11.2 User Manual

Set Baud Rate to the baud rate of the SMS modem, which is generally 11520. Click Test to send a test SMS message. Step 4 The employees use domain accounts to log in. Therefore, you must set the domain server. Choose Users > External Authentication Server, add an LDAP server, and set the related LDAP server parameters. For details, see Section 3.4.2.2. Step 5 To enable the authentication exemption function, you must bind MAC addresses. If the intranet and IAM are on layer 2, no additional configuration is required. If L3 switches are deployed between the intranet and IAM, MAC addresses must be transferred through layer 3. In this case, configure the intranet switchers to support SNMP. Choose Advanced > MAC Filtering Across L3 Switch and configure the IP addresses, MAC addresses, and SNMP information of the L3 switches. See Section 3.4.4.4. Step 6 Choose Users > Authentication Policy > Add and enable SMS authentication. Set IP address/ MAC address. In this example, set it to 192.168.2.0/24.

www.sangfor.com

588

IAM 11.2 User Manual

In Authentication Mode, select Password Authentication. Set Authentication Server to LDAP Server and SMS Authentication Server.

Action: Users authenticated using SMS messages are not local users or domain users. Select the /Visitor/ group. Then, visitors authenticated using SMS messages can access the Internet based on the permissions assigned to the group. Employees are authenticated using domain accounts and access the Internet based on the permissions assigned to domain users. They are not limited by the permissions assigned to the Visitor group. The visitors authenticated using SMS messages are not added to the organization structure on the IAM. Therefore, do not select Add Non-Local/Domain Users to Group.

www.sangfor.com

589

IAM 11.2 User Manual

Click Advanced and select for open authentication, redirect to captive portal before access.

www.sangfor.com

590

IAM 11.2 User Manual

Step 10 When endpoint devices access the Internet through the IAM, they are redirected to the authentication page. A visitor selects SMS Authentication, enters his/her mobile number, and click Obtain Verification Code. The SMS module sends a verification code to the mobile number. After receiving the code, the visitor enters the code and click Login for authentication. See the following figure.

www.sangfor.com

591

IAM 11.2 User Manual

An employee selects Password based, enter the username and password of a domain account, and click Login for authentication. See the following figure.

When a user who does not need to be authenticated using an SMS message accesses the Internet, the message shown in the following figure is displayed. The user can access the Internet after clicking Access Internet Now.

4.3.2 WeChat and QR Code Authentication Configuration Case: A customer has an intranet segment 192.168.3.0/24, which is dedicated for users authenticated using WeChat or QR codes. A mobile user can follow the WeChat public account by www.sangfor.com

592

IAM 11.2 User Manual

tapping or scanning means and be authenticated for Internet access. When a PC user accesses the Internet, a QR code is displayed. To access the Internet, the PC user must use a mobile phone that has been authenticated to scan the QR code. After being authenticated, the users are not added to the local organization structure of the IAM and can access the Internet based on the permissions assigned to the Limited Group. The configuration procedure is as follows: 1.

Apply for a WeChat public account and enable the developer mode on the WeChat public platform. (If OPENIDs are not used as usernames to access the Internet by means of scanning, you do not need to enable the developer mode.)

2.

Choose Users > External Authentication Server and add the WeChat authentication server and QR code authentication server.

3.

Choose Users > Authentication Policy and set an authentication policy for the network segment 192.168.3.0/24.

4.

Demonstrate WeChat authentication by means of tapping or scanning.

5.

Demonstrate QR code authentication.

The configuration procedure is as follows: Step 1 Apply for a public account on the WeChat public platform and enable the developer mode. We recommend that you apply for a service account on the platform and get certified by the platform. Then, you can adopt both the tapping and scanning means for good user experience. Access http://mp.weixin.qq.com/, click the registration link in the upper-right corner, and follow the instructions to select an account, enter the related information, and upload required materials to complete registration.

www.sangfor.com

593

IAM 11.2 User Manual

Log in to the WeChat public account and configure the advanced settings to disable the editing mode and enable the developer mode.

Click the developer mode and configure the server based on the WeChat account type. Subscription accounts that have not been certified do not have developer IDs. The other accounts have developer IDs.

www.sangfor.com

594

IAM 11.2 User Manual

Step 2 Choose Users > External Authentication Server and add the WeChat authentication server.

Select Enable. www.sangfor.com

595

IAM 11.2 User Manual

If you need to use a third-party service platform for WeChat, click Third-Party platform and set the options. You can download the code sample and description document using the link on the page. Select Scan QR Code. An original WeChat public account ID and a QR code for download are provided. A user can scan the QR code for authentication. The process of obtaining an original WeChat public account ID is as follows: Log in to the WeChat public platform and click the public account name in the upper-right corner. The Account Details page is displayed. Obtain the value of Original ID on the page.

Users logging in by means of scanning access the Internet using IP addresses. To use OPENIDs as usernames for accessing the Internet, set OPENID.

www.sangfor.com

596

IAM 11.2 User Manual

Note: The Get WeChat Follower’s Open ID option is applicable only to certified WeChat service accounts. You must log in to the WeChat public platform, choose Developer Center > Settings, and obtain the values of AppId and AppSecret.

You must log in to the WeChat public platform, choose Developer Center > Interface Permission Table > Auth2.0 Web Authentication, and obtain the values of Domain Name of Authorization Callback Page.

www.sangfor.com

597

IAM 11.2 User Manual

Step 3 Choose Users > External Authentication Server and add the QR code authentication server.

Authenticator: In this example, select All Users, which are all the authenticated users. This means that a mobile phone of an authenticated user can be used to scan a QR code to implement authentication. To assign the approving permission only to specified groups and users, click

and

select them in the organization structure.

www.sangfor.com

598

IAM 11.2 User Manual

User validation: Show captive portal and user information is selected, the approver scans the QR code for authentication. Then the mobile phone of the approver displays a page prompting for information about Internet access users. If Not show captive portal and log in as authenticator is selected, users accesses the Internet as the approver and have the permission of the approver. In this case, the approver must be a public account. Step 4 Choose User Authentication > Authentication Policy and add an authentication policy. Setting the authentication scope:

Set Authentication Method to Password based and WeChat Server to QR Code Server.

www.sangfor.com

599

IAM 11.2 User Manual

Action: Users authenticated using WeChat or QR codes are not local users or domain users. Select the /Visitor/ group. Then, visitors authenticated can access the Internet based on the permissions assigned to the group. The visitors authenticated using WeChat or QR code are not added to the organization structure on the IAM. Therefore, do not select Add Non-Local/Domain Users To Group.

www.sangfor.com

600

IAM 11.2 User Manual

Step 5 Demonstrate WeChat authentication. User authentication by means of tapping: A customer connects to a hotspot in a store. The web browser displays the portal page, instructing the customer to start WeChat. 2. The customer starts WeChat and follow the WeChat public account of the store. 3. The customer can use the following methods to access the Internet: Method 1: Tap Access Internet in the WeChat public account page. WeChat display the Internet access message, which can be customized at User Authentication > Custom Authentication Page. Method 2: Send the specified letter w (not case-sensitive). WeChat returns the Internet access message. User authentication by means of scanning: 1. A customer enters a store and sees a poster introducing WeChat authentication for Internet access

www.sangfor.com

601

IAM 11.2 User Manual

and a WeChat QR code. The customer connects to a hotspot. 2. The customer starts WeChat and scans the QR code. The page for following the WeChat public account of the store is displayed. 3. The customer follows the account and tap Allow Access Internet. The user is authenticated and can access the Internet. The username displayed in the online user list of the IAM is an OPENID of the WeChat user.

Step 6 Demonstrate QR code authentication. A customer enters a store and connects to a hotspot using a PC or tablet PC. The customer open a web browser and it displays the authentication page. The customer selects QR Code Authentication.

Use a mobile phone that has been authenticated to scan the QR code with WeChat. The PC displays the "Authentication success" message. Then, the customer can access the Internet. www.sangfor.com

602

IAM 11.2 User Manual

4.3.3 Password Authentication Configuration Case 1: The PCs in a customer's intranet segment 192.168.1.0/255.255.255.0 are authenticated using usernames and passwords. The PCs are assigned fixed IP addresses. The administrator wants to bind the users with MAC addresses so that they can log in only through their own PCs. The administrator also wants to specify the relationships between the IP addresses and MAC addresses so that the users cannot change their IP addresses. If they do so, they cannot be authenticated by the IAM and therefore cannot access the Internet. Step 1 The customer wants to authenticate all the PCs in the 192.168.1.0/255.255.255.0 segment using usernames and passwords. Therefore, set the authentication mode for the PCs first. Choose 用户认证 User Authentication > 认证策略 Authentication Policy and set an authentication policy. Set the authentication scope to 192.168.1.0/255.255.255.0.

www.sangfor.com

603

IAM 11.2 User Manual

Set Authentication Method to Password Based and Authentication Server to Local User.

Set Action to Automatic Binding and select Bind user account to IP address and MAC address. The local users are added or imported manually by administrators and are not automatically added to the organization structure on the IAM. Therefore, do not select Add Non-Local/Domain Users to Group.

www.sangfor.com

604

IAM 11.2 User Manual

Step 2 You must bind MAC addresses. If the intranet and IAM are on layer 2, no additional configuration is required. If L3 switches are deployed between the intranet and IAM, MAC addresses must be transferred through layer 3. In this case, configure the intranet switchers to support SNMP. Choose Advanced > MAC Filtering Across L3 Switch and configure the IP addresses, MAC addresses, and SNMP information of the L3 switches. See Section 3.4.3.4. Step 3 Choose Users > Users > Local User, and add a local user group and local users. For details, see Section 3.4.3.1.1. Step 4 When a user within the network segment accesses the Internet and opens a webpage. The authentication page of the IAM is displayed. Enter a username and password and click Login.

www.sangfor.com

605

IAM 11.2 User Manual

After authentication, choose Users > Bind User and view the automatically bound MAC addresses. Choose Users >

Bind IP/MAC Address and view the binding relationships between IP addresses and

MAC addresses. Configuration Case 2: The PCs in a customer's intranet segment 192.168.2.0/255.255.255.0 are authenticated by using passwords for Internet access. Some users must enter domain accounts during authentication, while some others must enter local group accounts. After authentication, users are automatically bound with IP addresses and they do not need to be authenticated again within 10 days after successful authentication if they access the Internet using the authenticated IP addresses. Within this network segment, only domain users and users in the Internet Group can be authenticated. Step 1 Choose Users > External Authentication Server and set the authentication domain server. (For details, see Section 3.4.2.2.) Step 2 The customer wants to authenticate all the PCs in the 192.168.2.0/255.255.255.0 segment using local user passwords and domain server passwords. Therefore, set the authentication mode for the PCs first. Choose Users > Authentication Policy and set an authentication policy. Set the authentication scope to 192.168.2.0/24.

www.sangfor.com

606

IAM 11.2 User Manual

Set Authentication Method to Password based and Authentication Server to Local User and Domain Server.

www.sangfor.com

607

IAM 11.2 User Manual

Set Action to automatic binding and select Bind user account to IP address and MAC address. Select Enable open authentication and set the validity period to 10 days.

www.sangfor.com

608

IAM 11.2 User Manual

Advanced: Enable user login restriction, select Add Non-Local/Domain Users to Group and select domain users and the Internet Group. Function: Within this network segment, only domain users and users in the Internet Group can be authenticated.

www.sangfor.com

609

IAM 11.2 User Manual

Step 3 Choose Users > Users > Local User, and add a local user group and local users. For details, see Section 3.4.3.1.1. Step 4 When a user within the network segment accesses the Internet and opens a webpage. The authentication page of the IAM is displayed.

For a local user, enter the username and password of a local user account and click 登录 Login. For a domain user, enter the username and password of a domain account and click 登录 Login. www.sangfor.com

610

IAM 11.2 User Manual

4.4 Other Configuration Cases Configuration Case 1: Configuring user-defined attributes. When the existing attributes are not enough, you can add user-defined attributes for users and use the attributes to set Internet access policies and traffic control policies for the users with the same attributes. Within the intranet segment 192.168.1.0/255.255.255.0, users are authenticated using passwords. User-defined attributes are set to distinguish male users from female users. For female users, the Internet access policy is configured to disallow them to access shopping and entertainment websites. For male users, the Internet access policy is configured to disallow them to use gaming applications. Step 1 The customer wants to authenticate all the PCs in the 192.168.1.0/255.255.255.0 segment using passwords. Therefore, set the authentication mode for the PCs first. Choose Users > Authentication Policy and set an authentication policy. Set the authentication scope to 192.168.1.0/24.

www.sangfor.com

611

IAM 11.2 User Manual

Set Authentication Method to Password based and Authentication Server to Local User.

Step 2 Choose Advanced > Custom Attributes and set user-defined attributes. Attribute name: Gender Attribute value: a sequence including two values Male and Female

www.sangfor.com

612

IAM 11.2 User Manual

Step 3 Choose Users > Users > Local User, and add a local user group and local users. For details, see Section 3.4.3.1.1. You can select an attribute value when adding user.

www.sangfor.com

613

IAM 11.2 User Manual

Step 4 For female users, configure the Internet access policy to disallow them to access shopping and entertainment websites.

www.sangfor.com

614

IAM 11.2 User Manual

Apply this policy to the users whose attribute values are Female.

Step 4 For male users, configure the Internet access policy to disallow them to use gaming applications.

www.sangfor.com

615

IAM 11.2 User Manual

Apply this policy to the users whose attribute values are Male.

Configuration Case 2: The intranet users are authenticated using passwords. The customer has a hosted web server on the Internet at http://www.sangfor.com.cn. The users must be allowed to access the server before being authenticated. The configuration procedure is as follows: Step 1 Set a URL group for the URL to be accessed. Choose Define Object > URL Classification Library and click New to add a URL group. www.sangfor.com

616

IAM 11.2 User Manual

Step 2 Set an Internet access policy to allow accessing the URL. Choose Access Mgmt > Policies and click New to add an Internet access policy.

www.sangfor.com

617

IAM 11.2 User Manual

Associate the policy with the Temporary Group.

Step 3 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users to be authenticated using passwords. In Authentication Method, select Password based.

www.sangfor.com

618

IAM 11.2 User Manual

Choose Action > Advanced, select Add Non-Local/Domain Users to Group, and select the Temporary Group.

www.sangfor.com

619

IAM 11.2 User Manual

Step 4 When a user accesses the Internet and opens a webpage. The authentication page of the IAM is displayed. When the user accesses www.sangfor.com.cn, no authentication page is displayed. Configuration Case 3: A customer has an AD domain server on its intranet and intranet users must be authenticated using AD domain SSO. If SSO for a user fails, a notification page must be displayed when the user accesses a webpage. The user can download a manually SSO tool from the page and run the tool to implement SSO. Step 1 Choose Users > External Authentication Server and set the AD domain authentication server. Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. Set Authentication Method to SSO. Select Predefined webpage for users who fail to be authenticated during SSO. The page enables users to download the manual SSO tool.

www.sangfor.com

620

IAM 11.2 User Manual

Step 3 Enable SSO, select the SSO mode, and set the shared key. Choose Users > Single Sign On > MS AD Domain. Select Enable Domain SSO. Select Obtain login profile by executing logon script through domain, which indicates the SSO is implemented by delivering the login script. Enter the shared key in Shared Key. See the following figure. The shared key is used to encrypt the communication between the IAM and the AD domain server, and must be specified exactly the same in the login script. Click Download Domain SSO Program to download the login and logout scripts.

www.sangfor.com

621

IAM 11.2 User Manual

Step 4 Configure the login script on the AD domain server. For details, see Section 4.4.1.1. Step 5 After a user logs in by means of SSO, the user can access the Internet.

Download and run the tool. SSO is implemented successfully for the user. Configuration Case 4: A customer has an ISA server and intranet users access the Internet through the ISA server, which functions as a proxy. The IAM is deployed between the ISA server and a switch to implement control and audit. Intranet users must be able to access the Internet without being authenticated. On the IAM, IP addresses are used as usernames.

www.sangfor.com

622

IAM 11.2 User Manual

Step 1 Deploy the IAM in bridge mode. Connect the IAM to the switch using an intranet port and to the ISA server using the Internet port. Step 2 Set the authentication policy. Choose Users > Authentication Policy > Add. Set the authentication policy according to the IP or MAC addresses of the users who require SSO. In Authentication Method, select Open Auth and set Take IP address as username.

www.sangfor.com

623

IAM 11.2 User Manual

Step 3 Because the IAM connects to the switch using the intranet port and to the ISA server using the Internet port, data from the Internet is transferred through the intranet port of the IAM and data from the intranet is transferred to the ISA server through the Internet port. To prevent Internet IP addresses from being added to the online user list of the IAM, Internet data must be excluded as follows: Choose Users > Advanced > Authentication Options and select Open auth for data flow from WAN to LAN interface.

Step 4 Configure the proxy settings of PCs to exclude the IAM IP address.

4.5 CAS Server Authentication Case Requirements:

www.sangfor.com

624

IAM 11.2 User Manual

There is a central authentication service(CAS) server deployed in the network. Users’ information, such as accounts and passwords are stored on this server. For users using password based authentication, customer wants connecting users attempting to log in to IAM unit to be authenticated against the CAS server. How CAS Server Authentication Works: User credentials submitted to the IAM unit will be forwarded to a third-party authentication server (CAS server) and verified on this server. Then, verification results are returned to the IAM unit, which determine user authentication outcome. If the verification succeeds, it indicates that the user is successfully authenticated on IAM uni. Network Topology:

Configuration Steps: Step 1: Make sure that CAS server is deployed properly in network, and obtain CAS server account and the URL used to connect to the CAS server(URL example: http://ip:8443/cas/login). Step2: Deploy the IAM unit in Route mode in this case, and configure a corresponding deployment www.sangfor.com

625

IAM 11.2 User Manual

mode on IAM Web Admin console. Static route needs to be configured if the intranet is a layer 3 network. Step 3: Add a third-party auth system in Users > Authentication > External Auth Server and configure related parameters. Specify a name for the new authentication system, set URL to the one obtained in Step 1, keep the default keyword value and select cas2.0 in Version field.

If CAS server version is earlier than V4.0.0, Version field should be cas2.0; if the server version is later than V4.0.0, Version field should be cas3.0. In this case, the CAS server version is earlier than V4.0.0. Step 4: Create an authentication policy in Users > Authentication > Authentication Policy, configure applicable objects as peer your need and select Password based as authentication method. In Auth Server field, choose the third-party auth system created in Step 3, as shown below.

www.sangfor.com

626

IAM 11.2 User Manual

Step 5: When attempting to access the Internet, internal user will be redirected to the CAS authentication page which requires user to provide username and password.

If the user passes the authentication against the CAS server, the user information can be viewed in System > Status > Online Users, which means he/she has logged into the IAM unit successfully.

www.sangfor.com

627

IAM 11.2 User Manual

1. CAS server authentication is applicable to the following deployment modes: Route mode, Bridge mode and Bypass mode. 2. If CAS server is deployed between IAM unit and external network, CAS server address should be added into custom excluded address list in System > General > Global Exclusion, or else users cannot be redirected to CAS authentication page.

4.6 Policy Configuration Cases 4.6.1 Configuring a Policy for Blocking P2P and P2P Streaming Media Data for a User Group Requirement: The user group and its sub groups of the marketing department cannot use P2P and P2P streaming media applications during business hours. Step 1 In the navigation area, choose Access Mgt > Policies and Access Policy page is displayed on the right. Click Add and choose Access Control. The Access Control page is displayed. Enter the policy name and description.

Step 2 Choose Access Mgt > Access Control > Application. The Application Control page is displayed on the right. Click Add.

www.sangfor.com

628

IAM 11.2 User Manual

Step 3 Click

. The Select Applications window is displayed.

www.sangfor.com

629

IAM 11.2 User Manual

Step 4 Select P2P and P2P streaming media.

www.sangfor.com

630

IAM 11.2 User Manual

Step 5 Click OK. The application control page is displayed. Set the effective time to the office hours and action to Reject. Click OK.

www.sangfor.com

631

IAM 11.2 User Manual

Step 6 Select Object and associate the policy with users and user groups.

Step 7 Click Commit. The policy is successfully set.

4.6.2 Configuring an IM Monitoring Policy for a User Group Requirement: An IM monitoring policy must be configured for the marketing department and engineering department to monitor QQ messages and files transferred using QQ. Step 1 In the navigation area, choose Access Mgt > Policies and the Access Control page is displayed on the right. Click Add and choose Audit Policy. The Audit Policy page is displayed. Enter the policy name and description.

Step 2 Choose Access Mgt > Audit Policy > Application. The Application page is displayed on the right. Click Add.

www.sangfor.com

632

IAM 11.2 User Manual

Click

and select all involved IM objects on the Select IM page.

Click OK. See the following figure.

www.sangfor.com

633

IAM 11.2 User Manual

Step 3 Set user groups on the Object page.

Click Commit. Step 4 In the navigation area, choose Access Mgt > Access Control and the Access Control page is displayed on the right. Click Add and choose Ingress Policy. The Ingress Policy page is displayed. The policy is used to monitor encrypted QQ messages and the files transferred using QQ. Enter the policy name and description. Click

below Type and select the option for monitoring IM

messages. Set the effective time to Whole Day.

www.sangfor.com

634

IAM 11.2 User Manual

Click Add, click

below Type and select the option for monitoring outbound IM files. Set the

effective time to Whole Day.

Step 5 Set user groups on the Objects page.

www.sangfor.com

635

IAM 11.2 User Manual

Click Commit. Step 6 When users from the marketing department or engineering department access the Internet, The IAM installs an admission client for them. The users can access the Internet only after the client is installed. A user must log in to a computer as an administrator so that the client can be installed on the computer.

4.6.3 Enabling the Audit Function for a User Group Requirement: The audit function is enabled only for the network department to audit all network behaviors and check the URLs accessed by users during business hours. Step 1 In the navigation area, choose Access Mgt > Audit Policy and the Audit Policy page is displayed on the right. Click Add and choose Internet Access Audit Policy. The Internet Access Audit Policy page is displayed. Enter the policy name and description.

Step 2 Choose Options > Application. The Application Audit page is displayed on the right. Click Add. The page for adding audit objects is displayed.

www.sangfor.com

636

IAM 11.2 User Manual

Step 3 Click

below Audit Object. The Select Item window is displayed. Select Website Browsing

or Downloads, select visit URL, and set the accessed URL to be audited. Set Schedule to Office Hours.

Step 4 Click Add. The page for adding audit objects is displayed. Select Access to other appications (exclusive of contents) and Access to unidentified applications (on which address and port. It incurs massive logs). Set the Internet access behaviors that can be identified by all devices. Set Schedule to All Day.

www.sangfor.com

637

IAM 11.2 User Manual

Step 5 Select applicable objects.

Step 6 Click Commit. www.sangfor.com

638

IAM 11.2 User Manual

4.7 Endpoint Device Management Configuration Cases 4.7.1 Configuring the Sharing Prevention Function Requirement: A customer has a large number of PCs and mobile endpoint devices that share hotspots on its intranet. The PCs and mobile endpoint devices must be disabled to access the Internet through proxies. The configuration procedure is as follows: Step 1 In the navigation area, choose Endpoint Device > Connection Sharing. The Connection Sharing page is displayed on the right. Select Enable Shared Connection Detection. See the following figure.

Step 2 On the Connection Sharing page, select options. See the following figure.

www.sangfor.com

639

IAM 11.2 User Manual

Set Endpoints to All. It indicates that connection sharing between PCs, between mobile endpoint devices, and between PCs and mobile endpoint devices is detected. Set Lockout Options to Lock IP Address, so that one IP address can be used by only one user to access the Internet. Step 3 Choose Endpoint Device > Connection Sharing and select Enable Connection Sharing Detection. See the following figure.

You only need to enable the mobile endpoint device management function. www.sangfor.com

640

IAM 11.2 User Manual

Step 4 Choose Connection Sharing > Enable Connection Sharing Detection. Access the Excluded Users page on the right and add the users, user groups, and IP addresses not involved in detection are added to the trusted list. See the following figure.

4.7.2 Mobile Endpoint Management Configuration Cases Requirement: Mobile endpoint devices can access the Internet only through trusted wireless APs. The configuration procedure is as follows: Step 1 In the navigation area, choose Connection Sharing > Status. The Connection Sharing page is displayed on the right. See the following figure.

Select Enable Connection Sharing Detection and set the action to reject detected mobile endpoint www.sangfor.com

641

IAM 11.2 User Manual

devices. Step 2 Choose Endpoint Devices > Connection Sharing. Access the Excluded Users page on the right and add the users, user groups, and IP addresses not involved in detection are added to the trusted list. See the following figure.

4.8 Comprehensive Configuration Cases 4.8.1 Customer Network Environment and Requirement A customer has a network structure shown in the following figure. The Internet line bandwidth is 10 Mbps and the customer has about 500 intranet users accessing the Internet. Because of the limited Internet access bandwidth and some users download or watch movies online during business hours, website access is slow, which affects work efficiency.

www.sangfor.com

642

IAM 11.2 User Manual

The customer purchases SANGFOR's IAM and wants to implement the following configuration: 1. Deploy the IAM without changing the original network environment if possible. 2. Bind IP addresses with MAC addresses so that employee cannot change their IP addresses. 3. Disallow employees to download P2P files or watch streaming media during business hours, disallow them to access illegal or unhealthy websites, and audit employees' behaviors of sending mails (through webpages or clients), posting content on forums, posting microblog content, and sending QQ messages. 4. Not to control Internet access behaviors of the director team but audit the behaviors. 5. Ensure website access bandwidth at all time. Allocate at least 60% of the bandwidth for this purpose. Limit the bandwidth for P2P applications, download applications, and online streaming media applications to 20% or less.

4.8.2 Configuration Idea 1. As required by the customer, deploy the IAM between the core switch and firewall in bridge mode. Set the bridge mode, bridge IP address, and system routes. 2. Divide users into common employee group and director group. 3. Select Enable Cross-L3 MAC Address Identification and set the IP address, MAC address, and OID of the L3 switch.

www.sangfor.com

643

IAM 11.2 User Manual

4. Create two authentication policies to bind the IP addresses and MAC addresses of directors and add directors to the director group, and to bind the IP addresses and MAC addresses of common employees and add common employees to the common employee group. 5. For the common employee group, create an Internet access policy to control the P2P applications and online streaming media applications during business hours and to block access to illegal and unhealthy websites. Create an Internet access audit policy to audit applications, outbound content sent via HTTP, and mail content. Create an admission policy to audit IM messages. 6. Create an Internet access audit policy to audit Internet access behaviors of directors. 7. Create a bandwidth assurance channel to allocate 60% to 100% of the channel bandwidth for accessing websites. Create a bandwidth limitation channel to allocate a maximum of 20% of the channel bandwidth to P2P applications, download applications, and online streaming media applications during business hours.

4.8.3 Configuration Process Step 1 Use a cross-connected cable to connect computers to the ETH0 (LAN) port of the IAM. Assign the 10.251.251. X/24 IP addresses to the computers. Log in to the IAM console at http://10.251.251.251. Step 2 Set the bridge mode. Assign the 10.10.10.3/29 IP address as the bridge IP address of the IAM. The IP address belongs to the network segment for direct connection between the firewall ad L3 switch. Choose System > Network > Deployment, click Configure, and select the bridge mode.

Click Next and select the bridge port numbers. In this example, ETH0 and ETH2 are used as a pair of bridge port numbers. ETH0 is used for the LAN and ETH2 is used for the WAN.

www.sangfor.com

644

IAM 11.2 User Manual

Click Next and set the bridge IP address of the IAM.

Click Next and set the IP address of the DMZ management port. You can retain the default settings. www.sangfor.com

645

IAM 11.2 User Manual

Click Next and set the gateway and DNS for accessing the Internet.

Click Next and click Commit. www.sangfor.com

646

IAM 11.2 User Manual

Step 3 Add a common employee group and a director group for local users at Users > Local User > Add Group/User.

www.sangfor.com

647

IAM 11.2 User Manual

You can add multiple groups and separate the group names with a comma. Then click Commit.

www.sangfor.com

648

IAM 11.2 User Manual

Step 4 In this example, the L3 switch forwards data between the IAM and intranet users. Therefore, select MAC Filtering Across L3 Switch so that IP Addresses and MAC addresses of users can be bound correctly on the IAM. Choose Users > Advanced > MAC Filtering Across L3 Switch.

Tick Enable MAC Filtering across L3 switch. Select Add and add a server and enter the MAC address of the L3 switch to the exclusion list.

www.sangfor.com

649

IAM 11.2 User Manual

Click Commit. Step 5 Add an authentication policy for the common employee group and another for the director group at Users > Authentication > Authentication Policy.

Click Add and set an authentication policy for the common user group. See the following figure.

www.sangfor.com

650

IAM 11.2 User Manual

www.sangfor.com

651

IAM 11.2 User Manual

www.sangfor.com

652

IAM 11.2 User Manual

Click Commit. Click Add and set an authentication policy for the director group. See the following figure. Step 6 Set the Internet access permissions for the common user group at Policies > Access Control.

Click Add and select the Internet access policy. Choose Access Control and set access control over P2P application and online streaming media applications for office hours and block access to illegal and unhealthy websites.

www.sangfor.com

653

IAM 11.2 User Manual

Click Object, choose Local Users, and select Common User Group.

www.sangfor.com

654

IAM 11.2 User Manual

Click Commit. Set the Audit policy for the common user group. Add the policy, select Audit policy, and add audit objects.

www.sangfor.com

655

IAM 11.2 User Manual

Click OK. Click Object, choose Local Users, and select Normal User Group.

www.sangfor.com

656

IAM 11.2 User Manual

Click Commit. Set the admission policy for the common user group. Add the policy, select Ingress Policy and enable IM message monitoring.

Click Object, choose Local Users, and select Normal User Group.

www.sangfor.com

657

IAM 11.2 User Manual

Click Commit. Step 7 Set the Internet access audit policy for the director group. Select Audit Policy and add audit objects.

www.sangfor.com

658

IAM 11.2 User Manual

Click Object, choose Local Users, and select Director Group.

www.sangfor.com

659

IAM 11.2 User Manual

Click Commit. Step 8 Set the traffic management policy. Set the line bandwidth at Bandwidth Management > Line bandwidth.

Click Line 1 and set the upstream and downstream bandwidth.

Click Commit. Set the traffic management channel at Bandwidth Management > Bandwidth Channel. Select Enable Bandwidth Management System.

www.sangfor.com

660

IAM 11.2 User Manual

Click Add, select Add Parent Channel, and set the assurance channel for website access.

www.sangfor.com

661

IAM 11.2 User Manual

Click OK. Click Add, select Add Parent Channel, and set the limitation channel for P2P applications, download applications, and streaming media applications.

www.sangfor.com

662

IAM 11.2 User Manual

www.sangfor.com

663

IAM 11.2 User Manual

Click OK. Step 9 Install the IAM. Connect the ETH0 (LAN) port of the IAM to the L3 switch and the ETH2 (WAN) port to the intranet port of the firewall.

www.sangfor.com

664

IAM 11.2 User Manual

Appendix: Usage of SANGFOR Device Upgrade System SANGFOR device upgrade system 6.0 can be use to upgrade the kernel version of the IAM. See the following figure.

When the SANGFOR device upgrade system connects to the IAM for an upgrade, the computer used must be able to synchronize with the Internet time. During such an upgrade, if the computer running the system can obtain the Internet time, the system can directly load an upgrade package to upgrade the IAM. If the customer environment has special requirements during such an upgrade, for example, the computer running the system is located in an intranet and cannot access the Internet, you can reallocate the computer to an area with Internet access and run the system to synchronize with the Internet time. Then, you can reallocate the computer back to the intranet without shutting down the system and connect the system to the IAM to upgrade the IAM. The SANGFOR device upgrade system consists of the device IP address, device search, administrator www.sangfor.com

665

IAM 11.2 User Manual

password, and options modules. The following describes the functions of the modules. Device IP Address: It is used to enter the IP address of the IAM to be upgraded. Device Search: It is used to search for the IP addresses of LAN ports of all the SANGFOR devices within the same intranet with 2 layers. See the following figure.

Password: It is used to enter the administrator password for logging in to the IAM. The password is the one corresponding to the admin account. You can select Remember Password to save the current login password of the IAM. Then, you do not need to enter the password next time you log in to the IAM through the system. Options: It is used to set the options related to upgrades. See the following figure.

www.sangfor.com

666

IAM 11.2 User Manual

Click Connect to log in to the current IAM for an upgrade. See the following figure.

www.sangfor.com

667

IAM 11.2 User Manual

You can choose to upgrade the IAM online or load an upgrade package to upgrade the IAM. After selecting the correct upgrade package, click Next to start the upgrade.

Product Upgrade Procedure 1. Download an upgrade package to a local directory. 2. Start the gateway upgrade client and choose Manage Upgrade Package > Load Upgrade Package to load the local package. 3. Choose System > Direct Connection to log in to the IAM. 4. Choose Upgrade > Upgrade Firmware. The IAM displays a upgrade success message and restarts. 5. If you need to restore the default settings, log in to the IAM and choose Upgrade > Restore Default Settings. Warning: You can upgrade the hardware firmware only under the instruction of SANGFOR technical engineers.

www.sangfor.com

668

Loading...

Sangfor IAM User Manual 11.2

IAM 11.2 User Manual SANGFOR IAM11.2 User Manual 2016 January www.sangfor.com 1 IAM 11.2 User Manual www.sangfor.com 2 IAM 11.2 User Manual ...

32MB Sizes 1 Downloads 9 Views

Recommend Documents

Fingerprint Authentication | User Manual - LastPass User Manual
LastPass has support for various fingerprint readers, including Windows Biometric Framework, as a Premium feature. Once

User Manual User Manual - Let's Get Grinding!
User Manual www.AvantcoEquipment.com. 1. Meat Grinders. User Manual. Models: 177MG12, 177MG22. Please read and keep thes

RSA SecurID | User Manual - LastPass User Manual
LastPass Enterprise supports RSA SecurID as a 2nd factor of authentication for user access to their LastPass Enterprise

User Manual User Manual - Harmony Remotes
The Logitech® Harmony® 555 advanced universal remote simplifies your home entertainment, replacing up to fifteen remot

USER MANUAL
NVMS-1000 User Manual want IP camera to connect ECMS-1000‖ and input ENVMS-1000 Address, ECMS-1000 Port and Device ID.

USER MANUAL
Luz multicolor para estado e indicador de batería. - Modo silencioso: la luz se apaga tras un minuto. - tamaño: L 48 m

User manual
of the manual dedicated to the command line application discusses in detail only those concepts and procedures which are

User Manual
INSTALLATION. MANUAL. VERSION 3.0. Modular. 6 Process. Technology. Corp . Corporate Headquarters: 2233 Paragon DerC. San

User Manual
jogar jogos no seu dispositivo de TV Android. Toque no microfone para iniciar uma pesquisa de voz ou utilize o teclado p

USER MANUAL
Specific installation please reference to the bottom of base unit. Speakerphone. Date,time. Incoming call. Outgoing call