H3c-technologies H3C SecPath F1000-E Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Segurança H3c-technologies H3C SecPath F1000-E. H3C Technologies H3C SecPath F1000-E User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
H3C SecPath Series High-End Firewalls
NAT and ALG Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: SECPATHF1000SAI&F1000AEI&F1000ESI-CMW520-R3721
SECPATH5000FA-CMW520-F3210
SECPATH1000FE-CMW520-F3171
SECBLADEII-CMW520-F3171
Document version: 6PW102-20131121
Vista de página 0
1 2 3 4 5 6 ... 67 68

Resumo do Conteúdo

Página 1

H3C SecPath Series High-End FirewallsNAT and ALG Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Sof

Página 2

3 NAPT Network Address Port Translation (NAPT) is a variation of basic NAT. It allows multiple internal addresses to be mapped to the same public IP

Página 3 - Preface

4 Internal server NAT hides the internal network structure, including the identities of internal hosts. However, some internal hosts such as an inter

Página 4 - Obtaining documentation

5 A DNS mapping entry records the domain name, public address, public port number, and protocol type of an internal server. Upon receiving a DNS repl

Página 5 - Documentation feedback

6 Configuring NAT in the Web interface Configuration overview Configuring address translation A NAT gateway can be configured with or dynamically gen

Página 6 - Contents

7 Task Remarks Configuring a DNS mapping Optional. The DNS mapping feature enables an internal host to use the domain name to access an internal serv

Página 7

8 Item Description End IP Address Specify the end IP address of the address pool. The end IP address must be identical to or higher than the start IP

Página 8 - Configuring NAT

9 Item Description Address Transfer Select an address translation mode: • PAT—Refers to NAPT. In this mode, associating an ACL with an address pool

Página 9 - NAT operation

10 Figure 8 Static NAT configuration page Figure 9 Adding static address mapping Table 6 Configuration item Item Description Internal VPN Instanc

Página 10

11 Item Description ACL Specify the ACL number. If the acl-number argument is specified, the device performs NAT for the packets matching a specific

Página 11 - DNS mapping

12 Figure 11 Internal server configuration page Figure 12 Adding an internal server

Página 12 - Low-priority address pool

Copyright © 2011-2013, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmi

Página 13 - Configuration overview

13 Table 8 Configuration items Item Description Interface Specify an interface to which the internal server policy is applied. Protocol Type Select

Página 14 - Creating an address pool

14 Configuring ACL-based NAT on the internal server Select Firewall > NAT Policy > Internal Server from the navigation tree to enter the page s

Página 15 - Configuring dynamic NAT

15 Figure 14 Adding the DNS-MAP Table 10 Configuration items Item Description Protocol Select the protocol supported by an internal server. Global

Página 16

16 Figure 16 Defining ACL 2001 • Enter 2001 in ACL Number. • Select Config in Match Order. • Click Apply. • Click the icon in the Operation c

Página 17

17 Figure 18 Configuring ACL 2001 to prohibit other users to access the Internet • Select Deny for Operation. • Click Apply. # Configure a NAT ad

Página 18 - Creating an internal server

18 Figure 20 Configuring dynamic NAT • Select GigabitEthernet0/1 for Interface. • Enter 2001 in ACL. • Select PAT for Address Transfer. • Enter

Página 19

19 Configuration procedure # Configure the FTP server. • Select Firewall > NAT Policy > Internal Server from the navigation tree, click Add in

Página 20

20 Figure 23 Configuring internal Web server 1 • Select GigabitEthernet0/1 for Interface. • Select 6(TCP) for Protocol Type. • Select the option

Página 21 - Configuring a DNS mapping

21 Figure 24 Configuring internal Web server 2 • Select GigabitEthernet0/1 for Interface. • Select 6(TCP) for Protocol Type. • Select the option

Página 22 - NAT configuration example

22 NOTE: • If the NAT configuration (address translation or internal server configuration) on an interface is changed, save the configuration and

Página 23

Preface The H3C SecPath Series High-End Firewalls documentation set includes 10 configuration guides, which describe the software features for the H3C

Página 24

