日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

内外网通过公网IP访问DMZ主机

發布時間:2023/12/14 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 内外网通过公网IP访问DMZ主机 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

需求:

?公司DMZ區域Web服務器對內外提供Web服務,要求必須內外網使用公網IP訪問,這樣做到內外網透明;



? ?準備:

? ?防火墻外網接口IP 2.2.2.2/29,內網接口IP 10.2.255.253/24,DMZ接口IP 10.1.100.1/24

? ?Web Server IP 10.1.100.87/24,映射公網IP 2.2.2.3

? ?交換機IP 10.2.255.254

? ?內網網段10.2.0.0/16

H3C防火墻配置如下

acl number 2000

?rule 2 permit source 10.2.0 0.0.255.255

# ? ? ? ? ? ? ??


vlan 255

#


interface Vlan-interface255

?nat server protocol tcp global 2.2.2.3 22 inside 10.1.100.87 80

? ip address 10.2.255.253 255.255.255.0

#

interface GigabitEthernet0/2

?port link-mode route

?ip address 10.1.100.1 255.255.255.0

#

interface GigabitEthernet0/4

?port link-mode route

?description To Wan

?nat outbound static

?nat outbound 2000

?ip address 2.2.2.2 255.255.255.248

?undo dhcp select server global-pool

?ipsec policy ipsecpolicy1

#

#

zone name Local id 1

?priority 100

zone name Trust id 2

?priority 85

?import interface Vlan-interface255

zone name DMZ id 3

?priority 50

?import interface GigabitEthernet0/2

zone name Untrust id 4

?priority 5

?import interface GigabitEthernet0/4


轉載于:https://blog.51cto.com/yanhuan/1878449

總結

以上是生活随笔為你收集整理的内外网通过公网IP访问DMZ主机的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。