当前位置: 首页 > 系统与网络 > 正文

适用于华为AR路由,CLI界面修改设置,开启完全锥形(全锥形NAT)

需有公网IPV4地址

配置TCP报文的外部地址和端口无关的映射功能

<Huawei> system-view
[Huawei] nat mapping-mode endpoint-independent tcp
[Huawei] nat mapping-mode endpoint-independent udp

查看NAT映射信息

<Huawei> display nat mapping-mode
  NAT Mapping Mode Information: 
-----------------------------------------------------------
nat mapping-mode endpoint-independent tcp
nat mapping-mode endpoint-independent udp
-----------------------------------------------------------
  Total : 2

nat filter-mode命令用来配置NAT过滤方式。

缺省情况下,NAT过滤方式为endpoint-and-port-dependent

[Huawei] nat filter-mode endpoint-independent

软件测试:

[分享]华为AR路由修改/开启全锥形NAT:等您坐沙发呢!

发表评论