发布
社区首页 >问答首页 >openvpn的tcp连接,windows客户端收不到服务器的回包,但在服务器上抓包却能看到发送了tcp包,换端口后连接正常几分钟之后又断开客户端收不到服务器发送的数据。?

openvpn的tcp连接,windows客户端收不到服务器的回包,但在服务器上抓包却能看到发送了tcp包,换端口后连接正常几分钟之后又断开客户端收不到服务器发送的数据。?

提问于 2024-11-21 02:23:04
回答 0关注 0查看 38

服务器抓的包

01:55:30.529504 IP 112.227.2.225.6313 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 940397056, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:30.529546 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6313: Flags [S.], seq 2479215820, ack 940397057, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:34.864686 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6313: Flags [S.], seq 2479215820, ack 940397057, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:38.542753 IP 112.227.2.225.6313 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 940397056, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:38.542796 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6313: Flags [S.], seq 2479215820, ack 940397057, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:41.064709 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.56960: Flags [S.], seq 4253931153, ack 2422977960, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:45.568290 IP 112.227.2.225.6371 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 1643327750, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:45.568343 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:46.574037 IP 112.227.2.225.6371 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 1643327750, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:46.574076 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:46.664701 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6313: Flags [S.], seq 2479215820, ack 940397057, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:47.664697 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:48.579064 IP 112.227.2.225.6371 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 1643327750, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:48.579119 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:50.864725 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:52.592111 IP 112.227.2.225.6371 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 1643327750, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:55:52.592154 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:55:56.664716 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:00.592173 IP 112.227.2.225.6371 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 1643327750, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:00.592238 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:02.664686 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6313: Flags [S.], seq 2479215820, ack 940397057, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:07.631021 IP 112.227.2.225.syserverremote > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 2429704438, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:07.631088 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:08.641576 IP 112.227.2.225.syserverremote > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 2429704438, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:08.641636 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:08.864697 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:09.664703 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:10.657057 IP 112.227.2.225.syserverremote > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 2429704438, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:10.657101 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:12.864704 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:14.671343 IP 112.227.2.225.syserverremote > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 2429704438, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:14.671399 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:19.264704 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:22.672408 IP 112.227.2.225.syserverremote > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 2429704438, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:22.672451 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:24.864693 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6371: Flags [S.], seq 484242400, ack 1643327751, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:29.696163 IP 112.227.2.225.6453 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 573345834, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:29.696215 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:30.708165 IP 112.227.2.225.6453 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 573345834, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:30.708204 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:31.064707 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.syserverremote: Flags [S.], seq 396574459, ack 2429704439, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:32.264703 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:32.717479 IP 112.227.2.225.6453 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 573345834, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:32.717533 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:34.865694 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

01:56:36.732720 IP 112.227.2.225.6453 > VM-4-11-centos.tr-rsrb-port: Flags [S], seq 573345834, win 64240, options [mss 1424,nop,wscale 8,nop,nop,sackOK], length 0

01:56:36.732757 IP VM-4-11-centos.tr-rsrb-port > 112.227.2.225.6453: Flags [S.], seq 1128437841, ack 573345835, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0

客户端wireshark抓到的

3932 222.149948 192.168.31.254 43.155.230.55 TCP 167 3758 → 1996 [PSH, ACK] Seq=100740 Ack=925 Win=1026 Len=113

3935 222.464846 192.168.31.254 43.155.230.55 TCP 865 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=100740 Ack=925 Win=1026 Len=811

3937 222.587674 43.155.230.55 192.168.31.254 TCP 66 [TCP ACKed unseen segment] 1996 → 3758 [ACK] Seq=925 Ack=101551 Win=1424 Len=0 SLE=100740 SRE=100853

3954 224.306072 192.168.31.254 43.155.230.55 TCP 116 3758 → 1996 [PSH, ACK] Seq=101551 Ack=925 Win=1026 Len=62

