h3c路由器端口映射方法

网络 路由交换
本文主要向大家介绍了对于华为3com路由器的端口如何进行映射设置,具体进行怎样的操作呢?下面的文章给出了详细配置步骤和命令操作。

本文介绍了华为3com路由器的端口映射的方法,并且给出了详细的操作步骤和命令语句,相信看完此文会对具体配置有详细的了解。

************************************************** ******************************

* Copyright(c) 2004-2006 Hangzhou Huawei-3Com Tech. Co., Ltd. *

* Without the owner''''s prior written consent, *

* no decompiling or reverse-engineering shall be allowed. *

************************************************** ******************************

Login authentication

Username:admin

Password:

<H3C>dis int <-(预示端口状况)

Ethernet1/0 current state :UP

Line protocol current state :UP

Description : Ethernet1/0 Interface

The Maximum Transmit Unit is 1500, Hold timer is 10(sec)

Internet Address is 218.206.191.49 <---(找到公网地址的端口)

IP Sending Frames'''' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e24b-90c1

Media type is twisted pair, loopback not set, promiscuous mode not set

100Mb/s, Full-duplex, link type is autonegotiation

Output flow-control is disabled, input flow-control is disabled

Output queue : (Urgent queuing : Size/Length/Discards) 0/50/0

Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0

Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0

Last clearing of counters: Never

Last 300 seconds input rate 76409.96 bytes/sec, 611279 bits/sec, 221.16 packets/sec

Last 300 seconds output rate 169645.62 bytes/sec, 1357165 bits/sec, 217.84 packets/sec

Input: 84913558 packets, 1899317081 bytes, 84913558 buffers

1556505 broadcasts, 124223 multicasts, 0 pauses

374 errors, 0 runts, 0 giants

0 crc, 0 align errors, 374 overruns

0 dribbles, 0 drops, 0 no buffers

Output:73691649 packets, 1323897889 bytes, 73691649 buffers

19084 broadcasts, 0 multicasts, 0 pauses

0 errors, 0 underruns, 0 collisions

0 deferred, 0 lost carriers

<H3C>sys <--(步入体系视图)

[H3C]int e1/0

[H3C]nat server protocol tcp global 218.206.191.49 www inside 192.168.1.96 www

[H3C]nat server protocol tcp global 218.206.191.49 22 inside 192.168.1.96 22

[H3C]nat server protocol udp global 218.206.191.49 snmp inside 192.168.1.96 snmp

[H3C]nat server protocol udp global 218.206.191.49 snmptrap inside 192.168.1.96 snmptrap <--(一看就大白tcp/udp是以及谈,www是80,snmp以及snmptrap是161.162端口)

[H3C]dis thellos

interface Ethernet1/0

ip address 218.206.191.49 255.255.255.248

firewall packet-filter 3000 inbound

nat outbound 3001 <--(这是客户上彀用的地址池不消管,其它的就是端口照射了)

nat server protocol tcp global 61.178.77.9 www inside 192.168.1.96 www

nat server protocol tcp global 61.178.77.9 22 inside 192.168.1.96 22

nat server protocol udp global 61.178.77.9 snmp inside 192.168.1.96 snmp

nat server protocol udp global 61.178.77.9 snmptrap inside 192.168.1.96 snmptrap

思科网络的端口照射原理是同样的号令纷歧样罢了,这搭只给出配备布置。

思科网络>en

思科网络#config t

思科网络(config)Ip nat inside source static tcp 192.168.1.96 80 218.206.191.49 80

思科网络(config)Ip nat inside source static tcp 192.168.1.96 22 218.206.191.49 22

思科网络(config)Ip nat inside source static tcp 192.168.1.96 161 218.206.191.49 161

思科网络(config)Ip nat inside source static tcp 192.168.1.96 162 218.206.191.49 162
 

【编辑推荐】

  1. 华为路由器与CISCO路由器在配置上的差别
  2. 华为路由器简单配置详解
  3. 理解华为路由器配置命令中清除列表规则
  4. 应用视点:看华为路由器接入的实际应用
  5. 应用视点:华为路由器网守配合技巧
责任编辑:chenqingxiang 来源: 互联网
相关推荐

2009-12-15 16:36:12

路由器端口映射

2009-11-20 15:07:27

2009-11-20 15:00:16

路由器端口映射设置

2009-12-15 15:50:22

路由器端口映射

2009-12-11 17:33:10

2011-04-07 10:04:03

宽带路由器

2013-06-07 17:25:46

路由技术路由器

2009-12-02 18:51:11

2013-01-09 14:27:52

2010-08-09 11:35:17

路由器端口映射

2009-12-15 16:27:52

路由器端口映射方法

2009-12-11 17:33:40

TP-Link 路由器

2009-11-13 13:00:57

H3C路由器

2009-11-20 14:45:26

H3C路由器配置

2009-11-27 14:16:37

宽带路由器端口映射

2009-12-14 13:19:50

TENDA路由器端口映

2009-12-15 16:04:13

路由器端口映射

2009-12-03 13:54:30

路由器端口映射

2009-12-02 13:58:22

2010-08-12 11:14:34

点赞
收藏

51CTO技术栈公众号