路由器到內網192.168.1.199/102沒問題,但從外部測試就不行了
<Route>display nat session verbose
Slot 0:
Initiator:
Source IP/port: 10.24.193.1/45406
Destination IP/port: 10.24.193.2/102
DS-Lite tunnel peer: -
VPN instance/VLAN ID/Inline ID: -/-/-
Protocol: TCP(6)
Inbound interface: GigabitEthernet0/1
Responder:
Source IP/port: 192.168.1.199/102
Destination IP/port: 10.24.193.1/45406
DS-Lite tunnel peer: -
VPN instance/VLAN ID/Inline ID: -/-/-
Protocol: TCP(6)
Inbound interface: Vlan-interface100
State: TCP_SYN_SENT
Application: GENERAL_TCP
Rule ID: -/-/-
Rule name:
Start time: 2025-01-22 09:34:11 TTL: 28s
Initiator->Responder: 0 packets 0 bytes
Responder->Initiator: 0 packets 0 bytes
Total sessions found: 1
(0)
dnat配置呢?發出來看看
(0)
interface GigabitEthernet0/1 port link-mode route ip address 10.24.193.2 255.255.255.0 nat server protocol icmp global 10.24.193.2 inside 192.168.1.199 nat server protocol tcp global 10.24.193.2 22 inside 192.168.1.1 22 nat server protocol tcp global 10.24.193.2 102 inside 192.168.1.199 102
你是想做內部服務器映射到公網吧
(0)
是的
是的
路由器掛外網地址ping下服務器,感覺是服務器沒有外網的路由呢。
可以通過雲圖按順序排查
https://zhiliao.h3c.com/theme/Chart?chartSearchKey=NAT
(0)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
interface GigabitEthernet0/1 port link-mode route ip address 10.24.193.2 255.255.255.0 nat server protocol icmp global 10.24.193.2 inside 192.168.1.199 nat server protocol tcp global 10.24.193.2 22 inside 192.168.1.1 22 nat server protocol tcp global 10.24.193.2 102 inside 192.168.1.199 102