3955 224.448151 43.155.230.55 192.168.31.254 TCP 60 1996 → 3758 [ACK] Seq=925 Ack=101613 Win=1429 Len=0

3956 224.448260 192.168.31.254 43.155.230.55 TCP 612 3758 → 1996 [PSH, ACK] Seq=101613 Ack=925 Win=1026 Len=558

3960 224.583357 43.155.230.55 192.168.31.254 TCP 60 1996 → 3758 [ACK] Seq=925 Ack=102171 Win=1425 Len=0

3963 224.993985 192.168.31.254 43.155.230.55 TCP 211 3758 → 1996 [PSH, ACK] Seq=102171 Ack=925 Win=1026 Len=157

3965 225.127307 43.155.230.55 192.168.31.254 TCP 60 1996 → 3758 [ACK] Seq=925 Ack=102328 Win=1424 Len=0

3971 225.390427 192.168.31.254 43.155.230.55 TCP 132 3758 → 1996 [PSH, ACK] Seq=102328 Ack=925 Win=1026 Len=78

3972 225.533876 43.155.230.55 192.168.31.254 TCP 60 1996 → 3758 [ACK] Seq=925 Ack=102406 Win=1424 Len=0

3973 225.533877 43.155.230.55 192.168.31.254 TCP 96 1996 → 3758 [PSH, ACK] Seq=925 Ack=102406 Win=1429 Len=42

3977 225.581385 192.168.31.254 43.155.230.55 TCP 54 3758 → 1996 [ACK] Seq=102406 Ack=967 Win=1026 Len=0

3980 226.319020 192.168.31.254 43.155.230.55 TCP 116 3758 → 1996 [PSH, ACK] Seq=102406 Ack=967 Win=1026 Len=62

3985 226.499223 43.155.230.55 192.168.31.254 TCP 60 1996 → 3758 [ACK] Seq=967 Ack=102468 Win=1429 Len=0

3986 226.499247 192.168.31.254 43.155.230.55 TCP 690 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=636

3992 226.808141 192.168.31.254 43.155.230.55 TCP 690 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=636

3995 227.119735 192.168.31.254 43.155.230.55 TCP 690 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=636

4006 227.723191 192.168.31.254 43.155.230.55 TCP 690 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=636

4016 228.930180 192.168.31.254 43.155.230.55 TCP 1478 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=1424

4027 231.334038 192.168.31.254 43.155.230.55 TCP 1478 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=1424

4067 236.135651 192.168.31.254 43.155.230.55 TCP 1478 [TCP Retransmission] 3758 → 1996 [PSH, ACK] Seq=102468 Ack=967 Win=1026 Len=1424

4151 245.751198 192.168.31.254 43.155.230.55 TCP 54 3758 → 1996 [RST, ACK] Seq=103892 Ack=967 Win=0 Len=0

4319 246.837647 192.168.31.254 43.155.230.55 TCP 66 56960 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

4374 247.840129 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 56960 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

4571 249.852468 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 56960 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

5169 253.864649 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 56960 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

11306 261.864529 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 56960 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

11569 268.887677 192.168.31.254 43.155.230.55 TCP 66 6313 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

11584 269.901420 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6313 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

11624 271.914828 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6313 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

11754 275.915539 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6313 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12079 283.928843 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6313 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12377 290.952753 192.168.31.254 43.155.230.55 TCP 66 6371 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12394 291.958498 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6371 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12438 293.963348 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6371 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12540 297.976475 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6371 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12747 305.976737 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6371 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12905 313.013282 192.168.31.254 43.155.230.55 TCP 66 6418 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12917 314.023847 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6418 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

12977 316.039265 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6418 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

13141 320.053754 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6418 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

13352 328.054855 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6418 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

13480 335.079160 192.168.31.254 43.155.230.55 TCP 66 6453 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

13489 336.091158 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6453 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

13539 338.100070 192.168.31.254 43.155.230.55 TCP 66 [TCP Retransmission] [TCP Port numbers reused] 6453 → 1996 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM=1

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档