组网:防火墙将服务器22端口映射到公网的1005端口,利用公网IP加端口(1055)的方法(ssh)远程访问服务器22端口,流量进入防火墙,下联交换机,交换机直连服务器。
异常情况:从公网远程防火墙映射的1005端口时,出现频繁远程失败的原因,访问6次,有三次远程失败。防火墙上有开启dbg有看到远程信息经过服务器。
*Aug 15 09:05:16:368 2024 SJWFW_toDZZWWW IPFW/7/IPFW_PACKET: -COntext=1;
Receiving, interface = Ten-GigabitEthernet1/2/2
version = 4, headlen = 20, tos = 0
pktlen = 52, pktid = 42187, offset = 0, ttl = 126, protocol = 6
checksum = 26569, s = 172.24.133.253, d = 10.24.180.1
channelID = 0, vpn-InstanceIn = 0, vpn-InstanceOut = 0.
prompt: Receiving IP packet from interface Ten-GigabitEthernet1/2/2.
Payload: TCP
source port = 58255, destination port = 1005
sequence num = 0xf64c5989, acknowledgement num = 0x00000000, flags = 0x2
window size = 64240, checksum = 0x4c9d, header length = 32.
*Aug 15 09:05:16:368 2024 SJWFW_toDZZWWW IPFW/7/IPFW_PACKET: -COntext=1;
Sending, interface = Ten-GigabitEthernet1/2/1
version = 4, headlen = 20, tos = 0
pktlen = 52, pktid = 42187, offset = 0, ttl = 125, protocol = 6
checksum = 46144, s = 172.24.133.253, d = 10.129.104.33
channelID = 0, vpn-InstanceIn = 0, vpn-InstanceOut = 0.
prompt: Sending IP packet received from interface Ten-GigabitEthernet1/2/2 at interface Ten-GigabitEthernet1/2/1.
Payload: TCP
source port = 58255, destination port = 22
sequence num = 0xf64c5989, acknowledgement num = 0x00000000, flags = 0x2
window size = 64240, checksum = 0x9beb, header length = 32.
(0)
最佳答案
内部访问22端口都正常吗
(0)
走直连交换机用ssh去服务器没问题
这排查就比较麻烦了,需要看看连接是在哪不通的
内部存在这种问题,有没有啥解决方法,从防火墙到服务器,访问10次,差不多有4次失败
换个端口试试,还不行这一条链路都得抓包分析了
换接服务器的端口吗?
防火墙映射的端口,一般建议1024以上
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
防火墙映射的端口,一般建议1024以上