23 To configure net-to-net static NAT: Step Command 1. Enter system view. system-view 2. Configure a net-to-net static NAT mapping. nat static [ a

Página 25 - Network requirements

24 Step Command Remarks 1. Enter system view. system-view N/A 2. Configure an address pool. nat address-group group-number start-address end-addre

Página 26 - Configuration procedure

25 Configuring NAPT With a specific ACL associated with an address pool or interface address, NAPT translates the source address of a packet permitte

Página 27

26 Configuring ACL-based NAT on an internal server This feature maps the destination address of an ACL-permitted packet to the internal server addres

Página 28 - Configuring NAT at the CLI

27 One-to-one static NAT configuration example Network requirements As shown in Figure 25, an internal host 10.110.10.8/24 uses public address 202.38

Página 29 - Configuring static NAT

28 [SecPath] nat address-group 1 202.38.1.2 202.38.1.3 # Configure ACL 2001, permitting only users from network segment 10.110.10.0/24 to access the

Página 30

29 # Configure the internal FTP server. [SecPath-GigabitEthernet0/2] nat server protocol tcp global 202.38.1.1 21 inside 10.110.10.3 ftp # Configure

Página 31 - Configuring No-PAT

30 [SecPath] interface gigabitethernet 0/2 # Configure the internal Web server. [SecPath-GigabitEthernet0/2] nat server protocol tcp global 202.38.1.

Página 32 - Configuring NAPT

31 5. Be aware of the possible effects that the firewall or the ACLs have on NAT, and note the route configurations. Symptom 2 The internal server f

Página 33 - Configuring DNS mapping

32 Configuring NAT-PT NOTE: The NAT-PT configuration is available only at the command line interface (CLI). Overview Application scenario Because

Página 34

Convention Description &<1-n> The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times

Página 35

33 port numbers so that these IPv6 hosts can share one IPv4 address to accomplish the address translation and save IPv4 addresses. NAT-PT prefix The

Página 36

34 Upon receiving a reply packet from the IPv4 host to the IPv6 host, the NAT-PT device swaps the source and destination IPv4 addresses according to

Página 37 - Troubleshooting NAT

35 NAT-PT configuration task list NAT-PT configuration task list on the IPv6 side Complete the following tasks to configure NAT-PT to allow active ac

Página 38 - Configuration guidelines

36 Enabling NAT-PT After NAT-PT is enabled on both the IPv4 network interface and the IPv6 network interface, the firewall can implement translation

Página 39 - Configuring NAT-PT

37 Step Command 1. Enter system view. system-view 2. Configure a static IPv4/IPv6 address mapping on the IPv6 side. natpt v6bound static ipv6-addre

Página 40 - Implementing NAT-PT

38 Step Command Remarks 3. Configure a dynamic IPv4/IPv6 address mapping policy on the IPv6 side. • Associate an IPv6 ACL with an address pool: nat

Página 41 - Protocols and standards

39 Configuring a dynamic mapping policy on the IPv4 side A dynamic IPv4/IPv6 address mapping policy on the IPv4 side is that if the source IPv4 addre

Página 42

40 Configuring static NAPT-PT mappings of IPv6 servers Generally, a server such as the FTP server, Web server, or Telnet server on an IPv6 network pr

Página 43 - VPN Configuration Guide

41 NAT-PT configuration examples Configuring dynamic mapping on the IPv6 side Network requirements As shown in Figure 31, SecPath C with IPv6 address

Página 44

42 <SecPathC> system-view [SecPathC] ipv6 # Configure a static route to the subnet with the NAT-PT prefix. [SecPathC] ipv6 route-static 3001::

Página 45

Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical D

Página 46 - natpt-prefix

43 [SecPathB-GigabitEthernet0/1] ip address 8.0.0.1 255.255.255.0 [SecPathB-GigabitEthernet0/1] natpt enable [SecPathB-GigabitEthernet0/1] quit [Sec

Página 47

44 Initiator: Source IP/Port : 2001::0002/32768

Página 48

45 Configuring ALG ALG overview The application level gateway (ALG) feature is used to process application layer packets. Usually, Network Address T

Página 49 - Configuring SecPath B

46 • GPRS Tunneling Protocol (GTP) The following describes the FTP operation on an ALG-enabled device. As shown in Figure 33, the host in the outsid

Página 50 - Configuring SecPath A

47 The host and the FTP server exchange data through the established data connection. Configuring ALG in the Web interface By default, the ALG functi

Página 51 - Troubleshooting NAT-PT

48 Figure 35 Network diagram Configuration procedure 1. Enable FTP ALG: By default, the FTP ALG function is enabled, and this step is optional. a

Página 52 - Configuring ALG

49 Figure 37 Adding ACL 2001 # Configure an ACL rule. a. Click the icon for ACL 2001 and then click Add. b. Select Permit as the operation, as

Página 53 - > IP2, Port2

50 Figure 39 Adding a NAT address pool # Configure dynamic NAT: a. In the Dynamic NAT area, click Add. b. Configure dynamic NAT as shown in Figu

Página 54

51 Figure 41 Configuring an internal FTP server SIP/H.323 ALG configuration example The H.323 ALG configuration is similar to the SIP ALG configura

Página 55 - HostFTP server

52 By default, the SIP ALG function is enabled, and this step is optional. a. Select Firewall > ALG from the navigation tree. The Application La

Página 56

i Contents Configuring NAT ···························································································································

Página 57

53 # Create ACL rules: a. Click the icon for ACL 2001 and then click Add. b. Crate an ACL rule as shown in Figure 45: Select Permit as the opera

Página 58

54 Figure 47 Configuring a NAT address pool # Configure dynamic NAT: a. In the Dynamic NAT area, click Add. b. Configure dynamic NAT as shown in

Página 59

55 Figure 49 Network diagram Configuration procedure 1. Enable NBT ALG: By default, the NBT ALG function is enabled, and this step is optional. a.

Página 60

56 Figure 51 Configuring a static address mapping # Configure static NAT for interface GigabitEthernet 0/1: a. In the Interface Static Translatio

Página 61

57 Figure 53 Configuring an internal WINS server d. In the Internal Server area, click Add. e. Configure an interval WINS server, which is simil

Página 62

58 Enabling ALG at the CLI Step Command Remarks 1. Enter system view. system-view N/A 2. Enable ALG. alg { all | dns | ftp | gtp | h323 | ils | m

Página 63

59 [SecPath-GigabitEthernet0/1] nat server protocol tcp global 5.5.5.10 ftp inside 192.168.1.2 ftp SIP/H.323 ALG configuration example The H.323 ALG

Página 64

60 Configure NAT and ALG on the SecPath so that Host A uses 5.5.5.9 as its external IP address, the WINS server uses 5.5.5.10 as its external IP addr

Página 65 - Enabling ALG at the CLI

61 Index A C D E N O T A ALG configuration examples at the CLI,58 ALG configuration examples in the Web interface,47 ALG overview,45 C Configuration

Página 66

ii Enabling NAT-PT ···································································································································

Página 67

1 Configuring NAT Overview Introduction to NAT Network Address Translation (NAT) provides a way of translating the IP address in an IP packet header

Página 68 - A C D E N O T

2 table for the mapping, replaces the destination address with the private address of 192.168.1.3, and then sends the new packet to the internal host

Comentários a estes Manuais

Sem comentários