• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

防火墙配置了不能上网求助

2020-01-07提问
  • 0关注
  • 1收藏,850浏览
SCCD 零段
粉丝:0人 关注:3人

问题描述:

配置了防火墙,公网IP能通,内网端口配了IP,也能拿到,也能通,但是上不了网,求助~~

  1. #
  2. version 7.1.064, Ess 9504P07
  3. #
  4. sysname H3C
  5. #
  6. clock timezone Beijing add 08:00:00
  7. clock protocol ntp context 1
  8. #
  9. context Admin id 1
  10. #
  11. ip vpn-instance management
  12. route-distinguisher 1000000000:1
  13. vpn-target 1000000000:1 import-extcommunity
  14. vpn-target 1000000000:1 export-extcommunity
  15. #
  16. irf mac-address persistent timer
  17. irf auto-update enable
  18. undo irf link-delay
  19. irf member 1 priority 1
  20. #
  21. nat address-group 1 name 内网
  22. #
  23. dhcp enable
  24. #
  25. password-recovery enable
  26. #
  27. vlan 1
  28. #
  29. object-group ip address 内网地址
  30. 0 network subnet 10.24.11.0 255.255.255.0
  31. #
  32. object-group ip address 外网地址
  33. 0 network host address 221.207.155.206
  34. #
  35. dhcp server ip-pool 内网地址
  36. gateway-list 10.24.11.1
  37. network 10.24.11.0 mask 255.255.255.0
  38. expired unlimited
  39. #
  40. interface NULL0
  41. #
  42. interface GigabitEthernet1/0/0
  43. port link-mode route
  44. combo enable copper
  45. ip binding vpn-instance management
  46. ip address 192.168.0.1 255.255.255.0
  47. #
  48. interface GigabitEthernet1/0/1
  49. port link-mode route
  50. combo enable copper
  51. #
  52. interface GigabitEthernet1/0/2
  53. port link-mode route
  54. ip binding vpn-instance management
  55. ip address 192.168.1.1 255.255.255.0
  56. #
  57. interface GigabitEthernet1/0/3
  58. port link-mode route
  59. #
  60. interface GigabitEthernet1/0/4
  61. port link-mode route
  62. #
  63. interface GigabitEthernet1/0/5
  64. port link-mode route
  65. #
  66. interface GigabitEthernet1/0/6
  67. port link-mode route
  68. #
  69. interface GigabitEthernet1/0/7
  70. port link-mode route
  71. #
  72. interface GigabitEthernet1/0/8
  73. port link-mode route
  74. #
  75. interface GigabitEthernet1/0/9
  76. port link-mode route
  77. #
  78. interface GigabitEthernet1/0/10
  79. port link-mode route
  80. ip address 10.24.11.1 255.255.255.0
  81. #
  82. interface GigabitEthernet1/0/11
  83. port link-mode route
  84. ip address 221.207.155.206 255.255.255.0
  85. #
  86. object-policy ip Any-Any
  87. rule 0 pass
  88. #
  89. object-policy ip Trust-Trust
  90. rule 0 pass source-ip 内网地址
  91. rule 1 pass source-ip 外网地址
  92. rule 2 pass service dhcp-relay
  93. #
  94. object-policy ip Trust-Untrust
  95. rule 0 pass
  96. #
  97. object-policy ip Untrust-Trust
  98. rule 0 pass
  99. #
  100. security-zone name Local
  101. #
  102. security-zone name Trust
  103. import interface GigabitEthernet1/0/10
  104. #
  105. security-zone name DMZ
  106. #
  107. security-zone name Untrust
  108. import interface GigabitEthernet1/0/11
  109. #
  110. security-zone name Management
  111. import interface GigabitEthernet1/0/0
  112. import interface GigabitEthernet1/0/2
  113. #
  114. zone-pair security source Any destination Any
  115. object-policy apply ip Any-Any
  116. #
  117. zone-pair security source Trust destination Trust
  118. object-policy apply ip Trust-Trust
  119. #
  120. zone-pair security source Trust destination Untrust
  121. object-policy apply ip Trust-Untrust
  122. #
  123. zone-pair security source Untrust destination Trust
  124. object-policy apply ip Untrust-Trust
  125. #
  126. scheduler logfile size 16
  127. #
  128. line class aux
  129. user-role network-operator
  130. #
  131. line class console
  132. user-role network-admin
  133. #
  134. line class vty
  135. user-role network-operator
  136. #
  137. line aux 1
  138. user-role network-operator
  139. #
  140. line con 1
  141. authentication-mode scheme
  142. user-role network-admin
  143. #
  144. line vty 0 63
  145. authentication-mode scheme
  146. user-role network-admin
  147. #
  148. ip route-static 0.0.0.0 0 221.207.155.1
  149. #
  150. ssh server enable
  151. #
  152. domain system
  153. #
  154. aaa session-limit ftp 16
  155. aaa session-limit telnet 16
  156. aaa session-limit ssh 16
  157. domain default enable system
  158. #

最佳答案

粉丝:230人 关注:0人

没有配置Nat,在11口下面配置nat outbound

11端口也就是公网IP端口,NAT outbound找不到配置的地方呢

SCCD 发表时间:2020-01-07

进入配置界面,sys进入系统模式,int g1/0/11 nat outbound

无名之辈 发表时间:2020-01-07
1 个回答
粉丝:124人 关注:6人

您好,请知:

1、请确系NAT已经配置,并通过ACL放通了能进行NAT转换的策略。

2、请确系防火墙也配置路由指向到了外网。

3、请确系各互联接口已加入了安全域并放通了域间策略。

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明